Multi-machine (TP) and fabric
Running one model across machines: nodes, discovery, RDMA rails, Velo-Fabric exchanges, sharding.
95 options, alphabetical, diagnostics last. All themes and the A–Z index.
--cq-hold mode flag
The release's help lists this flag without a description.
--cq-hold-us mode flag
The release's help lists this flag without a description.
--discover-wait day-to-day mode flag
Discovery broadcast window instead of --nodes
--discovery-port mode flag
The release's help lists this flag without a description.
--dsv41-batch-admit
DeepSeek-V4.1 TP server (leg P7.3): coalesce concurrent newly-admitted text-only requests and run their short/tail CED prefill (when total uncached prompt rows fit --prefill-chunk + --dsv41-prefill-tail-merge) plus DSpark ring seeding and first-token draw in one batched multi-lane pass instead of one lane at a time. auto (default) / on = batched multi-lane prefill + batched start (bit-identical per lane); start-only = solo prefill per lane then batched multi-lane start (A/B); off = sequential per-lane prefill + start; /metrics velogb10_dsv41_tp_batch_*
--dsv41-dual-rail
DeepSeek-V4.1 TP (legs TX1 / OPT1): split every decode / verify exchange of at least --dsv41-dual-rail-min-kib in two 16 B-aligned halves, one on each RDMA rail (rail 1 and rail 2 of --rdma-dev; a second ctx per link with its own proxy thread), done when both halves land. Same bytes, same per-element sum: bit-identical. auto (default) = on at world 2 and world 4 when EVERY rank has a usable second RDMA device (agreed over the primary link; otherwise the boot prints one line and every rank runs on rail 1); on = the same, the line names that it was asked for; off = rail 1 only. Needs the dsv41 PDL exchange pair (--dsv41-xchg pdl)
--dsv41-dual-rail-min-kib
DeepSeek-V4.1 TP (leg TX1): the smallest exchange (KiB per epoch) that --dsv41-dual-rail splits over both rails; smaller ones stay on rail 1 (a 1-row frame is 20 KiB: split it gains 14 %, 2-6 rows 21-28 %, 12 rows 24 %: Sparks smoke, leg TX1)
--dsv41-graph-keys
DeepSeek-V4.1 TP (leg PG1): how decode / verify calls are keyed in the CUDA graph cache. rows (default) = one graph per (lane slots, total rows, context class): the per-lane split of the rows is data the graph reads (a segment table, the row -> lane map, the window and indexer tables rewritten before each replay), so per-lane draft counts do not multiply the graphs (at most 24 + the drafter's per lane-slot count; 13-21 in a steady 4-user run). split = one graph per (lane, rows) vector (the keys before leg PG1; up to ~1,000 vectors at 4 lanes against a 64-graph cache): for an A/B only. Same tokens either way
--dsv41-ship-engram
DeepSeek-V4.1: auto = each rank is shipped only its Engram heads through the blob cache: a head file the head holds is sent as the file, one it does not hold is packed from the native checkpoint (--engram-source, found next to the pack) while it is sent, never written on the head's disk, and a node that already holds a head (pre-staged, manifest sha256 and size match) is sent nothing; off = ship none (every box's NVMe was pre-staged with --dsv41-engram-pack)
--dsv41-sp-laga
DeepSeek-V4.1 TP prefill (U6a LAGA): replace FP32 wo_b reduce-scatter (20 KiB/tok) with 1-RTT BF16 All-to-All on wo_a output (16 KiB/tok full-width, ~19% less total collective wire) + local whole wo_b on 1/W rows at world 2, 3, 4, 6, and 8. auto / on = enabled when a2a_ready and whole wo_b resident (default on TP3/4/6/8, and TP2 with --dsv41-attn-whole on); off = FP32 wo_b reduce-scatter (A/B)
--dsv41-sp-prefill
DeepSeek-V4.1 TP prefill (leg P7SP + TP3/TP6/TP8): sequence-parallel + mirror-zigzag causal indexer multi-node prefill at world 2, 3, 4, 6, and 8 (chunks >= 128 x world rows). Shards residual stream, norms, mHC mixers, wq_a, wkv, compressor projections, router and idx.weights_proj across ranks on 128-row M-tile boundaries with reduce-scatter + all-gather over the pipelined or 1-RTT direct RDMA transport, and partitions 8-row indexer query blocks in 2xW complementary mirror stripes (zero causal skew). Bit-identical to off (including PrefixPool snapshots and resumes); auto / on = enabled at world 2, 3, 4, 6, and 8; off = replicated prefill (A/B)
--dsv41-tp-pipe-min-kib
DeepSeek-V4.1 TP: reduce frames larger than this many KiB take the pipelined multi-block transport (16 blocks copy and add); smaller ones the K1 / K2 pair (one block adds). Bit-identical either way (the same per-element sum)
--dsv41-tp4-pipe-min-kib
DeepSeek-V4.1 TP at world 4 (leg PX2): reduce frames larger than this many KiB take the pipelined transport (2 recursive-doubling rounds, >= 137 us a call); smaller ones ONE all-peers stage on the single-stage ctx. Default: with the dsv41 world-4 pair (--dsv41-xchg pdl) 384 (leg TX1), so every decode / verify frame up to 12 rows is one stage and the 24-row frames pipe; with --dsv41-dual-rail up (the world-4 default when both rails exist) the single-stage bound, so the 24-row frames are one dual-rail stage (12.34 vs 13.37 ms a round, Sparks smoke); with --dsv41-xchg legacy, --dsv41-tp-pipe-min-kib or 32 (the TP2-tuned threshold). Same association (p0 + p2) + (p1 + p3) on either path: bit-identical
--dsv41-tp4-rsag-min-kib
DeepSeek-V4.1 TP at world 4 with the dsv41 pair (leg PX2): reduce frames of at least this many KiB are summed as a reduce-scatter (two recursive-doubling epochs on the primary link: half to rank ^ 2, quarter to rank ^ 1) plus an all-gather (each rank's summed quarter to all three peers on the single-stage ctx): half the bytes on the wire of one all-peers stage, three hops instead of one; the same per-element sums (p0 + p2) + (p1 + p3), bit-identical. 600 (default, leg TX1; SPT4's A/B on the Sparks) = only the 6- / 12-row Engram-rider frames (the 24-row frames go to the pipe, the 12-row frames stay one stage); 192 was the PX2 prediction; 0 = never
--dsv41-tp4-single-kib
DeepSeek-V4.1 TP at world 4 (leg PX2): the single-stage ctx's payload bound in KiB (its ring slots; 85 slots of this size are pinned and registered per rank). Frames up to it can take one all-peers stage. Unset: 768 with --dsv41-xchg pdl, 256 with legacy; 768 holds every frame up to 24 rows (494.6 KB) and the 6-row Engram-rider frame (738.0 KB)
--dsv41-tp8-rsag-min-kib
DeepSeek-V4.1 TP at world 8 with the dsv41 pair (Phase A): reduce frames of at least this many KiB are summed as a 3-round tree reduce-scatter (half to rank ^ 2, quarter to rank ^ 4, eighth to rank ^ 1) plus an all-peers gather of each rank's eighth on the single-stage ctx: 1.75F wire bytes instead of 7.0F (4x less wire traffic, dual-rail 0.875F/rail vs 3.5F/rail), bit-identical ((p0+p2)+(p4+p6))+((p1+p3)+(p5+p7)). Default: 128 KiB with dual-rail (256 KiB single-rail); 0 = never
--dsv41-wire-bf16
DeepSeek-V4.1 TP (Phase A, opt-in A/B): compress decode/verify single-stage and world-2 all-reduce payloads to BF16 on the wire (halving RDMA bytes and Grace C2C read bandwidth), accumulating in FP32 in canonical order on every rank (including rounding the local partial to BF16 so all ranks remain bit-identical to each other). off (default) = full FP32 wire (bit-exact to reference)
--dsv41-xchg
DeepSeek-V4.1 TP at world 2 and (leg PX2) world 4: the exchange kernels (leg PX1). pdl (default) = the dsv41 pair (at world 4 on the single-stage ctx, the sum (p0 + p2) + (p1 + p3); with --tp-gpu-recv on the shared GPU-validated collect stays): the stage waits for its producer and releases the collect at once, the collect releases its consumer at once, polls the receive gate without sleeping and copies out over several blocks (with --dsv41-pdl on); every frame up to one ring slot is one exchange. legacy = the shared K1m / K2 pair (one block adds; frames above --dsv41-tp-pipe-min-kib pipe). Same wire bytes and the same per-element sum: bit-identical either way
--ep-deal day-to-day
EXL3 TP static expert deal; freq = committed per-layer frequency-balanced table (world 2 and world 4; opt-in, output-changing)
--exit-on-fatal day-to-day
sticky CUDA error / scheduler panic: exit 70 so a supervisor restarts (default; off = engine DEAD, /health 503)
--exl3-tp-fastctl
EXL3 TP fast control plane
--exl3-tp-preverify
EXL3 TP pre-verify agree
--gid mode flag
The release's help lists this flag without a description.
--gid-idx per machine
RoCE GID index for the TP data plane (integer N, or omit for auto-detect). Auto-detect picks the first IPv4-mapped RoCE v2 GID from sysfs (logged at bring-up with the sysfs evidence); fallback if none found: the static default 3. An explicit N binds EXACTLY index N on EVERY rail (the second rail and the single-stage context use the same resolved index); a wrong N fails loudly at bind — it is never re-scanned
--head day-to-day mode flag
The release's help lists this flag without a description.
--inkling2-ulysses-wire mode flag
The release's help lists this flag without a description.
--no-shard-mixers day-to-day mode flag
Escape hatch: DON'T shard attention/GDN mixers + KV (default is ON under --tp/--head — it's where the speed is)
--node day-to-day mode flag
The release's help lists this flag without a description.
--nodes day-to-day mode flag
Explicit node address(es); skips UDP discovery
--peer mode flag
The release's help lists this flag without a description.
--peer-ips mode flag
The release's help lists this flag without a description.
--pp-chunk-list mode flag
The release's help lists this flag without a description.
--pp-head-ip per machine
PP prefill node: the head IP to dial
--pp-node mode flag
The release's help lists this flag without a description.
--rank day-to-day mode flag
The release's help lists this flag without a description.
--rdma-dev day-to-day per machine
RDMA device(s): <rail1>[,<rail2>]; default: the box's only active RoCE port pair (needed only when it has two)
--shard mode flag
The release's help lists this flag without a description.
--shard-dir mode flag
The release's help lists this flag without a description.
--shard-end mode flag
The release's help lists this flag without a description.
--shard-rank mode flag
The release's help lists this flag without a description.
--shard-start mode flag
The release's help lists this flag without a description.
--shard-world mode flag
The release's help lists this flag without a description.
--tp day-to-day mode flag
Enable TP on --server (sync + RDMA bring-up first). N is the rank count, a power of two (default 2). EXL3 packs: N=2 and N=4 serve; --tp-prefill-xport dual (default, rail 2 is a full N-way link) | single | off; probe tier for bring-up checks: --probe-exl3-xtp. Other model families are unchanged.
--tp-cache day-to-day per machine
node blob cache dir
--tp-dds-prior day-to-day
WP23 cost-guard prior on TP lanes: on = 2.7 ms/draft at TP=2, 2.1 at TP=4 (estimate), off = 6.0, or <ms>
--tp-dec-blocks
EXL3 TP decode K2 grid blocks
--tp-dec-grecv day-to-day
EXL3 TP decode GPU receive (off = cpu_done only)
--tp-dec-xport
EXL3 TP decode transport (off = the serial pair)
--tp-dflash
NVFP4 TP DFlash drafter one-shot generate
--tp-dh-shard day-to-day
EXL3 TP sharded MTP-head screen
--tp-fp32-partials day-to-day
NVFP4 TP fp32 partials
--tp-gpu-recv
NVFP4 TP GPU-direct all-reduce receive (on / off; unset = the shipped config). Naive TP=4 (lever 1b): `on` makes the single-stage reduce ctx's K2 validate every peer's NIC-written tail itself (the proxy skips its CPU receive stage); unset/off = the CPU bounce. Not GPUDirect RDMA: the payload lands in pinned host memory either way
--tp-graph day-to-day
NVFP4 TP decode graphs
--tp-k2-prefetch
EXL3 TP=2/TP=4 decode (TP-4Z2): while a reduce's K2 waits for the peer, its idle threads pull the NEXT hc mixer's int8 weights into L2 (bitwise: a prefetch hint, no data path). on (default) | off
--tp-ks-target day-to-day
EXL3 TP split-K target
--tp-lockstep-timeout-ms
EXL3 TP world > 2: per-wait lockstep deadline in ms (peer alive but not progressing -> abort code 12); 0 = unbounded
--tp-oneshot
TP=4 one-shot all-peers push
--tp-prefill-overlap day-to-day
EXL3 TP prefill all-reduce overlap: off|on|inline[:ROWS]|dual[:ROWS]|fold
--tp-prefill-payload
NVFP4 TP prefill all-reduce chunk cap (bytes)
--tp-prefill-xport
EXL3 TP prefill transport (off = serial pair, single = one rail, dual = both rails; dual is the default at every world, at --tp 4 the second rail is a full N-way link; single/off are loud perf opt-outs)
--tp-reduce
EXL3 TP=4 decode/verify all-reduce (TP-4F2, default flipped by TP-4Z1): auto = single at world 4 (with the folded decode transport), rd elsewhere (default); rd = two recursive-doubling stages per reduce; single = ONE all-peers stage on a dedicated transport (bit-identical sum; third proxy thread on core 17, TCP base +40). `single` is refused at world != 4; prefill reduces are untouched. Naive TP=4 (lever 1): auto = single on a dedicated fp32-wire one-shot ctx (sum (p0+p2)+(p1+p3), bitwise the tree) for every reduce up to 256 KiB, the tree for prefill chunks; at world 2 `single` falls back to the tree with one line
--tp-reduce-fuse
NVFP4 TP fused reduce+residual+norm epilogue (on / off; unset = the shipped config)
--tp-route-fold day-to-day
EXL3 TP route-ep fold into the router tail
--tp-seq-parallel day-to-day
EXL3 TP=2/TP=4 sequence-parallel prefill (on|hc|router|off); TP=4 = quarter rows (TP-4S)
--tp-shard-mtp day-to-day
NVFP4 TP MTP-block sharding
--tp-spin-us
TP transport spin microseconds
--tp-sync-only
B32: sync every node (blob cache), print the bytes each node needed and its cache footprint, then exit (head and nodes) — no model load. Rides TpConfig.sync_only
--tp-vp-head
EXL3 TP vocab-parallel lm_head for greedy rows
--tp-vp-sampled day-to-day
EXL3 TP=2/TP=4 vocab-parallel lm_head for sampled / penalized / ratio-rule rows (on|off; default on at world 2 and 4)
--tp-xport-blocks
EXL3 TP prefill transport blocks
--tp-xport-lookahead
EXL3 TP prefill transport epochs in flight per rail
--world day-to-day mode flag
The release's help lists this flag without a description.
--xport mode flag
The release's help lists this flag without a description.
--dsv41-ship diagnostic
MODE (head, no model load): --dsv41-ship --model-dir <V4.1 pack> --tp W --ship-rank R --nodes <ip:port>: plan rank R's shard dir (an Engram head file this box does not hold is packed from the native checkpoint while it is sent, never written here), hash it into the content-addressed cache and sync that ONE node (a --node supervisor on the box), then print how many blobs and bytes it needed; a second run on a synced node ships nothing (RESULT: DSV41_SHIP_OK blobs=N bytes=B total=T)
--dsv41-xchg-trace diagnostic
DeepSeek-V4.1 TP at world 2 (diagnostics, leg PX1): stamp every exchange (stage entry / start / doorbell, collect entry / start / gate seen / end on the GPU clock; the proxy's ready / posted / completion / peer seen / released on the host clock) and write the last 4,096 epochs to <dir>/xtr_r<rank>_<n>.csv each time the link has been quiet for 1.5 s, with a GPU / host clock calibration (with --dsv41-xchg legacy: the proxy's and the shared collect's stamps only). Costs a few host clock reads per exchange in the proxy
--tp-accept diagnostic
TP bench_accept depth (set = run the accept branch)
--tp-agree-drill diagnostic per machine
test drill, NVFP4 packs, one-sided (per box: it acts on the box whose command line carries it): corrupt THIS rank's agree hash at scheduler step N, once per head session (a resident node supervisor started with this flag re-arms it for every head that connects; the corruption depends on the rank, so a drill armed on two ranks cannot cancel). Inert, with a boot line saying so, on EXL3 packs (use --tp-width-drill) and at TP=1
--tp-batch-probe diagnostic
TP batch probe width
--tp-binv-tp diagnostic
TP batch-invariance probe (also --probe-binv-tp)
--tp-boot-delay day-to-day diagnostic
test drill: <rank>:<seconds> sleep before the boot rendezvous
--tp-capture diagnostic
TP debug capture path
--tp-decode-ctx diagnostic
TP DecodeCtx probe context
--tp-diag diagnostic
TP transport diagnostics
--tp-ep-deal-file diagnostic
--ep-deal freq: an alternative deal table
--tp-ep-hist day-to-day diagnostic
EXL3 TP expert histogram dump
--tp-head-proof diagnostic
NVFP4 TP head proof
--tp-head-proof-fault diagnostic per machine
test drill: NVFP4 TP head-proof fault on THIS rank (per box)
--tp-race-probe diagnostic
test drill (issue #10): world-2 race probe — rank 1 holds every epoch release by <ms> and watches the withheld slot; the head aligns its pre-verify exchange onto that slot (must CLOBBER-detect on the old hot-ring exchange transport, stay clean on the dedicated ctrl slots)
--tp-state-tp diagnostic
TP GDN state probe
--tp-step-probe diagnostic
TP step probe
--tp-tail-drill diagnostic
test drill: TP transport tail drill
--tp-trace day-to-day diagnostic
TP trace
--tp-width-drill diagnostic per machine
test drill, EXL3 packs, one-sided (per box) and ONE-SHOT per head session (a resident node supervisor started with this flag re-arms it for every head that connects): THIS rank reports verify width N-1-rank (N-1 on the head) in the post-round lockstep word of the FIRST N-row round, then tells the truth; the forward is untouched. The lie depends on the rank, so a drill armed on two ranks is still caught. A boot line says the drill is armed, or why it is inert (NVFP4 pack, TP=1, N <= rank)
--tpc-debug diagnostic
TP config debug print
Generated from the --help and --help-advanced output of the v0.8.1 release binary (velogb10-v0.8.1-gb10-sm121.tar.gz, sha256 109a53c41e0d79e0…, from the GitHub release). Every option it lists is here.