Commit 065fb58
authored
Remove PyTorch and Pyro-PPL from workflows (#689)
* Remove PyTorch and Pyro-PPL from workflows
- Remove torch, torchvision, torchaudio installation from all workflows
- Remove pyro-ppl installation from all workflows
- Update step names from 'Install JAX, Numpyro, PyTorch' to 'Install JAX and Numpyro'
- Disable build cache in ci.yml for full test run
- Keep JAX and NumPyro installations
* Fix JAX CUDA installation to use cuda12_pip instead of cuda12-local
Changes jax[cuda12-local] to jax[cuda12_pip] to avoid cuDNN version
compatibility issues. The cuda12_pip variant includes compatible
CUDA and cuDNN libraries bundled with JAX, preventing runtime errors
from mismatched local CUDA installations.
Fixes cuDNN 9.10.0 backward-compatibility error.
* Update RunsOn AMI to latest CUDA/cuDNN image
Updates the quantecon_ubuntu2404 AMI from ami-09baf66e396fa7cfd
to ami-0edec81935264b6d3 which includes the latest CUDA and cuDNN
libraries for improved compatibility with JAX.
* Use cuda12-local for JAX installation across all workflows
Changes all workflows to use jax[cuda12-local] to leverage the CUDA
and cuDNN libraries pre-installed in the new AMI (ami-0edec81935264b6d3).
This is faster than cuda12_pip and uses the system libraries.
Also removes version pin (==0.6.2) from cache.yml and publish.yml
to make all workflows consistent.
* Update JAX to use cuda13-local for CUDA 13 support
Changes all workflows from cuda12-local to cuda13-local to match
the CUDA 13 installation in the new AMI (ami-0edec81935264b6d3).
* Update JAX installation to use cuda13 (recommended syntax)
Changes from 'jax[cuda13-local]' to 'jax[cuda13]' following the
official JAX documentation for CUDA 13 support. Also uses -U flag
instead of --upgrade for consistency with JAX docs.
* Move nvidia-smi check before JAX installation in ci.yml
* Update runs-on.yml with region and use AMI ID directly in ci.yml
* Rename image to quantecon_lecture_build to avoid cache issues
* Revert image name back to quantecon_ubuntu2404
* Re-enable build cache
* Revert instance name back to quantecon_ubuntu24041 parent de4fd8b commit 065fb58
3 files changed
+12
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
0 commit comments