Skip to main content
Miles ships recipes for the DeepSeek family across two generations: DeepSeek-V4 Flash introduces sparse multi-head latent attention with a learned indexer and KV compressors (8-node H200), while V3 / R1 remain the canonical 16-node 671 B-parameter recipes (BF16 train + 128×128 block-wise FP8 rollout, DeepEP, DAPO-style dynamic sampling).

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-R1 needs 16 nodes of 8× H100:
See the DeepSeek-V4 Flash page for the V4 architecture summary, parallelism layouts, and known workarounds; see the DeepSeek R1 / V3 page for the V3 flow — FP8 → BF16 conversion, Megatron parallelism layout (TP8 / PP4 / EP32 / CP4), per-arg walkthrough, and the alternate Python launcher (scripts/run_deepseek.py).

Pairs well with