Skip to content

Commit

Permalink
a good one but better
Browse files Browse the repository at this point in the history
  • Loading branch information
calderjo committed Aug 16, 2024
1 parent 176f75e commit 456615b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN conda config --add channels nvidia && \
conda install -c conda-forge mamba curl libcurl && \
# Base image channel order: conda-forge (highest priority), defaults.
# End state: rapidsai (highest priority), nvidia, conda-forge, defaults.
mamba install -y cartopy imagemagick pyproj "shapely<2" mkl && \
mamba install -y mkl cartopy imagemagick pyproj "shapely<2" && \
/tmp/clean-layer.sh

# Install spacy
Expand All @@ -119,6 +119,7 @@ RUN pip install spacy && \
{{ end}}

# Install PyTorch
# b/356397043: magma-cuda121 is the latest version
{{ if eq .Accelerator "gpu" }}
COPY --from=torch_whl /tmp/whl/*.whl /tmp/torch/
RUN mamba install -y -c pytorch magma-cuda121 && \
Expand Down Expand Up @@ -465,8 +466,8 @@ RUN pip install bleach \
widgetsnbextension \
# Require pyarrow newer than https://github.com/advisories/GHSA-5wvp-7f3h-6wmm
{{ if eq .Accelerator "gpu" }} pyarrow {{ else }} "pyarrow>=14.0.1" {{ end }} \
feather-format && \
pip install --no-deps fastai fastcore fastdownload
feather-format \
fastai

RUN python -m spacy download en_core_web_sm && python -m spacy download en_core_web_lg && \
apt-get update && apt-get install -y ffmpeg && \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pipeline {
}
stage('jaxlib') {
options {
timeout(time: 500, unit: 'MINUTES')
timeout(time: 300, unit: 'MINUTES')
}
steps {
sh '''#!/bin/bash
Expand Down

0 comments on commit 456615b

Please sign in to comment.