"git@developer.sourcefind.cn:change/sglang.git" did not exist on "37565b7f2164d56d02aca52470812ad967b4d317"
Unverified Commit 2b079f89 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

Increase interpreter parallelism (#46)

parent 05b4c398
......@@ -80,7 +80,7 @@ def run_program_batch(
# Run all programs
if num_threads == "auto":
num_threads = multiprocessing.cpu_count()
num_threads = min(64, multiprocessing.cpu_count() * 8)
num_threads = min(num_threads, len(batch_arguments))
if num_threads == 1:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment