Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/179639
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 5 Unrelated Failures, 10 Unclassified FailuresAs of commit ca2b04a with merge base 59ded35 ( NEW FAILURES - The following jobs have failed:
UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
To add the ciflow label This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows. |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
f446c96 to
75df5c0
Compare
|
|
jithunnair-amd
left a comment
There was a problem hiding this comment.
@ethanwee1 Approving conditional on running builds and tests successfully in CI.
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Install the full multi-arch TheRock ROCm wheel set for rocm-nightly so the image is no longer tied to a single GPU family index.
Set the rocm-nightly Docker PYTORCH_ROCM_ARCH list to match TheRock multi-arch device support so the image is built against the same targets installed by device-all.
Restore the rocm-nightly Docker build to gfx942 only after the expanded TheRock multi-arch PYTORCH_ROCM_ARCH list caused the source build to exceed the job timeout.
Remove stale /opt/rocm image defaults and redundant TheRock wheel env exports so rocm-nightly discovers ROCm through the generated wheel environment.
|
Successfully rebased |
f371916 to
d5b08b3
Compare
Temporarily pin the TheRock ROCm nightly wheel install to the June 12 multi-arch index while keeping gfx942 and gfx950 builds enabled.
Source the ROCm environment and pass CMAKE_PREFIX_PATH so rocm-origami can find HIP when building in the nightly Docker image.
Use the rocm-preview CI tag and Docker image name while keeping the underlying ROCm nightly wheel installation behavior unchanged.
Route the rocm-preview Docker image through ROCM_VERSION=preview so TheRock wheel handling no longer depends on the nightly version tag.
|
Unknown label
|
Allow the rocm-preview workflow to be triggered by the existing ciflow/rocm-nightly label until the new preview label config is available on main.
Resolve the rocm-preview workflow rename conflict by keeping preview job names while preserving the existing rocm-nightly trigger and current main workflow inputs.
|
Replaced by #188429 |
…14 (#188429) Replacement for #179639 to retrigger CI from a fresh branch with the same ROCm preview changes. Switch the ROCm preview Docker image from ROCm tarball installs to the multi-arch TheRock wheel index. This keeps the source build targeted to `gfx942` and `gfx950` while installing ROCm from `https://rocm.nightlies.amd.com/whl-multi-arch/` with the `device-all` extra, so the image gets the complete multi-arch ROCm wheel set without compiling PyTorch for every TheRock target. The TheRock wheel install is temporarily pinned to `7.14.0a20260712` while the rolling wheel index is unstable. ROCm environment exports were audited and trimmed for the TheRock wheel install path. The reduced `/etc/rocm_env.sh` keeps only the paths needed for PyTorch to discover and link against the wheel-provided ROCm SDK. Removed from the TheRock `/etc/rocm_env.sh` exports: - `ROCM_SOURCE_DIR` - `ROCM_BIN` - `ROCM_CMAKE` - `CMAKE_PREFIX_PATH` - `HIP_DEVICE_LIB_PATH` - `ROCM_DEVICE_LIB_PATH` - `MAGMA_HOME` Also removed stale image-level `/opt/rocm` defaults from `ubuntu-rocm/Dockerfile` so `rocm-preview` does not inherit tarball-era values after switching to wheels: - `ROCM_PATH` - `ROCM_HOME` - `ROCM_SOURCE_DIR` - `ROCM_BIN` - `ROCM_CMAKE` - `ROCM_DEVICE_LIB_PATH` - `HIP_DEVICE_LIB_PATH` - `MAGMA_HOME` - `/opt/rocm` additions to `PATH` - `/opt/rocm/lib` additions to `LD_LIBRARY_PATH` Validation: - Rebuilt the ROCm Docker image locally through the TheRock wheel install and `rocm-origami==0.0.2` install path. - Confirmed `rocm-origami` builds and installs successfully when sourcing `/etc/rocm_env.sh` and passing `CMAKE_PREFIX_PATH=${ROCM_PATH}` to the pip build environment. - Previously ran a full PyTorch ROCm source build with the TheRock wheel environment; CMake found HIP/ROCm from the wheel install path. - trunk.yml run succeeded: https://github.com/pytorch/pytorch/actions/runs/31154362487/job/92960121104 `ROCM_VERSION=7.14` - rocm-preview.yml run succeeded: https://github.com/pytorch/pytorch/actions/runs/31154364177/job/92810055863 `ROCM_VERSION=7.15.0a20260712` Pull Request resolved: #188429 Approved by: https://github.com/ScottTodd, https://github.com/jeffdaily Co-authored-by: Jithun Nair <[email protected]> Co-authored-by: Cursor <[email protected]>
…14 (pytorch#188429) Replacement for pytorch#179639 to retrigger CI from a fresh branch with the same ROCm preview changes. Switch the ROCm preview Docker image from ROCm tarball installs to the multi-arch TheRock wheel index. This keeps the source build targeted to `gfx942` and `gfx950` while installing ROCm from `https://rocm.nightlies.amd.com/whl-multi-arch/` with the `device-all` extra, so the image gets the complete multi-arch ROCm wheel set without compiling PyTorch for every TheRock target. The TheRock wheel install is temporarily pinned to `7.14.0a20260712` while the rolling wheel index is unstable. ROCm environment exports were audited and trimmed for the TheRock wheel install path. The reduced `/etc/rocm_env.sh` keeps only the paths needed for PyTorch to discover and link against the wheel-provided ROCm SDK. Removed from the TheRock `/etc/rocm_env.sh` exports: - `ROCM_SOURCE_DIR` - `ROCM_BIN` - `ROCM_CMAKE` - `CMAKE_PREFIX_PATH` - `HIP_DEVICE_LIB_PATH` - `ROCM_DEVICE_LIB_PATH` - `MAGMA_HOME` Also removed stale image-level `/opt/rocm` defaults from `ubuntu-rocm/Dockerfile` so `rocm-preview` does not inherit tarball-era values after switching to wheels: - `ROCM_PATH` - `ROCM_HOME` - `ROCM_SOURCE_DIR` - `ROCM_BIN` - `ROCM_CMAKE` - `ROCM_DEVICE_LIB_PATH` - `HIP_DEVICE_LIB_PATH` - `MAGMA_HOME` - `/opt/rocm` additions to `PATH` - `/opt/rocm/lib` additions to `LD_LIBRARY_PATH` Validation: - Rebuilt the ROCm Docker image locally through the TheRock wheel install and `rocm-origami==0.0.2` install path. - Confirmed `rocm-origami` builds and installs successfully when sourcing `/etc/rocm_env.sh` and passing `CMAKE_PREFIX_PATH=${ROCM_PATH}` to the pip build environment. - Previously ran a full PyTorch ROCm source build with the TheRock wheel environment; CMake found HIP/ROCm from the wheel install path. - trunk.yml run succeeded: https://github.com/pytorch/pytorch/actions/runs/31154362487/job/92960121104 `ROCM_VERSION=7.14` - rocm-preview.yml run succeeded: https://github.com/pytorch/pytorch/actions/runs/31154364177/job/92810055863 `ROCM_VERSION=7.15.0a20260712` Pull Request resolved: pytorch#188429 Approved by: https://github.com/ScottTodd, https://github.com/jeffdaily Co-authored-by: Jithun Nair <[email protected]> Co-authored-by: Cursor <[email protected]>
Switch rocm-nightly from TheRock tarball installs to the multi-arch TheRock wheel index.
This keeps the source build targeted to gfx942 while installing ROCm from https://rocm.nightlies.amd.com/whl-staging-multi-arch/ with the device-all extra, so the image gets the complete multi-arch ROCm wheel set without compiling PyTorch for every architecture.
The earlier 8h build timeout from expanding PYTORCH_ROCM_ARCH to every TheRock target is fixed by reverting PYTORCH_ROCM_ARCH back to gfx942; the latest rocm-nightly build passed in about 1h51m.
ROCm environment exports were audited and trimmed for the TheRock wheel install path. The reduced
/etc/rocm_env.shkeeps only the paths needed for PyTorch to discover and link against the wheel-provided ROCm SDK.Removed from the TheRock nightly
/etc/rocm_env.shexports:ROCM_SOURCE_DIRROCM_BINROCM_CMAKECMAKE_PREFIX_PATHHIP_DEVICE_LIB_PATHROCM_DEVICE_LIB_PATHMAGMA_HOMEAlso removed the stale image-level
/opt/rocmdefaults fromubuntu-rocm/Dockerfileso rocm-nightly does not inherit tarball-era values after switching to wheels:ROCM_PATHROCM_HOMEROCM_SOURCE_DIRROCM_BINROCM_CMAKEROCM_DEVICE_LIB_PATHHIP_DEVICE_LIB_PATHMAGMA_HOME/opt/rocmadditions toPATH/opt/rocm/libadditions toLD_LIBRARY_PATHValidation:
.ci/pytorch/build.shusingBUILD_ENVIRONMENT=linux-noble-rocm-nightly-py3.12-gfx942,PYTORCH_ROCM_ARCH=gfx942, andUSE_ROCM=1.gfx942.amdgpu-archdetection and a non-fatalkineto not foundCMake warning.https://github.com/ROCm/pytorch/actions/runs/26055178200
Parity report
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang