Skip to content

Commit

Permalink
MAINT: Upgrade docker to -b (sphinx-reredirects, latest theme) (#379)
Browse files Browse the repository at this point in the history
* MAINT: Upgrade docker to -b (sphinx-reredirects, latest theme)

* update env

* fix link to pym.sample
  • Loading branch information
mmcky authored Dec 18, 2023
1 parent 5342d3c commit dc4fe83
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
needs: deploy-runner
runs-on: [self-hosted, cml-gpu]
container:
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-b
options: --gpus all
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
needs: deploy-runner
runs-on: [self-hosted, cml-gpu]
container:
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-b
options: --gpus all
steps:
- uses: actions/checkout@v3
Expand All @@ -34,9 +34,6 @@ jobs:
- name: nvidia Drivers
shell: bash -l {0}
run: nvidia-smi
- name: Install sphinx-reredirects
shell: bash -l {0}
run: pip install sphinx-reredirects
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: deploy-runner
runs-on: [self-hosted, cml-gpu]
container:
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-b
options: --gpus all
steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ dependencies:
- pip:
- jupyter-book==0.15.1
- docutils==0.17.1
- quantecon-book-theme==0.6.0
- quantecon-book-theme==0.7.0
- sphinx-reredirects==0.1.3
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx-exercise==0.4.1
Expand Down
2 changes: 1 addition & 1 deletion lectures/ar1_bayes.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ with AR1_model:
y_like = pmc.Normal('y_obs', mu=yhat, sigma=sigma, observed=y[1:])
```
[pmc.sample](https://www.pymc.io/projects/docs/en/latest/api/generated/pymc.sample.html?highlight=sample#pymc.sample) by default uses the NUTS samplers to generate samples as shown in the below cell:
[pmc.sample](https://www.pymc.io/projects/docs/en/v5.10.0/api/generated/pymc.sample.html#pymc-sample) by default uses the NUTS samplers to generate samples as shown in the below cell:
```{code-cell} ipython3
:tag: [hide-output]
Expand Down

0 comments on commit dc4fe83

Please sign in to comment.