Motivation
This issue tracks the end-to-end enablement and optimization checklist for DeepSeek-V4 on ROCm backend.
DeepSeek-V4 includes multiple critical blocks (mHC/HCA/CSA/MoE/MTP), and ROCm readiness depends on both model-side kernels and system-side runtime behavior.
We’re launching a joint effort to optimize DeepSeek V4 on the ROCm backend—please feel free to take on any task, and we’d love to hear more optimization ideas.
Purpose
Recipe
General Checklist
1) Functionality / Bugfix / Feature
Performance Checklist
1) High-Level Performance/Feature
2) Kernel Fusion
Element-wise Fusion
CSA
mHC
MoE
Motivation
This issue tracks the end-to-end enablement and optimization checklist for DeepSeek-V4 on ROCm backend.
DeepSeek-V4 includes multiple critical blocks (mHC/HCA/CSA/MoE/MTP), and ROCm readiness depends on both model-side kernels and system-side runtime behavior.
We’re launching a joint effort to optimize DeepSeek V4 on the ROCm backend—please feel free to take on any task, and we’d love to hear more optimization ideas.
Purpose
Recipe
vLLM Recipe: DeepSeek-V4 on AMD (ROCm) Usage Guide - vLLM Recipes[ROCm] Add the Deepseek-V4-Pro supported on MI355x recipes#433General Checklist
1) Functionality / Bugfix / Feature
Performance Checklist
1) High-Level Performance/Feature
2) Kernel Fusion
Element-wise Fusion
torch nativetorch nativeCSA
pytorch native implementation.default stream+indexer stream) to overlap indexer and main attention paths, aligned with the DeepSeek-V4 blog design.mHC
mhc_pre,mhc_post), need to integrateAITER MHC kernel[Bugfix] [ROCm] [DSV4] [Perf] Add aiter mhc support #41946MoE
MoE Kernel)