[Lint] Add python/sglang to ruff F401 checks and remove unused imports in files (#11685)
This commit is contained in:
@@ -11,8 +11,6 @@ import re
|
||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
import tqdm
|
||||
|
||||
try:
|
||||
from human_eval.data import read_problems
|
||||
from human_eval.evaluation import estimate_pass_at_k
|
||||
@@ -41,7 +39,6 @@ def evaluate_functional_correctness(
|
||||
Evaluates the functional correctness of generated samples, and writes
|
||||
results to f"{sample_file}_results.jsonl.gz"
|
||||
"""
|
||||
import copy
|
||||
|
||||
# Check the generated samples against test suites.
|
||||
with ThreadPoolExecutor(max_workers=n_workers) as executor:
|
||||
|
||||
Reference in New Issue
Block a user