forked from sgl-project/SpecForge
-
Notifications
You must be signed in to change notification settings - Fork 0
Merge main back to flash_attn #1
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
yubofredwang
wants to merge
57
commits into
modal-labs:flash_attn
Choose a base branch
from
sgl-project:duplicate-flash-attn
base: flash_attn
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.
Open
Merge main back to flash_attn #1
yubofredwang
wants to merge
57
commits into
modal-labs:flash_attn
from
sgl-project:duplicate-flash-attn
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
* unified benchmark scripts * polish
Co-authored-by: baojiangnan <[email protected]>
add sglang args in gen hidden states polih polish polish
* Add subset options for opc * lint & cat datasets
* fixed non-runnable examples * polish * polish
* fix missing import * fix-args-type
* added tests for scripts * added tests for scripts * polish * polish * polish * polish * polish * polish * polish * added tests for scripts * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish
* support more sampling params * remove recommended * some comments * lint
* Add examples of qwen3-coder-30B-A3B training script * tiny fix * Remove WANDB API key export from script to align with other examples Removed Weights & Biases configuration from script.
* support checkpoint * lint * capture only required hidden states * revert regen * fix llama * backward compatible * Update specforge/modeling/target/custom_backend/qwen3_moe.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * gemini suggests * fix * fix phi --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* updated benchmark docs * polish * polish
* grouped args for better reference * grouped args for better reference
* feature: optimize online training use hf backend less GPU memory polish polish * polish
* added model-download-dir * polish
* add missing * Update specforge/modeling/target/custom_backend/qwen3_moe.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fixed kv head replication in qwen3 moe * poliosh * poliosh
* docs:add benchmark refer polish polish * polish
* optimized sglang backend memory usage * poliosh
* support qwen3 next * fix bug * fix bug * update sglang
* Add --is-preformatted flag to prepare_hidden_states.py Added support for preformatted input data in prepare_hidden_states.py, matching the existing flag in train_eagle3.py. This allows users to skip chat template application when their data already has the template applied. Changes: - Added --is-preformatted argument to data group - Updated cache key to include is_preformatted for proper caching - Pass is_preformatted to build_eagle3_dataset() * Update documentation for --is-preformatted flag in prepare_hidden_states.py - Updated script docstring with usage example for --is-preformatted - Updated data_preparation.md to document --is-preformatted for offline training * Address code review: add --output-path to docstring example Added back the --output-path argument to the first usage example in the docstring for clarity and consistency with the pre-formatted data example.
* added more benchmarks * polish * polish * polish
* fixed benchmarks * polish
- Add training script for Qwen3-Coder-480B-A35B-Instruct-FP8 with EP support - Fix MOE_TP group initialization to properly handle ep_size > 1
* added specbundle doc * polish
* Publish spec-bundle dashboard Co-authored-by: tony3liu <[email protected]> * Update publish_docs.yaml * Update publish_docs.yaml * fix bug * fix bug * fix gbu * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * refactor: migrate benchmark dashboard from XLSX to JSON data format * fix bug * fix bug * fix code format * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug --------- Co-authored-by: tony3liu <[email protected]> Co-authored-by: liutao <[email protected]>
…ng (#378) * feat: add training support for DeepSeek-v3 EAGLE-3 speculative decoding Co-authored-by: GeLee-Q <[email protected]> Co-authored-by: Gao016 <[email protected]> Co-authored-by: yzlnew <[email protected]> * fix: correct values in deepseek-v3-671b-eagle3.json Co-authored-by: GeLee-Q <[email protected]> Co-authored-by: Gao016 <[email protected]> Co-authored-by: yzlnew <[email protected]> * chore: update examples and templates for DeepSeek-V3 EAGLE-3 --------- Co-authored-by: chenyefei.cyf <[email protected]> Co-authored-by: GeLee-Q <[email protected]> Co-authored-by: Gao016 <[email protected]> Co-authored-by: yzlnew <[email protected]>
* supoort thinking models update kimi-k2 and deepssek polish fix lint fix kimi-k2 and gpt-oss fix lint * update parse to handle the Boundary token --------- Co-authored-by: Shenggui Li <[email protected]>
* add ds v3 * init * modify sglang fit deepseek * fix deepseek rparser * ulysses finish * ring offline finish * tmp * test pass * test fail * test * clean up * remove deepseek * clean up * clean up * - * - * format * fix unit test --------- Co-authored-by: Yu Feng <[email protected]> Co-authored-by: daiyajun <[email protected]>
* fixed templates * polish
* feat: make dataloader num_workers configurable and fix prefetch_factor issue 1. scripts/train_eagle3.py: - Added argument (default: 4) to replace the hardcoded value. - This allows adjusting worker count for low shared memory environments or debugging. 2. specforge/data/utils.py: - Fixed when is 0 by forcing to None. * Fix: add num_workers argument and fix dataloader bug --------- Co-authored-by: yeshihai <[email protected]>
* added regenerated datasets * polish
6 tasks
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 conflict so sgl-project#314 can be merged
Modifications
Related Issues
Accuracy Test
Benchmark & Profiling
Checklist