File tree Expand file tree Collapse file tree 1 file changed +28
-6
lines changed Expand file tree Collapse file tree 1 file changed +28
-6
lines changed Original file line number Diff line number Diff line change 66jobs :
77 publish :
88 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') 
9-  runs-on : quantecon-gpu 
10-  container :
11-  image : ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-10-py312-b 
12-  options : --gpus all 
9+  runs-on : " runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" 
1310 steps :
1411 - name : Checkout 
1512 uses : actions/checkout@v4 
16-  #  Check nvidia-smi
17-  - name : Check nvidia drivers 
13+  - name : Setup Anaconda 
14+  uses : conda-incubator/setup-miniconda@v3 
15+  with :
16+  auto-update-conda : true 
17+  auto-activate-base : true 
18+  miniconda-version : ' latest' 
19+  python-version : " 3.12" 
20+  environment-file : environment.yml 
21+  activate-environment : quantecon 
22+  - name : Install jax (and install checks for GPU) 
1823 shell : bash -l {0} 
1924 run : | 
25+  pip install -U "jax[cuda12]" 
26+  python --version 
27+  python scripts/test-jax-install.py 
2028 nvidia-smi 
29+ name : Install latex dependencies 
30+  shell : bash -l {0} 
31+  run : | 
32+  sudo apt-get -qq update 
33+  sudo apt-get install -y \ 
34+  texlive-latex-recommended \ 
35+  texlive-latex-extra \ 
36+  texlive-fonts-recommended \ 
37+  texlive-fonts-extra \ 
38+  texlive-xetex \ 
39+  latexmk \ 
40+  xindy \ 
41+  dvipng \ 
42+  cm-super  
2143name : Display Conda Environment Versions 
2244 shell : bash -l {0} 
2345 run : conda list 
                         You can’t perform that action at this time. 
           
                  
0 commit comments