vllm.models.deepseek_v41.amd.akr_hooks
¶
Post-load hook of the DeepSeek-V4.1 amd_kernels routes: weight layouts, static workspaces and kernel warm-ups, all before CUDA graph capture.
Each route module has post_load(model) and runs for the target and the DSpark
draft model. A module that raises takes its routes out (akr_config.fail), so
the stock kernels run.
Functions:
-
is_draft–The DSpark draft model.
akr_config.failis process-wide, so only the
is_draft(model)
¶
The DSpark draft model. akr_config.fail is process-wide, so only the
target model may take a route out for lacking eligible layers.