Deploy DeepSeek V3.2 (685B parameters) on AMD Instinct GPUs.
These flags are mandatory for DeepSeek V3.2 on AMD:
--block-size 1 - Required for MLA architecture (will error without it)AITER_ENABLE_VSKIP=0 - Prevents crashes on MI300X/MI325XVLLM_ROCM_USE_AITER=1 - Enables optimized kernelsEnable chat, tool calling, and reasoning mode:
MI325X (256GB) easily fits the model with room for KV cache.
Multi-run means (n=5).
See DeepSeek V3.2 Stress Testing for detailed results including saturation testing.
DeepSeek V3.2 uses MLA (Multi-head Latent Attention) which is incompatible with vLLM's KV cache offloading:
The MLA architecture uses an indexer-based KV cache that the OffloadingConnector cannot handle. Use the large HBM capacity instead (256GB per MI325X is sufficient).
Do not use --kv-cache-dtype fp8:
vLLM automatically uses the correct fp8_ds_mla format for DeepSeek models.
Ensure AITER_ENABLE_VSKIP=0 is set. If unset, it defaults to true which causes crashes on MI300X/MI325X.
Add --tokenizer-mode deepseek_v32 to enable the chat completions endpoint.
FP8 BMM kernel pre-compilation takes ~3 minutes on first run. Subsequent starts use cached kernels.
0 Comments
Be the first to comment and share your perspective with the community.