Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
pip install "jax[cuda13]==0.11.0"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
shell: bash -l {0}
run: |
# On a freshly launched runner the first matplotlib import scans the
# system fonts from a cold disk, which can take over 5 s, and
# matplotlib then prints "Matplotlib is building the font cache; this
# may take a moment." into the output of the first notebook that
# imports it. Build the cache here, so no page depends on that timing:
# the font manager builds it on import, with no backend involved.
python -c "import matplotlib.font_manager"
- name: Check nvidia drivers
shell: bash -l {0}
run: |
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:
pip install "jax[cuda13]==0.11.0"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
shell: bash -l {0}
run: |
# On a freshly launched runner the first matplotlib import scans the
# system fonts from a cold disk, which can take over 5 s, and
# matplotlib then prints "Matplotlib is building the font cache; this
# may take a moment." into the output of the first notebook that
# imports it. Build the cache here, so no page depends on that timing:
# the font manager builds it on import, with no backend involved.
python -c "import matplotlib.font_manager"
- name: Install latex dependencies
run: |
sudo apt-get -qq update
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ jobs:
pip install "jax[cuda13]==0.11.0"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
shell: bash -l {0}
run: |
# On a freshly launched runner the first matplotlib import scans the
# system fonts from a cold disk, which can take over 5 s, and
# matplotlib then prints "Matplotlib is building the font cache; this
# may take a moment." into the output of the first notebook that
# imports it. Build the cache here, so no page depends on that timing:
# the font manager builds it on import, with no backend involved.
python -c "import matplotlib.font_manager"
- name: Check nvidia drivers
shell: bash -l {0}
run: |
Expand Down
Loading