vllm.models.deepseek_v41.nvidia.specialized_decode.runtime.model_state
¶
The model state of the specialized decode.
DeepseekV41SpecializedDecodeModelState is DeepseekV41ModelState plus:
- the decode executor, built and warmed up once the weights are loaded (the model runner creates the model state after loading the target and draft models, and before memory profiling);
- CUDA graphs of the attention metadata builds of FULL decode steps
(
metadata_graphs), recorded with the inner CUDA graphs and replayed in place of the eager build; - no replay-start upload for decode steps whose starts are known to be zero.
Functions:
-
padded_decode_batch–A dummy uniform decode batch padded like a runtime step of
key. Like
padded_decode_batch(key, input_buffers, max_model_len)
¶
A dummy uniform decode batch padded like a runtime step of key. Like
a capture, it takes worst-case sequence lengths, which bound host values
only, so its recorded build serves every step of the key.