Skip to content

Commit 3a69e03

Browse files
committed
Fix jax wheel pattern in pytest workflows
The jax* pattern incorrectly installs jax_cuda_pjrt wheels when installing jax wheels.
1 parent 7e6f4b5 commit 3a69e03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pytest_cpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
102102
# Download the "jax" wheel from GCS if inputs.install-jax-current-commit is not set to 1
103103
if [[ "${{ inputs.install-jax-current-commit }}" != 1 ]]; then
104-
gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/jax*py3*none*.whl $(pwd)/dist/
104+
gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/jax-*py3*none*.whl $(pwd)/dist/
105105
fi
106106
- name: Download jaxlib wheel from GCS (Windows runs)
107107
id: download-wheel-artifacts-w
@@ -117,7 +117,7 @@ jobs:
117117
118118
# Download the "jax" wheel from GCS if inputs.install-jax-current-commit is not set to 1
119119
if not "${{ inputs.install-jax-current-commit }}"=="1" (
120-
gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/jax*py3*none*.whl dist/
120+
gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/jax-*py3*none*.whl dist/
121121
)
122122
- name: Skip the test run if the wheel artifacts were not downloaded successfully
123123
if: steps.download-wheel-artifacts-nw.outcome == 'failure' || steps.download-wheel-artifacts-w.outcome == 'failure'

.github/workflows/pytest_cuda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
101101
# Download the "jax" wheel from GCS if inputs.install-jax-current-commit is not set to 1
102102
if [[ "${{ inputs.install-jax-current-commit }}" != 1 ]]; then
103-
gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/jax*py3*none*.whl $(pwd)/dist/
103+
gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/jax-*py3*none*.whl $(pwd)/dist/
104104
fi
105105
- name: Skip the test run if the wheel artifacts were not downloaded successfully
106106
if: steps.download-wheel-artifacts.outcome == 'failure'

0 commit comments

Comments
 (0)