[RL] R3 Fix the bug for determining the end of a request#6388
Merged
Jiang-Jia-Jun merged 8 commits intoPaddlePaddle:release/2.4from Feb 10, 2026
Merged
[RL] R3 Fix the bug for determining the end of a request#6388Jiang-Jia-Jun merged 8 commits intoPaddlePaddle:release/2.4from
Jiang-Jia-Jun merged 8 commits intoPaddlePaddle:release/2.4from
Conversation
|
Thanks for your contribution! |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release/2.4 #6388 +/- ##
==============================================
Coverage ? 56.22%
==============================================
Files ? 333
Lines ? 42248
Branches ? 6427
==============================================
Hits ? 23756
Misses ? 16634
Partials ? 1858
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gongshaotian
commented
Feb 9, 2026
…/FastDeploy into r3_finished_2.4_opt
gongshaotian
commented
Feb 9, 2026
| moe_layer_num = fd_config.model_config.num_hidden_layers - fd_config.model_config.moe_layer_start_index | ||
| max_num_seqs = fd_config.scheduler_config.max_num_seqs | ||
| self.queue_max_size = moe_layer_num * max_num_seqs * 10 | ||
| self.queue_max_size = moe_layer_num * max_num_seqs * 1000 |
yuanlehome
approved these changes
Feb 9, 2026
041df5d
into
PaddlePaddle:release/2.4
15 of 19 checks passed
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.
Motivation
Fix the bug of failing to promptly determine the end of a request:
NOTE:R3 does not support the pooling model
TODO: Unable to promptly determine the end of the request
Modifications
ModelRunner:
Usage or Command
None
Accuracy Tests
None
Checklist
[FDConfig],[APIServer],[Engine],[Scheduler],[PD Disaggregation],[Executor],[Graph Optimization],[Speculative Decoding],[RL],[Models],[Quantization],[Loader],[OP],[KVCache],[DataProcessor],[BugFix],[Docs],[CI],[Optimization],[Feature],[Benchmark],[Others],[XPU],[HPU],[GCU],[DCU],[Iluvatar],[Metax]]pre-commitbefore commit.releasebranch, make sure the PR has been submitted to thedevelopbranch, then cherry-pick it to thereleasebranch with the[Cherry-Pick]PR tag.