Repository navigation
[CI] Migrate H100 8-GPU integration test to OSDC (ARC) - #3464
Merged
Merged
Conversation
huydhn
force-pushed
the
huydo/osdc-h100-integration
branch
4 times, most recently
from
May 30, 2026 06:36
a8dc89b to
04652e3
Compare
huydhn
force-pushed
the
huydo/osdc-h100-integration
branch
from
May 30, 2026 07:10
04652e3 to
54e491b
Compare
huydhn
marked this pull request as ready for review
May 30, 2026 07:14
Split the H100 integration workflow into two jobs: - build-test (CUDA H100): linux_job_v3 on ARC (mt-l-bx86iamx-176-1800-h100-8), running inside the private-ECR torchtitan image; nightly cu130 torch/torchao routed through the in-cluster pypi-cache (works under --force-reinstall, where cache-enforcer blocks pypi.org/pythonhosted). - build-test-rocm: kept on linux_job_v2 / EC2 (ROCm is partner hardware, no ARC equivalent), behavior unchanged. Stops using the shared set-matrix.yaml here so the g5 8-GPU consumers are untouched. Draft: ECR image hash rotates with .ci/docker, the CUDA/ROCm per-event gating is simplified, and in-container sudo was dropped — all flagged.
huydhn
force-pushed
the
huydo/osdc-h100-integration
branch
from
May 30, 2026 07:15
54e491b to
5890c22
Compare
huydhn
force-pushed
the
huydo/osdc-h100-integration
branch
from
May 30, 2026 08:17
5c046f8 to
2c687ed
Compare
… the shell:bash fix
huydhn
force-pushed
the
huydo/osdc-h100-integration
branch
from
May 30, 2026 08:33
2c687ed to
fc9f778
Compare
The OSDC/ARC runner owns $GITHUB_WORKSPACE as uid 1001; aligning ci-user to 1001 lets linux_job_v3's Clean workspace rm/recreate it without sudo.
The image's ci-user uid no longer matches the EC2 host uid, so the mounted workspace isn't writable by the container; point coverage's data file and xml report at RUNNER_TEMP instead of cwd.
RUNNER_TEMP is host-owned (uid mismatch with ci-user) and not writable from the container; /tmp is world-writable, so point COVERAGE_FILE and the xml report there.
huydhn
added a commit
to pytorch/test-infra
that referenced
this pull request
Jun 1, 2026
The `Clean workspace` (`set -euxo pipefail`) and `Prepare artifacts for upload` (`[[ … ]]`) steps had no explicit `shell:`, so in a container job they run under the default `sh`. On images where `/bin/sh` is **dash** (Ubuntu/Debian), `set -o pipefail` fails with `Illegal option -o pipefail`; RHEL-family images (`/bin/sh` → bash) masked it. Pinning `shell: bash` on those steps makes them independent of the container's `/bin/sh`. Repro: a v3 job on an Ubuntu-based image fails at Clean workspace ([torchtitan#3464](pytorch/torchtitan#3464)); the same workflow on `almalinux-builder` passes.
malfet
reviewed
Jun 1, 2026
| "${TORCH_SPEC}" --index-url ${{ matrix.index-url }} | ||
|
|
||
| # Pre-install torch's pure-python deps from the in-cluster pypi-cache for speed. | ||
| python -m pip install filelock typing-extensions "setuptools<82" sympy networkx jinja2 fsspec numpy |
There was a problem hiding this comment.
As I've mentioned in another PR, those shenanigans makes me really uncomfortable. Is there a high-pri issue that one is tracking somewhere to make those workarounds unnecessary
Contributor
Author
There was a problem hiding this comment.
malfet
approved these changes
Jun 1, 2026
tianyu-l
approved these changes
Jun 1, 2026
huydhn
added a commit
that referenced
this pull request
Jun 2, 2026
…3479) 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. --------- Signed-off-by: Huy Do <[email protected]>
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).
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.
Migrate the H100 8-GPU integration test to OSDC (ARC) runners now that capacity is available.
build-testruns onlinux_job_v3(mt-l-bx86iamx-176-1800-h100-8), inside the torchtitan CI image from ECR, tagged with the.ci/dockerhash thatset-matrix.yamlnow returns.