Skip to content

[CI] Migrate GraphTrainer & RL H100 integration tests to OSDC (ARC) - #3479

Merged
huydhn merged 7 commits into
mainfrom
huydo/osdc-h100-experiment-workflows
Jun 2, 2026
Merged

huydhn merged 7 commits into
mainfrom
huydo/osdc-h100-experiment-workflows

Conversation

@huydhn

@huydhn huydhn commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Migrate the two remaining linux.aws.h100.8 integration tests to the OSDC (ARC) H100 runners (mt-l-bx86iamx-176-1800-h100-8), following the same pattern as #3464, which migrated integration_test_8gpu_h100.yaml.

Workflows migrated

  • .github/workflows/integration_test_8gpu_graph_trainer_h100.yaml
  • .github/workflows/integration_test_8gpu_rl_h100.yaml

Changes (both files)

  • 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 (integration_test_4gpu_rl, 8gpu_torchft, 8gpu_transformers_modeling_backend).
  • 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 (FA3's test/cu130 index in the RL workflow is preserved as-is).
  • Drop sudo mkdir/chown for the artifacts dir (the v3 container user uid matches the OSDC runner); fix the permissions: block indentation.

Behavior note

As with the sibling experiment workflows, the CUDA job runs on push to main, on the cron schedule, and on PR synchronize while the relevant ciflow label (ciflow/h100.8 / ciflow/rl) is present. The bare labeled event itself produces an empty matrix (a property of the shared set-matrix.yaml + is-experimental path), so a subsequent push triggers the actual run.

Motivation

linux.aws.h100.8 capacity is being consolidated onto OSDC/ARC H100 runners; this finishes the migration started in #3464.

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.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 1, 2026
@huydhn huydhn added the ciflow/h100.8 Trigger H100.8 CI label Jun 1, 2026
@huydhn
huydhn marked this pull request as ready for review June 1, 2026 22:21
@huydhn
huydhn force-pushed the huydo/osdc-h100-experiment-workflows branch from a3a509e to 38cb3c2 Compare June 1, 2026 22:50

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@SherlockNoMad

Copy link
Copy Markdown
Contributor

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.

huydhn added 6 commits June 1, 2026 20:27
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/*

@huydhn huydhn Jun 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@huydhn
huydhn merged commit 04a3098 into main Jun 2, 2026
22 of 26 checks passed
@huydhn

huydhn commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

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.

The failed GraphTrainer tests FYI https://github.com/pytorch/torchtitan/actions/runs/26802927029/job/79013498849

saforem2 added a commit to saforem2/torchtitan that referenced this pull request Jun 2, 2026
…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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/h100.8 Trigger H100.8 CI ciflow/rl ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants