Skip to content

Commit 456615b

Browse files
committed
a good one but better
1 parent 176f75e commit 456615b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile.tmpl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ RUN conda config --add channels nvidia && \
102102
conda install -c conda-forge mamba curl libcurl && \
103103
# Base image channel order: conda-forge (highest priority), defaults.
104104
# End state: rapidsai (highest priority), nvidia, conda-forge, defaults.
105-
mamba install -y cartopy imagemagick pyproj "shapely<2" mkl && \
105+
mamba install -y mkl cartopy imagemagick pyproj "shapely<2" && \
106106
/tmp/clean-layer.sh
107107

108108
# Install spacy
@@ -119,6 +119,7 @@ RUN pip install spacy && \
119119
{{ end}}
120120

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

471472
RUN python -m spacy download en_core_web_sm && python -m spacy download en_core_web_lg && \
472473
apt-get update && apt-get install -y ffmpeg && \

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pipeline {
6363
}
6464
stage('jaxlib') {
6565
options {
66-
timeout(time: 500, unit: 'MINUTES')
66+
timeout(time: 300, unit: 'MINUTES')
6767
}
6868
steps {
6969
sh '''#!/bin/bash

0 commit comments

Comments
 (0)