Skip to content

Commit

Permalink
reduce num workers to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-grundmann committed Aug 7, 2024
1 parent f66846a commit 3254489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/guided_decoding/outlines_decoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def get_outlines_guided_decoding_logits_processor(

if global_thread_pool is None:
global_thread_pool = concurrent.futures.ThreadPoolExecutor(
max_workers=2)
max_workers=1)
loop = asyncio.get_running_loop()

return await loop.run_in_executor(global_thread_pool,
Expand Down

0 comments on commit 3254489

Please sign in to comment.