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
The DSpark drafter path does not read this checkpoint's config.
Expected behavior
TRT-LLM loads RedHatAI/Kimi-K3-speculator.dspark as published.
Actual behavior
The checkpoint uses the speculators config format. TRT-LLM has no support for it; git grep speculators on main finds nothing.
TRT-LLM expects the drafter backbone in a top-level HF config (model_type: qwen3), with DSpark fields in dflash_config or at top level.
speculators nests the backbone under transformer_layer_config.
It names the capture layers aux_hidden_state_layer_ids, in vLLM's convention: a layer's input, so TRT-LLM's id is the value minus 1.
Additional notes
Workaround: we rewrote config.json into TRT-LLM's layout and symlinked the weights. The tensor names already match the GQA DSpark loader. That works, but two gaps remain:
The GQA path replaces the drafter's embed_tokens with the target's. This checkpoint trains its own row for the mask token (163837), so natural acceptance may be lower than intended.
The checkpoint was trained with a 2048-token sliding window. TRT-LLM's drafter attention rejects it, so we disabled the window. That is exact only while the context stays at or below 2048 tokens.
Inferact/Kimi-K3-DSpark loads natively, so this only affects users of the RedHatAI checkpoint.
Activity