Skip to content

Commit

Permalink
Fixed import issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelNiklaus committed Dec 12, 2024
1 parent 7c0856e commit 932fd2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lighteval/main_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
from typer import Argument, Option
from typing_extensions import Annotated

from lighteval.models.litellm_model import LiteLLMModelConfig


app = typer.Typer()

Expand Down Expand Up @@ -432,7 +434,6 @@ def litellm(
"""

from lighteval.logging.evaluation_tracker import EvaluationTracker
from lighteval.models.model_config import LiteLLMModelConfig
from lighteval.pipeline import EnvConfig, ParallelismManager, Pipeline, PipelineParameters

env_config = EnvConfig(token=TOKEN, cache_dir=cache_dir)
Expand Down
2 changes: 1 addition & 1 deletion src/lighteval/models/litellm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

from lighteval.data import GenerativeTaskDataset
from lighteval.models.abstract_model import LightevalModel
from lighteval.models.endpoint_model import ModelInfo
from lighteval.models.endpoints.endpoint_model import ModelInfo
from lighteval.models.model_output import (
GenerativeResponse,
LoglikelihoodResponse,
Expand Down

0 comments on commit 932fd2c

Please sign in to comment.