You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate: Megatron backend with vLLM streaming #3349
Background: vLLM streaming, where the trainer pulls the target's hidden states from vLLM serving, works only with the HF trainer. The Megatron backend offers model and context parallelism for large drafters and long sequences, but supports only EAGLE and computes the target's hidden states inside the trainer.
Goal: Assess what it takes to feed streamed hidden states into Megatron-based draft training, estimate the gain over the HF path, and decide whether to build it.
Hi @h-guo18, I’m interested in investigating the Megatron backend with vLLM streaming. Is anyone already working on this internally or in an unlinked PR?
If this is available, I’d like to assess the integration requirements and compare the expected benefits with the existing HF streaming path. I can start by mapping the streamed hidden-state interface to Megatron EAGLE training and outlining a small-scale validation plan, then share the findings before proposing an implementation.
Would this be a useful contribution?
Activity
WEIXILIN0307 commentedon Nov 18, 2026
Hi @h-guo18, I’m interested in investigating the Megatron backend with vLLM streaming. Is anyone already working on this internally or in an unlinked PR?
If this is available, I’d like to assess the integration requirements and compare the expected benefits with the existing HF streaming path. I can start by mapping the streamed hidden-state interface to Megatron EAGLE training and outlining a small-scale validation plan, then share the findings before proposing an implementation.
Would this be a useful contribution?