Development Roadmap (2026 Q2)
TorchSpec Roadmap 2026 Q2
Model Support
- [x] Minimax M 2.5
Training
- [ ] Packed sequence training: pack multiple shorter sequences into a single training sample to maximize GPU utilization and reduce padding waste, especially for datasets with variable-length inputs
- [x] Additional training methods: expand beyond Eagle3 to support DFlash, MTP, and other speculative decoding training approaches, broadening the range of draft model architectures TorchSpec can train
- [x] LK Loss (PR #29): add LK^alpha and LK^lambda losses for direct acceptance rate optimization, improving average acceptance length by 3-8% over Forward KL on Eagle3
- [x] Context Parallel under DP ranks: support context parallelism within data-parallel ranks
- [x] FlexAttention native FA4 backend (Issue #30): adopt
BACKEND="FLASH"in FlexAttention to unify theflex_attentionandfa_experimentalcode paths, replacing manual CuTeDSL integration with a stable PyTorch API for FA4-level performance on Hopper/Blackwell GPUs
Inference
- [x] TensorRT-LLM integration: add as an inference backend alongside SGLang and vLLM so users can plug in whichever engine best fits their deployment stack
- [ ] Inference auto-expansion: automatically scale inference when more nodes become available
- [x] Support chunked-prefill: Support chunked prefill to allow longer context
Framework
- [ ] Placement group node pinning by IP: allow users to pin inference to specific nodes by IP, with finer granularity for multiple inference engines on the same node
- [x] Automatic Mooncake config determination: derive Mooncake transfer config from batch size and max sampling pool size; auto-compute max sampling pool size as
global_batch_size * delay_deletion_ratio - [ ] Debugging mode: add a debugging mode for both inference and training sides
- [ ] Colocate Training: design and implement colocate training
Hey @yubofredwang, how do you feel about colocating training and infrerence in the same GPU optionally for some users? Is it possible to launch two processes using a single GPU and training run while taking turns? This could be useful for development, small experiments or researchers, especially when inference/training utilization is imbalanced and user only has access to a limited set of nodes.
Hi @Dogacel, yes there is a issue tracking the work https://github.com/lightseekorg/TorchSpec/issues/81. @zhubohao911 is currently working on it.
Does it make sense to allow the configuration of a dedicated inference engine? For instance, one could utilize the production inference engine—pausing training during traffic peaks and resuming full-speed training during traffic troughs.
Hi @yubofredwang , I am recently using TorchSpec and would like to work on the TRTLLM integration. Looks like it can be done similarly to the SGLang support with a small patch.
@yubofredwang and @Dogacel will release a Q3 roadmap soon.