Skip to content

Commit 31177f0

Browse files
committed
fix
Signed-off-by: SumanthRH <[email protected]>
1 parent 01f7f64 commit 31177f0

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

skythought/evals/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
import click
88
import typer
9+
from typing_extensions import Annotated
10+
911
from skythought.evals.common.entities import (
1012
Backend,
1113
BackendParameters,
@@ -21,7 +23,6 @@
2123
from skythought.evals.util.cli_util import get_deterministic_hash, parse_multi_args
2224
from skythought.evals.util.common import set_seed
2325
from skythought.evals.util.results import SummaryResults
24-
from typing_extensions import Annotated
2526

2627
logging.basicConfig(level=logging.INFO)
2728
logger = logging.getLogger(__name__)

skythought/evals/inference_and_check.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
import pandas as pd
1414
import ray
1515
from openai import OpenAI
16+
from tqdm import tqdm
17+
from vllm import LLM
18+
1619
from skythought.evals.batch import Pipeline, init_engine_from_config
1720
from skythought.evals.batch.env_config import EnvConfig
1821
from skythought.evals.batch.workload import EvalWorkload
@@ -32,8 +35,6 @@
3235
from skythought.evals.util.metrics import pass_at_k
3336
from skythought.evals.util.response import Response, SingleParsedResponse
3437
from skythought.evals.util.results import SummaryResults, save_summary
35-
from tqdm import tqdm
36-
from vllm import LLM
3738

3839
logger = logging.getLogger(__name__)
3940
module_dir = os.path.dirname(os.path.abspath(__file__))

skythought/evals/tasks/apps/apps_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from multiprocessing import Manager
55

66
import numpy as np
7+
78
from skythought.evals.util.common import has_code
89

910
from ..apps.apps_util import run_test as apps_run_test

skythought/evals/tasks/livecodebench/livecodebench_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from typing import Dict
33

44
from datasets import Dataset as HFDataset
5+
56
from skythought.evals.util.common import has_code
67

78
from ..base import TaskHandler

skythought/evals/tasks/numina/numina_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from typing import Any, Dict
22

33
from datasets import load_dataset
4+
45
from skythought.evals.util.common import TimeoutException, timeout
56
from skythought.evals.util.math_parsing_util import (
67
extract_answer,

skythought/evals/tasks/taco/taco_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from multiprocessing import Manager
44

55
import numpy as np
6+
67
from skythought.evals.util.common import has_code
78

89
from ..base import TaskHandler

0 commit comments

Comments
 (0)