Skip to content

Commit

Permalink
run script for autopatch
Browse files Browse the repository at this point in the history
Reviewed By: SimonWan

Differential Revision: D66511028

fbshipit-source-id: a0e2277b4cb2fd0d66696091dcfb75ae1bb8445c
  • Loading branch information
laurendeason authored and facebook-github-bot committed Nov 27, 2024
1 parent 774f273 commit 1551cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CybersecurityBenchmarks/benchmark/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def main(
default_use_precomputed_responses: bool = False,
default_only_generate_llm_responses: bool = False,
default_llm_creator: Callable[[str], llm.LLM] = llm.create,
default_run_llm_in_parallel: int = 1,
) -> None:
parser = argparse.ArgumentParser(description="Run the Cybersecurity Benchmarks.")

Expand Down Expand Up @@ -137,7 +138,7 @@ def main(
nargs="?",
type=int,
const=16,
default=1,
default=default_run_llm_in_parallel,
help=(
"Specify the number of parallel calls to the LLM to speed up execution. "
"When not provided, it defaults to 1 thread. "
Expand Down

0 comments on commit 1551cbf

Please sign in to comment.