Skip to content

[rollout] fix: fix hf rollout and add single gpu test - #2371

Merged
eric-haibin-lin merged 3 commits into
verl-project:mainfrom
eric-haibin-lin:hlin/hf
Jul 5, 2025
Merged

eric-haibin-lin merged 3 commits into
verl-project:mainfrom
eric-haibin-lin:hlin/hf

Conversation

@eric-haibin-lin

Copy link
Copy Markdown
Collaborator

What does this PR do?

Previously, the sharding manager would throw AttributeError that self.timing is not defined.

Checklist Before Starting

  • Search for similar PRs. Paste at least one query link here: ...
  • Format the PR title as [{modules}] {type}: {description} (This will be checked by the CI)
    • {modules} include fsdp, megatron, sglang, vllm, rollout, trainer, ci, training_utils, recipe, hardware, deployment, ray, worker, single_controller, misc, perf, model, algo, env, tool, ckpt, doc, data
    • If this PR involves multiple modules, separate them with , like [megatron, fsdp, doc]
    • {type} is in feat, fix, refactor, chore, test
    • If this PR breaks any API (CLI arguments, config, function signature, etc.), add [BREAKING] to the beginning of the title.
    • Example: [BREAKING][fsdp, megatron] feat: dynamic batching

Test

Added to ppo fsdp test suite.

Checklist Before Submitting

Important

Please check all the following items before requesting a review, otherwise the reviewer might deprioritize this PR for review.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses an AttributeError in the sharding manager and includes a new single-GPU test for the HF rollout. The PR also includes cleanups, removing the default_hdfs_dir parameter from various scripts and documentation. A more robust approach to initializing self.timing in BaseShardingManager is recommended.

Comment thread verl/workers/sharding_manager/base.py
@eric-haibin-lin
eric-haibin-lin enabled auto-merge (squash) July 5, 2025 05:50
@eric-haibin-lin
eric-haibin-lin merged commit cbeb3f4 into verl-project:main Jul 5, 2025
@eric-haibin-lin
eric-haibin-lin deleted the hlin/hf branch July 5, 2025 14:51
SuperCB pushed a commit to SuperCB/verl that referenced this pull request Jul 7, 2025
yellowbee686 pushed a commit to yellowbee686/verl that referenced this pull request Jul 7, 2025
lkc233 pushed a commit to lkc233/verl that referenced this pull request Jul 10, 2025
oseyosey pushed a commit to oseyosey/verl that referenced this pull request Jul 28, 2025
Juniper1021 pushed a commit to Juniper1021/verl that referenced this pull request Aug 7, 2025
whatadayG pushed a commit to whatadayG/verl that referenced this pull request Sep 5, 2025
chenjiaoAngel added a commit to chenjiaoAngel/verl that referenced this pull request Nov 14, 2025
TimurTaepov pushed a commit to giorgossideris/verl that referenced this pull request Dec 20, 2025
oseyosey pushed a commit to oseyosey/verl that referenced this pull request Jan 20, 2026
vyomakesh0728 added a commit to vyomakesh0728/verl that referenced this pull request Jan 22, 2026
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