Skip to content

Commit fa6ce7b

Browse files
committed
Remove PyTorch and Pyro-PPL, switch to GitHub-hosted runners with CPU-only JAX
1 parent 0d564d4 commit fa6ce7b

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
type: string
1111
jobs:
1212
preview:
13-
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/disk=large"
13+
runs-on: ubuntu-latest
1414
env:
1515
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
1616
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
@@ -28,17 +28,12 @@ jobs:
2828
python-version: "3.13"
2929
environment-file: environment.yml
3030
activate-environment: quantecon
31-
- name: Install JAX, Numpyro, PyTorch
31+
- name: Install JAX and Numpyro (CPU-only)
3232
shell: bash -l {0}
3333
run: |
34-
# pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
35-
# pip install pyro-ppl
36-
pip install "jax[cuda12-local]==0.6.2"
37-
pip install numpyro pyro-ppl
34+
pip install -U jax
35+
pip install numpyro
3836
python scripts/test-jax-install.py
39-
- name: Check nvidia Drivers
40-
shell: bash -l {0}
41-
run: nvidia-smi
4237
- name: Display Conda Environment Versions
4338
shell: bash -l {0}
4439
run: conda list

0 commit comments

Comments
 (0)