vllm.model_executor.layers.mamba.ops.replayssm_quantization
¶
Prefill conversion for FlashInfer shared quantized checkpoints.
Functions:
-
dequantize_replayssm_state–Gather existing checkpoints into the floating-point prefill input.
-
quantize_replayssm_state–Store prefill states with per-row decode scales and nearest rounding.
dequantize_replayssm_state(state, state_scale, state_indices, has_initial)
¶
Gather existing checkpoints into the floating-point prefill input.
Source code in vllm/model_executor/layers/mamba/ops/replayssm_quantization.py
quantize_replayssm_state(states, state, state_scale, state_indices, source_indices=None)
¶
Store prefill states with per-row decode scales and nearest rounding.