Skip to content

Commit 52860c6

Browse files
committed
remove vLLM option in main
1 parent d885470 commit 52860c6

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def main(
2121
effort: str | None = None,
2222
output_file: str | None = None,
2323
log_file: str = "evaluation_log.jsonl",
24-
use_vllm_server: bool = False,
2524
):
2625
"""
2726
Run an experiment using various AI models to generate and evaluate type signatures.
@@ -45,7 +44,7 @@ def main(
4544
output_file = os.path.abspath(f"result/{model}.txt")
4645
logging.info(f"Writing generation results in {output_file}.")
4746

48-
client = router(model, pure, effort, use_vllm_server)
47+
client = router(model, pure, effort)
4948
assert client, f"Failed to create client for {model}."
5049

5150
tasks = load_from_hf("pure" if pure else "base")

src/tfbench/lm/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def router(
4747
model_name: str,
4848
pure: bool,
4949
effort: str | None = None,
50-
use_vllm_server: bool = False,
5150
) -> LM | None:
5251
"""Route the model name to the appropriate LM class."""
5352
if model_name in OAI_MODELS:

0 commit comments

Comments
 (0)