Optimize rollout-related ut execution time#1463
Merged
YanhuiDua merged 3 commits intoInternLM:mainfrom Feb 3, 2026
Merged
Conversation
2690df1 to
772de6a
Compare
CyCle1024
reviewed
Jan 30, 2026
Collaborator
|
@YanhuiDua test_update_weight.py和test_rl_update_weight.py有更加优化的流程写法。 建议: 建议的方案优势在于少执行一次推理引擎的初始化,缺点在于需要推理引擎在sleep的一定能正确drop weight,依赖sleep实现(对于目前lmdeploy实现这个条件是符合的) |
Collaborator
Author
done,并且删掉了llm的update_weights的单测,测试VL模型的update_weights,可覆盖该功能 |
CyCle1024
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
优化前 tests/ray运行时间:~25min

优化后 tests/ray运行时间:~13min
