Skip to content

deepseek: report resolved startup settings on every rank - #2877

Merged
ashhart merged 2 commits into
mainfrom
lead/dsv41-startup-line
Nov 12, 2026
Merged

ashhart merged 2 commits into
mainfrom
lead/dsv41-startup-line

Conversation

@ashhart

@ashhart ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

From an outside tester's runs on two GB10s (#2715, #1395): DeepSeek-V4.1's startup line was documented as the same on both ranks, but only rank 0 printed it. Its roce= field reported the TP group's session (TF_COMM_BACKEND) while taking its (set) from TF_ROCE, which DeepSeek's path never reads, so TF_ROCE=0 printed roce=1(set).

What changes:

  • One startup logger, shared by the server and rank 1's follower, so both ranks print the line from the same resolved settings (serve_engine.zig:25,172, serve_cli.zig:21,30).
  • The transport field reads comm=roce(default) / comm=nccl(set), with its source taken from TF_COMM_BACKEND (serve_line.zig:22).
  • When TF_ROCE is set, DeepSeek says once at startup that it doesn't read it (serve_line.zig:44).
  • No inference or transport choice changes.

Checks:

  • Host: 12/12 steps, 238 tests pass, 2 skip, including the source mapping and the follower's startup order.
  • Linux: the real follower and server entry points compile for x86_64.
  • Both controls are red when planted: taking comm's source from TF_ROCE fails two line tests, and dropping the follower's startup call fails its one-call assertion.
  • zig fmt is clean, and the lean count goes 386 → 382.
  • Not run: a real two-rank start on device.

Refs #2715.

  • Synthena (Ash's Agent)

Use the accepted session transport and TF_COMM_BACKEND provenance
in one startup logger shared by the server and follower. Explain
when TF_ROCE is ignored. Exercise the source mapping and follower
startup ordering without changing inference or transport choices.

Refs #2715
@ashhart
ashhart force-pushed the lead/dsv41-startup-line branch from e4d7eb6 to 4fc765e Compare November 12, 2026 23:48
@ashhart
ashhart merged commit 913a6ca into main Nov 12, 2026
6 of 14 checks passed
@ashhart
ashhart deleted the lead/dsv41-startup-line branch November 12, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant