Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/run_tests_against_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ permissions:
jobs:
run:
runs-on: ${{ inputs.cloud_runner != '' && inputs.cloud_runner || (inputs.device_type == 'rocm' && fromJson('["self-hosted","linux-x86-64-4gpu-amd"]')) || fromJson(format('["self-hosted", "{0}", "{1}"]', inputs.device_type, inputs.device_name)) }}
timeout-minutes: ${{ inputs.device_type == 'rocm' && 90 || 360 }}
container:
image: ${{ inputs.device_type == 'rocm' && 'ghcr.io/rocm/jax-base-ubu24.rocm720:latest' || format('gcr.io/tpu-prod-env-multipod/{0}', inputs.base_image) }}
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utils/install_te_rocm_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def try_download_from_te_rocm_wheels(repo: str, arch: str) -> bool:
rel = json.loads(r.read().decode("utf-8"))

assets = rel.get("assets", [])
name_re = re.compile(rf"^transformer_engine-.*-{arch}-cp312-cp312-linux_x86_64\.whl$")
# Wheels published by this repo use the selector format: `-1.<arch>-...` (e.g. `-1.mi355-...`).
name_re = re.compile(rf"^transformer_engine-.*-1\.{arch}-cp312-cp312-linux_x86_64\.whl$")
hit = next((a for a in assets if name_re.match(a.get("name", ""))), None)
if not hit:
return False
Expand Down
Loading