Repository navigation
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
Closed
ultradaoto wants to merge 1 commit into
ultradaoto wants to merge 1 commit into
Conversation
…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).
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.
|
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #3614, as agreed there: a plugin-specific note on the operation timeout, with the measured workaround. Docs only: one bullet after
--visionindocs/recipes/glm-5.3-flash-cuda.md.It says that with
--visionthe 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'sNCCL_MESH_TIMEOUT_SECdefaults 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; withNCCL_MESH_TIMEOUT_SEC=3600they 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 before40a46d6, a workflow change my token may not push); the recipe has changed on main since (#1910's rows), andgit merge-treeagainst main25de9d7is clean.