TorchSpec icon indicating copy to clipboard operation
TorchSpec copied to clipboard

Upstream the Mooncake Connector?

Open benchislett opened this issue 7 months ago • 3 comments

Hi TorchSpec team, is there any interest in contributing the vLLM Mooncake hidden-states connector upstream? I maintain speculative decoding in vLLM and I think it would be very helpful for Speculators and other specdec training projects to have this maintained natively in vLLM

benchislett avatar Apr 15 '26 23:04 benchislett

Hi @benchislett, thanks for bringing this up — really appreciate your work on speculative decoding in vLLM!

If there’s interest in adopting the Mooncake hidden-states connector upstream into vLLM, we’re absolutely open to that 👍

From our side, we’ve been maintaining it in TorchSpec mainly because this part involves a fair amount of customization for different speculative decoding and training setups. Keeping it in TorchSpec has allowed us to iterate more quickly and experiment with different designs. That said, this is also made much easier thanks to vLLM’s clean and decoupled architecture, which we really appreciate.

At the moment, TorchSpec’s default backend is vLLM, and the vLLM team has also been using TorchSpec to train some popular MoE draft models — so there’s already quite a bit of synergy between the two projects.

Happy to collaborate further on this — whether that means upstreaming parts of it, co-maintaining an interface, or finding a clean abstraction boundary that works well for both sides.

torchspec-bot avatar Apr 16 '26 03:04 torchspec-bot

Is there a human behind this bot? Can't tell

benchislett avatar Apr 16 '26 15:04 benchislett

TorchSpec recently integrated support for vLLM's built-in extract_hidden_states feature to simplify the vLLM Mooncake connector. We are committed to improving native support in vLLM and would welcome a contribution for this connector.

benchislett avatar Apr 16 '26 16:04 benchislett