Repository navigation
[CI] Migrate GraphTrainer & RL H100 integration tests to OSDC (ARC) - #3479
Conversation
Migrate the two remaining `linux.aws.h100.8` integration tests to the OSDC (ARC) H100 runners, following the same pattern as #3464 which migrated `integration_test_8gpu_h100.yaml`. For both `integration_test_8gpu_graph_trainer_h100.yaml` and `integration_test_8gpu_rl_h100.yaml`: - Route through `set-matrix.yaml` with `runner-cuda: mt-l-bx86iamx-176-1800-h100-8` and `is-experimental: true` (CUDA-only, no ROCm), matching the other experiment workflows. - `linux_job_v2.yml` -> `linux_job_v3.yml`. - Pull the private-ECR image tagged with the `.ci/docker` tree hash that `set-matrix.yaml` returns, instead of the bare public image name. - Install torch from `${{ matrix.index-url }}` and clear `PIP_EXTRA_INDEX_URL` so the in-cluster cpu pypi-cache can't supply a `+cpu` torch build. - Drop `sudo mkdir/chown` for the artifacts dir (the v3 container user uid matches the OSDC runner), and fix the `permissions:` block indentation. Note: as with the sibling experiment workflows, the CUDA job runs on push/schedule and on PR `synchronize` while a ciflow label is present; the bare `labeled` event itself produces an empty matrix.
a3a509e to
38cb3c2
Compare
There was a problem hiding this comment.
CI failure becuase of uv pip isntall -e . failed, this seems be true. We will need install torchtitan because monarch / vllm spawn child process and we'll need something like import torchtitan.config work
|
Thanks for moving the CI to OSDC pool. If you see some test case failing in GraphTrainer CI, you can feel free to land, and leave the test case fixing to us, as long as you have runner picking up the job and env setup. |
Signed-off-by: Huy Do <[email protected]>
Signed-off-by: Huy Do <[email protected]>
Signed-off-by: Huy Do <[email protected]>
Signed-off-by: Huy Do <[email protected]>
Signed-off-by: Huy Do <[email protected]>
Signed-off-by: Huy Do <[email protected]>
| sudo apt-get update -qq && sudo apt-get install -y -qq rdma-core libibverbs1 libmlx5-1 libibverbs-dev | ||
| sudo apt-get autoclean && sudo apt-get clean | ||
| sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
| sudo rm -rf /var/lib/apt/lists/* /var/tmp/* |
There was a problem hiding this comment.
@SherlockNoMad I found the line responsible for https://github.com/pytorch/torchtitan/actions/runs/26801406725/job/79008692892. https://github.com/pytorch/torchtitan/blob/main/.ci/docker/common/install_deepep.sh#L20 has a step to rm -rf /tmp/* and it unknowingly deletes the CI logs used by the runner there.
Removing that part with a tracking issue to fix that properly on the runner pytorch/ci-infra#690
The failed GraphTrainer tests FYI https://github.com/pytorch/torchtitan/actions/runs/26802927029/job/79013498849 |
…orch#3436 thread Merged 7 upstream commits (b72d986..04a3098). Headline is PR pytorch#3450 — the upstream-canonical fix for the histc->scatter swap that our PR pytorch#3436 was tracking. Approach: build boolean routing_map_BLE via scatter_ in router, compute num_tokens_per_expert via routing_map.sum, thread the map through to dispatcher. Same scatter direction we recommended, done better (computed once, reused). API change at the boundary: router returns 4-tuple; dispatch() takes new num_local_tokens_per_expert_E positional arg. ezpz doesn't override these methods or unpack router output directly, inherits cleanly. set_moe_sharding_config call into upstream's helper picks up the new shard declaration automatically. No ezpz replay needed. Other 6 commits: HybridEP compile (pytorch#3360), MXFP8 consolidation (pytorch#3473), graph_trainer DTensor fix (pytorch#3480), graph_trainer test skips (pytorch#3432), two CI migrations (pytorch#3464, pytorch#3479). None touch ezpz. Live 2N smoke deferred to Aurora: the project .venv/bin/python symlinks at an Aurora-only Spack hash (python-3.12.12-5zo3wzv) that Sunspot doesn't have (Sunspot equivalent is the nvje3vk hash). Smoke per the journal's "always smoke after GroupedExperts touches" lesson should run on Aurora. Also: updated ~/.ezpz/utils.sh from bit.ly canonical (now exposes unified ezpz_setup; backup at utils.sh-20260602-065437).
Migrate the two remaining
linux.aws.h100.8integration tests to the OSDC (ARC) H100 runners (mt-l-bx86iamx-176-1800-h100-8), following the same pattern as #3464, which migratedintegration_test_8gpu_h100.yaml.Workflows migrated
.github/workflows/integration_test_8gpu_graph_trainer_h100.yaml.github/workflows/integration_test_8gpu_rl_h100.yamlChanges (both files)
set-matrix.yamlwithrunner-cuda: mt-l-bx86iamx-176-1800-h100-8andis-experimental: true(CUDA-only, no ROCm) — matching the other experiment workflows (integration_test_4gpu_rl,8gpu_torchft,8gpu_transformers_modeling_backend).linux_job_v2.yml→linux_job_v3.yml..ci/dockertree hash thatset-matrix.yamlreturns, instead of the bare public image name.${{ matrix.index-url }}and clearPIP_EXTRA_INDEX_URLso the in-cluster cpu pypi-cache can't supply a+cputorch build (FA3'stest/cu130index in the RL workflow is preserved as-is).sudo mkdir/chownfor the artifacts dir (the v3 container user uid matches the OSDC runner); fix thepermissions:block indentation.Behavior note
As with the sibling experiment workflows, the CUDA job runs on push to
main, on the cron schedule, and on PRsynchronizewhile the relevant ciflow label (ciflow/h100.8/ciflow/rl) is present. The barelabeledevent itself produces an empty matrix (a property of the sharedset-matrix.yaml+is-experimentalpath), so a subsequent push triggers the actual run.Motivation
linux.aws.h100.8capacity is being consolidated onto OSDC/ARC H100 runners; this finishes the migration started in #3464.