Merge pull request #5880 from sd3ntato/make-image-parametric

make base image parametric.

Former-commit-id: 07e5088851b3a175ad9cfc83268159eac4334031
This commit is contained in:
hoshi-hiyouga 2024-11-02 20:26:14 +08:00 committed by GitHub
commit e7b11e4fdb

View File

@ -1,6 +1,7 @@
# Use the NVIDIA official image with PyTorch 2.3.0
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-02.html
FROM nvcr.io/nvidia/pytorch:24.02-py3
# Default use the NVIDIA official image with PyTorch 2.3.0
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/index.html
ARG BASE_IMAGE=nvcr.io/nvidia/pytorch:24.02-py3
FROM ${BASE_IMAGE}
# Define environments
ENV MAX_JOBS=4