diff --git a/.github/workflows/_run-ci.yml b/.github/workflows/_run-ci.yml index e96d43942..3e4113c24 100644 --- a/.github/workflows/_run-ci.yml +++ b/.github/workflows/_run-ci.yml @@ -62,6 +62,10 @@ jobs: # (e.g. the label name '["h200", "2gpu"]' with brackets), which no # runner carries, and the job queues forever. runs-on: ${{ fromJSON(inputs.runs_on) }} + # The CI node's RDMA devices are RoCE, and a RoCE connection needs the device's network interface, which the + # runner's bridge network does not have. `ci-roce` is an ipvlan network on bond0 that adds it. Created once on + # the node; without it the container is not created: + # docker network create -d ipvlan --internal --subnet 192.168.250.0/24 -o parent=bond0 ci-roce container: image: ${{ inputs.container_image }} options: > @@ -80,6 +84,7 @@ jobs: -v /data/miles_ci/paddleocr:/github/home/.paddleocr --privileged --ulimit nofile=65535:65535 + --network ci-roce defaults: run: working-directory: ${{ github.workspace }} @@ -90,6 +95,9 @@ jobs: # Gated models (e.g. stabilityai/stable-diffusion-3.5-medium for the SD3 # e2e) need an HF token with repo access; unset for public-model tests. HF_TOKEN: ${{ secrets.HF_TOKEN }} + # Mooncake's whitelist of RDMA devices: only bond0's is reachable through ci-roce, and a transfer that + # tries any of the other seven fails. + MC_MS_FILTERS: mlx5_bond_0 steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/tests/e2e/short/test_ltx23_pickscore_grpo_4xGPU.py b/tests/e2e/short/test_ltx23_pickscore_grpo_4xGPU.py index 43175d977..db4be2532 100644 --- a/tests/e2e/short/test_ltx23_pickscore_grpo_4xGPU.py +++ b/tests/e2e/short/test_ltx23_pickscore_grpo_4xGPU.py @@ -10,7 +10,12 @@ est_time=1800, suite="stage-c-5-gpu-h200", script="scripts/run_diffusion_grpo_ltx23_sglang.py", - args=["--num-rollout", "2", "--extra-args", "--use-output-store --output-store-mooncake-master 127.0.0.1:50064"], + args=[ + "--num-rollout", + "2", + "--extra-args", + "--use-output-store --output-store-mooncake-master 127.0.0.1:50064 --output-store-protocol rdma", + ], metrics=[ "rollout/reward/raw_num_samples", "rollout/reward/raw_mean", diff --git a/tests/e2e/short/test_sd3_nft_pickscore_3xGPU.py b/tests/e2e/short/test_sd3_nft_pickscore_3xGPU.py index 7bf56e54c..c33868524 100644 --- a/tests/e2e/short/test_sd3_nft_pickscore_3xGPU.py +++ b/tests/e2e/short/test_sd3_nft_pickscore_3xGPU.py @@ -21,7 +21,12 @@ est_time=900, suite="stage-c-3-gpu-h200", script="scripts/run_diffusion_nft_sd3_pickscore.py", - args=["--num-rollout", "4", "--extra-args", "--use-output-store --output-store-mooncake-master 127.0.0.1:50066"], + args=[ + "--num-rollout", + "4", + "--extra-args", + "--use-output-store --output-store-mooncake-master 127.0.0.1:50066 --output-store-protocol rdma", + ], metrics=[ "rollout/reward/raw_num_samples", "rollout/reward/raw_mean",