sgl-project / sgl-project/SpecForge

[Feature] [RFC] Add Qwen3.5 Support for Speculative Decoding Training (EAGLE3 / DFlash)

Open
#486 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
346
Avg merge
4d 1h
Merged PRs (30d)
41

Description

Checklist
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):


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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.