Skip to content

Commit 9d772b2

Browse files
authored
Update PyTorch base container from 26.02 to 26.03 (#1540)
## Summary Update all PyTorch base container references from `26.02-py3` to `26.03-py3`. Squashed image available at: `docker.io/svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed` ### Files Changed (19) - 14 Dockerfiles in `bionemo-recipes/` (models + recipes) - 3 CI workflow files (`.github/workflows/`) - 1 devcontainer Dockerfile - 1 README Refs: [BIO-289](https://linear.app/nvidia/issue/BIO-289/update-recipes-pytorch-base-container) Signed-off-by: svc-bionemo <267129667+svc-bionemo@users.noreply.github.com> Co-authored-by: svc-bionemo <267129667+svc-bionemo@users.noreply.github.com>
1 parent 91869ec commit 9d772b2

19 files changed

Lines changed: 24 additions & 24 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Uncomment to use the latest TE from the NGC registry for debugging changes with latest TE.
22
# FROM gitlab-master.nvidia.com/dl/transformerengine/transformerengine:main-pytorch-py3-base
3-
FROM nvcr.io/nvidia/pytorch:26.02-py3
3+
FROM nvcr.io/nvidia/pytorch:26.03-py3
44

55
# FIXME: Fix for "No such file or directory: /workspace/TransformerEngine"
66
# Remove once bug has been addressed in the nvidia/pytorch container.

.github/workflows/unit-tests-framework.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ jobs:
232232
)
233233
name: "unit-tests (${{ matrix.pkg.name }})"
234234
container:
235-
image: svcbionemo023/bionemo-framework:pytorch26.02-py3-squashed
235+
image: svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed
236236
options: --shm-size=16G
237237
env:
238238
CI: true
@@ -329,7 +329,7 @@ jobs:
329329
)
330330
name: "slow-tests (${{ matrix.pkg.name }})"
331331
container:
332-
image: svcbionemo023/bionemo-framework:pytorch26.02-py3-squashed
332+
image: svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed
333333
options: --shm-size=16G
334334
env:
335335
CI: true
@@ -405,7 +405,7 @@ jobs:
405405
)
406406
name: "notebook-tests (${{ matrix.pkg.name }})"
407407
container:
408-
image: svcbionemo023/bionemo-framework:pytorch26.02-py3-squashed
408+
image: svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed
409409
options: --shm-size=16G
410410
env:
411411
CI: true

.github/workflows/unit-tests-mbridge-recipes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
map({
114114
dir: .,
115115
name: (. | sub("^bionemo-recipes/"; "")),
116-
image: "svcbionemo023/bionemo-framework:pytorch26.02-py3-squashed"
116+
image: "svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed"
117117
})
118118
')
119119
echo "dirs=$DIRS_WITH_IMAGES" >> $GITHUB_OUTPUT

.github/workflows/unit-tests-recipes.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ jobs:
9595
# Currently, AMPLIFY is the only folder that needs a custom base image, since we have to support both TE and
9696
# xformers-based models for golden value testing. The rest of the models use the default pytorch image.
9797
98-
# This uses a squashed version of the pytorch:26.02-py3 image, generated with `docker-squash
99-
# nvcr.io/nvidia/pytorch:26.02-py3 -t svcbionemo023/bionemo-framework:pytorch26.02-py3-squashed --output
98+
# This uses a squashed version of the pytorch:26.03-py3 image, generated with `docker-squash
99+
# nvcr.io/nvidia/pytorch:26.03-py3 -t svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed --output
100100
# type=registry,compression=zstd,force-compression=true,oci-mediatypes=true,compression-level=15` and pushed
101101
# to the dockerhub registry. Our github actions are able to cache image pulls from dockerhub but not nvcr, so
102102
# hopefully this cuts down slightly on CI time at the expense of having a slightly in-directed image location.
@@ -109,8 +109,8 @@ jobs:
109109
if . == "bionemo-recipes/models/amplify" then
110110
"svcbionemo023/bionemo-framework:amplify-model-devcontainer-082025"
111111
else
112-
# "nvcr.io/nvidia/pytorch:26.02-py3"
113-
"svcbionemo023/bionemo-framework:pytorch26.02-py3-squashed"
112+
# "nvcr.io/nvidia/pytorch:26.03-py3"
113+
"svcbionemo023/bionemo-framework:pytorch26.03-py3-squashed"
114114
end
115115
)
116116
})

bionemo-recipes/models/esm2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvcr.io/nvidia/pytorch:26.02-py3
1+
FROM nvcr.io/nvidia/pytorch:26.03-py3
22
WORKDIR /workspace/bionemo
33
COPY . .
44
RUN --mount=type=cache,target=/root/.cache/pip \

bionemo-recipes/models/geneformer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvcr.io/nvidia/pytorch:26.02-py3
1+
FROM nvcr.io/nvidia/pytorch:26.03-py3
22
WORKDIR /workspace/bionemo
33
COPY . .
44
RUN --mount=type=cache,target=/root/.cache/pip \

bionemo-recipes/models/qwen/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvcr.io/nvidia/pytorch:26.02-py3
1+
FROM nvcr.io/nvidia/pytorch:26.03-py3
22
WORKDIR /workspace/bionemo
33
COPY . .
44
RUN --mount=type=cache,target=/root/.cache/pip \

bionemo-recipes/recipes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ recipes/{recipe_name}/
8585
Your `Dockerfile` should create a complete, reproducible training environment:
8686

8787
```dockerfile
88-
FROM nvcr.io/nvidia/pytorch:26.02-py3
88+
FROM nvcr.io/nvidia/pytorch:26.03-py3
8989

9090
# Install dependencies with caching for faster builds
9191
RUN --mount=type=cache,target=/root/.cache/pip \

bionemo-recipes/recipes/codonfm_native_te/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.4
2-
FROM nvcr.io/nvidia/pytorch:26.02-py3
2+
FROM nvcr.io/nvidia/pytorch:26.03-py3
33

44
RUN --mount=type=cache,target=/root/.cache/pip \
55
--mount=type=bind,source=requirements.txt,target=/requirements.txt \

bionemo-recipes/recipes/eden_megatron/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.4
2-
FROM nvcr.io/nvidia/pytorch:26.02-py3
2+
FROM nvcr.io/nvidia/pytorch:26.03-py3
33

44
# uv is pre-installed in the nvcr.io/nvidia/pytorch base image.
55
# If using a base image without uv, uncomment the following line:

0 commit comments

Comments
 (0)