Skip to content

fix(rollout): add exception capture and non-blocking poll in#9229

Merged
hjh0119 merged 5 commits into
modelscope:mainfrom
hjh0119:rollout-catch-error
Apr 28, 2026
Merged

fix(rollout): add exception capture and non-blocking poll in#9229
hjh0119 merged 5 commits into
modelscope:mainfrom
hjh0119:rollout-catch-error

Conversation

@hjh0119
Copy link
Copy Markdown
Collaborator

@hjh0119 hjh0119 commented Apr 28, 2026

lifespan

Copy link
Copy Markdown
Contributor

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

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 introduces new GKD parameters, gkd_logits_topk and teacher_model_server, to the documentation and enhances the rollout pipeline's error handling by catching and reporting worker initialization failures. A review comment suggests removing an unused ready_connections set in the lifespan method to simplify the code.

Comment thread swift/pipelines/infer/rollout.py Outdated
@hjh0119 hjh0119 merged commit f051bad into modelscope:main Apr 28, 2026
3 checks passed
@hjh0119 hjh0119 deleted the rollout-catch-error branch April 28, 2026 11:33
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.

3 participants