sgl-project / sgl-project/SpecForge
[Feature] [RFC] Add Qwen3.5 Support for Speculative Decoding Training (EAGLE3 / DFlash)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 346
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 41
Description
Checklist
- 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/SpecForge/discussions/new/choose Otherwise, it will be closed.
- 2. Please use English, otherwise it will be closed.
Motivation
Feature: Add Qwen3.5 Support for Speculative Decoding Training (EAGLE3 / DFlash)
Background and Goal
This feature aims to extend the current speculative decoding training framework to support the Qwen3.5 series, enabling training and integration of speculative decoding draft models such as EAGLE3 and DFlash based on Qwen3.5.
Target models include (but are not limited to):
Qwen/Qwen3.5-27B
https://huggingface.co/Qwen/Qwen3.5-27BQwen/Qwen3.5-35B-A3B
https://huggingface.co/Qwen/Qwen3.5-35B-A3B- Other Qwen3.5 variants (to be extended gradually)
Current Progress
Based on the current DFlash training code, I have already completed a Qwen3.5 DFlash training adaptation and validation in my personal verification repository, including the following work:
-
Adapted to newer dependency interfaces, with compatibility updates for interface changes in newer versions of:
- SGLang (newer versions)
- transformers
- Hugging Face target-model backend interfaces
This includes handling differences in target model loading, forward outputs, and config parsing to ensure stable training execution.
-
Added Qwen3.5-specific training configs and logic, including:
- Target model configuration
- Draft model configuration
- Qwen3.5-compatible training flow / parameter handling
- DFlash adaptation logic (e.g., training pipeline integration)
-
I would like to further complete and integrate Qwen3.5 speculative decoding training support for EAGLE3 / DFlash, with a unified training entry and configuration workflow (and potentially extend to more speculative decoding training methods later).
。
Related resources
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; begin by reviewing the repository’s current DFlash training code and the described Qwen3.5 adaptation. Done means integrating Qwen3.5 support for EAGLE3 and DFlash with a unified training entry and configuration workflow, then validating the supported target models.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- ai, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100