Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VLLM] Set max_num_batched_tokens for vllm rollout #140

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

xingyaoww
Copy link
Contributor

We set max_num_batched_tokens in config .rollout, but they weren't actually being passed to VLLM -- causing potential insufficient use of GPUs.

This PR:

  • properly pass max_num_batched_tokens from config to vLLM
  • set disable_log_stats to False, so vLLM performance information can be properly displayed (to spot issues)

@vermouth1992 vermouth1992 merged commit c99df03 into volcengine:main Jan 27, 2025
10 checks passed
Chendong98 pushed a commit to Chendong98/verl that referenced this pull request Feb 4, 2025
We set `max_num_batched_tokens` in config `.rollout`, but they weren't
actually being passed to VLLM -- causing potential insufficient use of
GPUs.

This PR:

- properly pass `max_num_batched_tokens` from config to vLLM
- set `disable_log_stats` to False, so vLLM performance information can
be properly displayed (to spot issues)
as12138 pushed a commit to as12138/verl that referenced this pull request Feb 20, 2025
We set `max_num_batched_tokens` in config `.rollout`, but they weren't
actually being passed to VLLM -- causing potential insufficient use of
GPUs.

This PR:

- properly pass `max_num_batched_tokens` from config to vLLM
- set `disable_log_stats` to False, so vLLM performance information can
be properly displayed (to spot issues)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants