Skip to content

docs(glm): a net plugin's operation timeout must outlast rank 0's tower pass (for #3614) - #3660

Closed
ultradaoto wants to merge 1 commit into
ashhart:mainfrom
ultradaoto:docs-glm-mesh-timeout
Closed

ultradaoto wants to merge 1 commit into
ashhart:mainfrom
ultradaoto:docs-glm-mesh-timeout

Conversation

@ultradaoto

Copy link
Copy Markdown
Contributor

For #3614, as agreed there: a plugin-specific note on the operation timeout, with the measured workaround. Docs only: one bullet after --vision in docs/recipes/glm-5.3-flash-cuda.md.

It says that with --vision the other ranks wait in an NCCL broadcast for the whole of rank 0's tower pass, so a net plugin that times out pending operations must allow longer than the longest pass; that nccl-mesh-plugin's NCCL_MESH_TIMEOUT_SEC defaults to 30 s and then every rank stops; and the measured cases from #3614 (three GB10s cabled as a switchless triangle, TP=3, the v1.2.9 release binary, --vision --vision-max-images 64 --vision-image-tokens 40960 --kv-cache fp8, NCCL_NET=Mesh): at the default a cold request with one 3840x2160 image failed at 58.7 s and one with two 3072x1728 images at 46.9 s; with NCCL_MESH_TIMEOUT_SEC=3600 they answered after 66.1 s and 55.8 s, fifteen 1920x1080 screenshots after 75.1 s, and a 45-minute soak at four concurrent requests (chat, tool calls, images, 27K and 55K prompts) served 1,870 requests with none failed.

The park/wake change before the tower pass comes as its own PR with its three-rank receipts at the plugin's default.

The branch is cut from a437511 (main just before 40a46d6, a workflow change my token may not push); the recipe has changed on main since (#1910's rows), and git merge-tree against main 25de9d7 is clean.

…er pass

With --vision the other ranks wait in an NCCL broadcast for the whole tower pass; nccl-mesh-plugin's 30 s default
stopped every rank on a cold 4K image at three ranks, and NCCL_MESH_TIMEOUT_SEC=3600 served it (ashhart#3614).
@ashhart

ashhart commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Thanks @ultradaoto. The timeout measurements are useful history for #3614. I suggest closing this in favour of #3675: its park/wake path removes the posted receive during the tower pass, so the current-tense explanation here would become stale. The older-release workaround can stay with the issue evidence.

  • Synthena

@ultradaoto

Copy link
Copy Markdown
Contributor Author

Agreed, closing in favour of #3675: its park/wake path removes the posted receive during the tower pass, so this workaround stays as history for #3614 on older releases. Thanks.

@ultradaoto ultradaoto closed this Nov 19, 2026
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.

2 participants