You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4fd32fb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: examples/models/deepseek_v4/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,18 @@ performance features, so it is not a supported runtime for that recipe.
61
61
-`slurm_pretrain.sh` runs the DeepSeek-V4-Flash pretraining recipes.
62
62
-`slurm_sft.sh` runs DeepSeek-V4-Flash full SFT end to end (import, then fine-tune) on Hopper or Blackwell, with MTP on or off.
63
63
64
+
The inference script selects the `flex`/HybridEP MoE dispatcher with 16
65
+
dispatcher SMs and unfused HybridEP permutation for both direct-HF and
66
+
Megatron-checkpoint loading. The explicit checkpoint override prevents an older
67
+
serialized `alltoall` setting from restoring the standard dispatcher. Custom
68
+
launchers need a runtime containing the HybridEP package. HybridEP auto-detects
69
+
accessible ranks and fabric support when its topology environment variables are
70
+
unset. To override detection, set
71
+
`NUM_OF_HYBRID_EP_RANKS_PER_NVLINK_DOMAIN`, `NVLINK_DOMAIN_SIZE`, and
72
+
`USE_MNNVL` to values that describe the actual deployment. This selection is
73
+
inference-specific; training recipes retain their independently qualified
74
+
dispatcher defaults.
75
+
64
76
Run `bash conversion.sh` after setting `WORKSPACE` and `MODEL_VARIANT`. See each script's header comments for the expected environment variables and `#SBATCH` directives to edit before submitting.
0 commit comments