Skip to content

Commit d69f531

Browse files
committed
bump: update base Ubuntu versions for dockers
1 parent ab7b118 commit d69f531

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

dockers/base-cuda/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
ARG UBUNTU_VERSION=22.04
16-
ARG CUDA_VERSION=11.7.1
15+
ARG UBUNTU_VERSION=24.04
16+
ARG CUDA_VERSION=12.6.3
1717

1818

1919
FROM nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
2020

2121
ARG PYTHON_VERSION=3.10
22-
ARG PYTORCH_VERSION=2.1
22+
ARG PYTORCH_VERSION=2.7
2323
ARG MAX_ALLOWED_NCCL=2.22.3
2424

2525
SHELL ["/bin/bash", "-c"]

dockers/nvidia/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
ARG PYTORCH_VERSION=22.09
15+
ARG PYTORCH_VERSION=25.04
1616

1717
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes
1818
FROM nvcr.io/nvidia/pytorch:${PYTORCH_VERSION}-py3
@@ -44,7 +44,6 @@ RUN \
4444
cp -r pytorch-lightning/*examples . && \
4545

4646
# Installations \
47-
pip install "Pillow>=8.2, !=8.3.0" "cryptography>=3.4" "py>=1.10" --no-cache-dir && \
4847
PACKAGE_NAME=pytorch pip install './lightning[extra,loggers,strategies]' --no-cache-dir && \
4948
rm -rf pytorch-lightning && \
5049
pip list

dockers/release/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
ARG PYTHON_VERSION=3.10
16-
ARG PYTORCH_VERSION=2.0
17-
ARG CUDA_VERSION=11.8.0
16+
ARG PYTORCH_VERSION=2.7
17+
ARG CUDA_VERSION=12.6.3
1818

1919
FROM pytorchlightning/pytorch_lightning:base-cuda-py${PYTHON_VERSION}-torch${PYTORCH_VERSION}-cuda${CUDA_VERSION}
2020

0 commit comments

Comments
 (0)