-
Notifications
You must be signed in to change notification settings - Fork 3k
Dsv3 dev #10273
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
Open
phlrain
wants to merge
83
commits into
develop
Choose a base branch
from
dsv3_dev
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+537,929
−1,577
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
* add distributed run * fix topo * add distributed print
* Add fused_swiglu_act(transpose)_quant op to extern op in gpt-3 * Polishing code. * remove unecessary lines. * remove unecessary lines in cu * Add padding function to fused_swiglu_act_quant_op
* [Distribution] Support DualPipeV for deepseek * add * fix * add * add
* commit for save * revert gpu sum in add loss for mtp
* refine * fix
* add flag DSV3_USE_FP8_GEMM * fix
* add flag DSV3_USE_FP8_GEMM * fix * add fp8 comm * fix bug * fix bug * fix bug * fix bug * fix bug * fix * fix bug * fix bug * replace index_select to gather * close fuse_moe * fix dequant bug
* fix dequant bug * fix bug * fix bug * fix
…reparation for GroupedGEMM using in training. (#10190) * Add regroup_tokens op and optest, fix topk_to_multihot setup.py * Add test file * fix miscs * Add tokens_unzip & weighted_zip in preparation of fp8-groupedgemm * Added expert_idx output to tokens_unzip op. * Fix prob datatype issue. * Implemented double input&output regroup op. * Further fix bf16 issues. * Fix implicit bug. * Change the unzip op to save more useful data * Refractor and combining tokens_unzip_and_zip. * Fixed concurrent semaphore bug. * delete synchronize in zip op, and starting to add guided unzip kernel. * Add fp8 support for unzip op, but cannot fake a tensor for testing. * Added guided_unzip op. * Modified guided_unzip to satisfy real usage. * polish code * Fix typos and polish & tested code
* Added two fused op, refractor some old swiglu code. * delete unecessary print.
* optimize atten impl * optimize_attention_output_linear_fp8_memory
* Support overlap for fusion moe, fix memlory leakage of fusion moe * fix * fix conflict
Co-authored-by: Pan Zhaowu <panzhaowu@baidu.com>
* First version, passed precision test. * Add optest. * restore setup.py * Adding optional prob for spaq * Optimized spaq in last-dim 8x cases. * fix type * Further improve performance with_prob * remove unessesary calculations.
* Add arbitrary expert_num and topk support for unzip and zip. * Merge bfloat16 zip prob support for flex num_experts and topk
* fix * fix
* merge * Update m_grouped_gemm.py
* support fusion moe * fix * fix * fix
* Add fused swiglu_probs_bwd op * add o2s as output * fix 3d tensor input and add vectorize optimizations. * fix tests of vec4 * Optimize reduce performance * delete timeline * Update setup_fp8.py fix arch * Fix multi-dimension issue.
* control stack use to prevent overflow * fix
* Disable fast math for fused precision isssue. * Disable TDU fm.
* refine fp8 code * fix bug * fix bug * reine mem * fix * refine meme * add fuse pass * add fuse config * refine tma * add cinn decorate * refine
Zhaowu Pan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Co-authored-by: zhangyuqin <zhangyuqin@baidu.com>
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.
Before submitting
tests
folder. If there are codecov issues, please add tests cases first.PR types
PR changes
Description