sgl-project / sgl-project/SpecForge

[Feature] Support for Deepseek Arch (including Kimi-K2)

Open
#257 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Checklist
Motivation

Based on the roadmap, try to enable the draft model training of ones with Deepseek Arch, like Deepseek V3/R1/ Kimi k2. Considering that Kimi-K2 has no released MTP layer, it could be a natural starting point.

Milestones:

Please note that the following items are still in a draft state, and i may change them later.

  • Generated dataset preparation, as the instructions of llama3. Note that the dataset cache cannot be built until the following steps done.
  • Dataset cache built.
    • involve Deepseek backbone for target model (will consider three ways mentioned in this issue
    • involve Deepseek nextn (eagle3) backbone as the draft model (thanks for the support from (@FrankLeeeee )
  • Train.
  • Evaluate the accuracy.
Note
Related resources

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

Start with docs/examples/llama3-eagle3.md and the target model config linked in the issue, then read issue #255 and draft PR #108 to understand the proposed integration paths. Done means the DeepSeek/Kimi-K2 dataset preparation and cache work, training, and accuracy evaluation milestones are completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
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.