-
Notifications
You must be signed in to change notification settings - Fork 693
[Graph Optimization] Refactor default capture list #4630
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
Closed
gongshaotian
wants to merge
129
commits into
PaddlePaddle:develop
from
gongshaotian:0908_add_graph_check
Closed
[Graph Optimization] Refactor default capture list #4630
gongshaotian
wants to merge
129
commits into
PaddlePaddle:develop
from
gongshaotian:0908_add_graph_check
Conversation
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
* update enable chunked_prefill * update code * update code * update code
…ddle#3794) Co-authored-by: Jiang-Jia-Jun <jiangjiajun@baidu.com>
* Update config.py * Update ep.py * Update fused_moe_backend_base.py * Update dynamic_weight_manager.py * Update worker_process.py * fix ci
* Update serving_chat.py * Update serving_completion.py * Update serving_completion.py
…) (PaddlePaddle#3804) * 延迟 import Config * support chunked_prefill * support chunked_prefill
…ePaddle#3810) * speed up eb45 * update
* fix scheduler bug * fix
* add moe noaux_tc tatics in trition backend * fix * add dp config
* Update no_proxy environment variable in CI workflow * Install lsof and kill api_server processes Install lsof tool and kill processes using it.
…se (PaddlePaddle#3855) * Update no_proxy environment variable in CI workflow * Install lsof and kill api_server processes Install lsof tool and kill processes using it. * Update dependency versions for stable release * Update CI script to use stable dependencies
…le#3771) (PaddlePaddle#3835) * fix w4afp8 * 增加集中式配置 * codestyle * fix fa3 append attn
Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
* Support for async processor added. * remove yappi code
* [Feature] Set scheduler v1 as default * [Feature] Set scheduler v1 as default * [Feature] Set scheduler v1 as default * [Feature] Set scheduler v1 as default * [Feature] Set scheduler v1 as default * [Feature] Set scheduler v1 as default
* fix scheduler bug * fix * Update api_server.py
* add reasoning parser plugin * fix finish reason --------- Co-authored-by: Yuanle Liu <yuanlehome@163.com>
* [DEBUG] Adapt validation for paddleformers==0.2 in release/2.2 * [CI] update paddleformers==0.2 in release/2.2
* disable scheduler v1 in guided decoding * disable scheduler v1 in guided decoding
…he_messager in cudagraph and PD (PaddlePaddle#4252) * fix the bug for prefilled_step_idx signal of cache_messager in cudagraph and PD * support dp
* [Executor]CUDAGraph support Speculate Decode * fix problem * solve problem * fix * fast compile * CUDAGraph + mtp support eb5(only target model) * Revert "fast compile" This reverts commit 3cfe837. * fix precommit * solve comment * fix comment about #pragram unroll --------- Co-authored-by: gongshaotian <gstain5555@outlook.com> Co-authored-by: gongshaotian <gstian5555@outlook.com>
…le#4392) * supports spec dynamic cfp8 * supports spec dynamic cfp8 --------- Co-authored-by: lzy <569782149@qq.com>
* Update common_engine.py * Update zmq_client.py * Update expert_service.py --------- Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
* support mtp chunk_prefill_v1 * fix mtp chunkprefill output * fix mtp chunkprefill output, fix unit test * fix save_output --------- Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
* [setup optimize]Support git submodule (PaddlePaddle#4033) * support git submodule * update setup * fix ci network * fix clone * revert clone linux * delete args * fix ci * update * fix --------- Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
* support speculate_limit_thinking_content_length_v2 * fix * fix import
* fix: image token output * fix: code style * fix: CompletionOutput.decode_type
… MTP + EP (PaddlePaddle#4430) * Fix MTP dummy run bug * Target Model and Draft Model using the same flag * aovid moe bug in cudagraph padding * In mtp replace use_cudagraph as step_use_cudagraph
* add einops * add einops
* support logprob in mtp * remove debug code * fix * feat: add draft_logprobs for Speculative Decode MTP * Revert "feat: add draft_logprobs for Speculative Decode MTP" This reverts commit d5a3c5c. * fix * feat: add draft_logprobs for Speculative Decode MTP * feat: add draft_logprobs for Speculative Decode MTP * fix some bugs * fix codestyle * fix bugs * fix bugs * fix bugs * fix bus * fix bugs * fix unitest --------- Co-authored-by: sunlei1024 <sunlei5788@gmail.com> Co-authored-by: sunlei18 <sunlei18@sunlei18deMacBook-Pro.local>
* support mm prefix cache close * add * fix * fix * fix --------- Co-authored-by: ltd0924 <luotingdan@baidu.com>
* [fix] fix requests & block metrics * [chore] rename variables
* fix * fix * fix * add test case * add test case * add test case
…ddle#4566) * support mtp distribution equivalence verification * fix bugs * add unit test
|
Thanks for your contribution! |
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
When use CUDAGraph with MTP, the default-constructed capture list method ignores the max shape, which is computed as:
self.scheduler_config.max_num_seqs * (self.speculative_config.num_speculative_tokens + 1)Origin PR: #4617
Modifications
Usage or Command
Pass
Accuracy Tests
Pass
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.