Support train Domino draft model?
https://github.com/jianuo-huang/Domino
yes, we do plan to support, but might take some time
Hi maintainers, I’m interested in implementing Domino training support.
Proposed approach:
- Reuse the existing DFlash backbone and training infrastructure from #64.
- Add optional Domino configuration and its GRU-based causal correction head.
- Add a
DominoTrainerextendingDFlashTrainer. - Train with combined base DFlash loss and Domino-corrected loss.
- Add a Qwen3-8B example configuration.
Test plan:
- Domino configuration validation
- Correction-head output shapes and causality
- Base/corrected loss interpolation
- Shifted-label and sequence-boundary handling
- Existing DFlash behavior remains unchanged
- Small end-to-end training smoke test
Would like to listen whats your design plan as well, could follow your prefered direction if your team already have a existing design cc @yubofredwang
@ZYInSea I feel that is a valid plan. Feel free to implement end to end. I can help with the validation as well with the GPU resources I have
WIP in PR#118,did initial test on H100, will try run on multiple gpu settings and provide experiment results
WIP in PR#118,did initial test on H100, will try run on multiple gpu settings and provide experiment results
Ready for review @yubofredwang
Hi @SeaTuKeMa and @lengrongfu , TorchSpec now supports DSpark. The idea behind DSpark seems pretty similar to Domino. Do you still need Domino since DSpark is implemented now?
If so, can we rebase on top of the newest changes from DSpark implementation?
https://github.com/lightseekorg/TorchSpec/pull/142#issuecomment-5138444827