Skip to main content
Miles ships recipes for the DeepSeek family across two generations. DeepSeek-V4 pairs sparse multi-head latent attention with a learned indexer, KV compressors, and hyper-connection routing. DeepSeek-V3.2 keeps the V3 MoE and MLA shapes and adds DeepSeek Sparse Attention (DSA), the same attention implementation the GLM-5 recipes use. DeepSeek-V3 itself remains available through scripts/run_deepseek.py.

Variants

A validated DeepSeek-V4-Pro recipe is not yet available — see radixark/miles#1046 for tracking.

Fastest path to train

DeepSeek-V4-Flash needs 8 nodes of 8× H200 and the radixark/miles:latest image:
DeepSeek-V3.2 needs 8 training nodes of 8 GPUs plus separate rollout GPUs:
See the DeepSeek-V4 Flash page for the V4 architecture summary, parallelism layouts, and known workarounds. See the DeepSeek-V3.2 page for the V3.2 flow — FP8 → BF16 conversion, the TP2 / PP4 / EP16 training layout, the NSA rollout settings, and the FP8 / MXFP8 options; see the DeepSeek V3 page for the V3 recipe.

Pairs well with