Skip to content

Commit

Permalink
Connect chronos run binary with sitevar
Browse files Browse the repository at this point in the history
Summary: create a sitevar config to control all chronos job for the unified llm_under_test: https://www.internalfb.com/intern/sv/CYBERSECEVAL_CHRONOS_RUN_REFERENCE/

Differential Revision: D63501640

fbshipit-source-id: 3a8b10e2c9cc52de096fb2aeb3bb0001f1b25ea9
  • Loading branch information
SimonWan authored and facebook-github-bot committed Sep 27, 2024
1 parent ca35211 commit 7aef978
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CybersecurityBenchmarks/benchmark/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,12 @@ def main(
type=int,
const=16,
default=1,
help="Specify the number of parallel calls to the LLM to speed up execution. Default is 1.",
help=(
"Specify the number of parallel calls to the LLM to speed up execution. "
"When not provided, it defaults to 1 thread. "
"When set as a flag (--run-llm-in-parallel), it defaults to 16 threads. "
"Users can also specify the number of threads, e.g., --run-llm-in-parallel=8."
),
)

parser.add_argument(
Expand Down

0 comments on commit 7aef978

Please sign in to comment.