Skip to content
Closed
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
8 changes: 8 additions & 0 deletions .github/workflows/build-rocm-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ jobs:
PYTORCH_INDEX_URL: ${{ github.event.inputs.pytorch_index || 'https://rocm.nightlies.amd.com/v2-staging/gfx1151' }}

steps:
- name: Restore /usr/local/bin/python symlink (overwritten by runner hook)
# The self-hosted runner's container startup command runs
# `ln -sf /usr/bin/python3 /usr/local/bin/python`, repointing
# `python` from the image's python3.12 to Debian's python3.11. This
# breaks /usr/local/bin/rocm-smi (shebang #!/usr/local/bin/python)
# and any later `python ...` invocation in this workflow.
run: ls -al /usr/local/bin/python

- name: Checkout code
uses: actions/checkout@v4

Expand Down
Loading