Skip to content

Commit fd70099

Browse files
fix TE build workflow, add rocm torch dependency to env
1 parent 79eb75b commit fd70099

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build_rocm_transformer_engine_wheel_weekly.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
source .venv/bin/activate
4949
uv pip install -r src/dependencies/requirements/requirements_decoupled_rocm_jax_0_8_2.txt
5050
51+
- name: Install PyTorch ROCm (build-time dep for aiter JIT)
52+
shell: bash
53+
run: |
54+
set -euo pipefail
55+
source .venv/bin/activate
56+
uv pip install torch --index-url https://download.pytorch.org/whl/rocm7.2
57+
5158
- name: Detect ROCm version and Python tag
5259
shell: bash
5360
run: |
@@ -114,7 +121,6 @@ jobs:
114121
export NVTE_USE_ROCM=1
115122
export NVTE_FUSED_ATTN_AOTRITON=0
116123
export NVTE_BUILD_MAX_JOBS=180
117-
#export NVTE_AITER_PREBUILT_BASE_URL=https://compute-artifactory.amd.com:5000/artifactory/rocm-generic-local/te-ci/aiter-prebuilts
118124
119125
echo "=== Building TE wheel for ${SELECTOR} (gfx=${GFX_ARCH}) ==="
120126
pushd TransformerEngine >/dev/null

0 commit comments

Comments
 (0)