Repository navigation
ci: attach the GPU job container to an ipvlan network on the node's RoCE bond, so Mooncake's rdma transport can connect - #384
Merged
Conversation
…oCE bond, so Mooncake's rdma transport can connect
6 tasks done
Rockdu
marked this pull request as ready for review
November 12, 2026 09:06
…asic exercises the RoCE network
This was referenced Nov 18, 2026
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.
What
The GPU CI job's container gets a second Docker network,
ci-roce, and Mooncake is limited to the one RDMA device that network reaches. With that, Mooncake'srdmatransport works inside the CI containers.--network ci-rocein the container options. The runner's own bridge network stays, so every container keeps its own ports and its internet access.MC_MS_FILTERS: mlx5_bond_0in the job env. This is Mooncake's device whitelist.test_sd3_nft_pickscore_3xGPU.py,test_ltx23_pickscore_grpo_4xGPU.py) pass--output-store-protocol rdma, sorun-ci-basicon this PR exercises the RoCE network on both runner classes without waiting for feat(rollout): let reward actors read the generated output from the output store #382's default change.Why
The CI node has no InfiniBand. Its eight RDMA devices (
mlx5_bond_0..7) are RoCE on bonded Ethernet ports, and a RoCE connection needs the device's network interface. The runner puts the job container on a bridge network, where those interfaces are not visible: every Mooncakerdmaput fails withFailed to modify QP to RTR.--network hostis not an option for a job container. The runner always passes its own--network github_network_<id>, and Docker refuses the combination (conflicting options: cannot attach both user-defined and non-user-defined network-modes).The node-side network
ci-roceis an ipvlan network onbond0, created once on the node:It exists on the CI node now.
--internalkeeps the default route on the runner's bridge. If the network is missing, the container is not created and the job fails at once.Only
bond0is attached, so Mooncake must not use the other seven devices: a transfer that tries one of them fails. With eight networks, one per bond, the defaults work but the first put takes 7 to 15 s, because transfers between different bonds fail and are retried.Validation
Measured on the CI node, in the CI image, a 256 MB put and get over
rdmabetween two processes:ci-roceci-roce,MC_MS_FILTERS=mlx5_bond_0Two such containers at once both pass, and
https://github.comanswers from inside them.Before the last commit this PR alone did not exercise
rdmain CI, because the output store's default transport onmainistcp; now its ownrun-ci-basicrun does, through the two tests above. #377 carries this commit on top of #382, which makesrdmathe default, and itsrun-ci-e2erun is the end-to-end check:--network github_network_<id> --network ci-roce; stage-a and stage-b pass.main, and train times within 3%.Checklist
pre-commitpasses on the changed filerun-ci-e2erun onba7e14ef, all green