pub fn validate_required_kv_kernels(
gpu: &dyn GpuBackend,
kv_dtype: KvCacheDtype,
head_dim: usize,
) -> Result<()>Expand description
2026-09-25: Startup check for one --kv-cache-dtype: resolves every kernel
the dtype’s dispatch needs (the reshape/decode pair, the chunked-prefill
kernel and, for a WHT-rotated side, the WHT bookends) and errors with the
full missing list. The server calls it before build_model. See
kernel_requirements.rs.