Skip to content

Commit 0025aab

Browse files
authored
Merge pull request #42 from mmartial/pytorch270
20250424
2 parents 74b5f4d + c262441 commit 0025aab

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DOCKER_CMD=docker
55
DOCKER_PRE="NVIDIA_VISIBLE_DEVICES=all"
66
DOCKER_BUILD_ARGS=
77

8-
COMFYUI_NVIDIA_DOCKER_VERSION=20250418
8+
COMFYUI_NVIDIA_DOCKER_VERSION=20250424
99

1010
COMFYUI_CONTAINER_NAME=comfyui-nvidia-docker
1111

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ The base container size is usually over 8GB, as new releases are now based on Nv
6161

6262
Multiple images are available. Each image's name contains a tag reflecting its core components. For example, `ubuntu24_cuda12.5.1` is based on Ubuntu 24.04 with CUDA 12.5.1. Depending on the version of the Nvidia drivers installed, the Docker container runtime will only support a certain version of CUDA. For example, Driver 550 supports up to CUDA 12.4 and will not be able to run the CUDA 12.4.1 or 12.5.1 versions. The recently released 570 driver supports up to CUDA 12.8 and RTX 50xx GPUs.
6363

64+
For more details on CUDA/GPU support, see https://en.wikipedia.org/wiki/CUDA#GPUs_supported
65+
6466
Use the `nvidia-smi` command on your system to obtain the `CUDA Version:` entry. It will show you the maximum CUDA version supported by your driver. If the printout shows `CUDA Version: 12.6`, your driver will support up to the `cuda12.5.1` version of the container (below the maximum CUDA version supported by the driver) but not `cuda12.8`. With this information, check for a usable `tag` in the table below.
6567

6668
The `latest` tag will point to a most up-to-date build (i.e., the most recent OS+CUDA).
@@ -72,7 +74,7 @@ If this version is incompatible with your container runtime, please see the list
7274
| ubuntu22_cuda12.4.1-latest | | |
7375
| ubuntu24_cuda12.5.1-latest | | was `latest` up to `20250320` release |
7476
| ubuntu24_cuda12.6.3-latest | `latest` | `latest` as of `20250413` release |
75-
| ubuntu24_cuda12.8-latest | | RTX 50xx beta |
77+
| ubuntu24_cuda12.8-latest | | needed for Blackwell (inc RTX 50xx) hardware |
7678

7779
For more details on driver capabilities and how to update those, please see [Setting up NVIDIA docker & podman (Ubuntu 24.04)](https://www.gkr.one/blg-20240523-u24-nvidia-docker-podman).
7880

@@ -681,7 +683,7 @@ After using ComfyUI, `Ctrl+C` in the `podman` terminal will terminate the WebUI.
681683

682684
### 5.8.2. RTX 5080/5090 support
683685

684-
To use the RTX 5080/5090 GPUs, you will need to make sure to install NVIDIA driver 570 or above. This driver brings support for the RTX 50xx series of GPUs and CUDA 12.8. PyTorch is also installed from the `nightly` version (until the official release of 2.7.0 with CUDA 12.8 support).
686+
To use the RTX 5080/5090 GPUs, you will need to make sure to install NVIDIA driver 570 or above. This driver brings support for the RTX 50xx series of GPUs and CUDA 12.8. On 20250424, PyTorch 2.7.0 was released with support for CUDA 12.8.
685687

686688
### 5.8.3. Specifying alternate folder location (ex: --output_directory) with BASE_DIRECTORY
687689

@@ -785,6 +787,7 @@ Once you are confident that you have migrated content from the old container's f
785787

786788
# 7. Changelog
787789

790+
- 20250424: No RTX50xx special case needed: PyTorch 2.7.0 is available for CUDA 12.8, only re-releasing this image
788791
- 20250418: use ENTRYPOINT to run the init script: replaced previous command line arguments to support command line override + Added content in `README.md` to explain the use of `comfytoo` user & a section on reinstallation without losing our existing models folder.
789792
- 20250413: Made CUDA 12.6.3 the new `latest` tag + Added support for `/userscripts_dir` and `/comfyui-nvidia_config.sh`
790793
- 20250320: Made CUDA 12.6.3 image which will be the new `latest` as of the next release + Added checks for directory ownership + added `FORCE_CHOWN` + added libEGL/Vulkan ICD loaders and libraries (per https://github.com/mmartial/ComfyUI-Nvidia-Docker/issues/26) including extension to Windows usage section related to this addition

init.bash

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ if [ ! -f $it ]; then error_exit "$it missing, exiting"; fi
127127
BUILD_BASE=`cat $it`
128128
BUILD_BASE_FILE=$it
129129
BUILD_BASE_SPECIAL="ubuntu22_cuda12.3.2" # this is a special value: when this feature was introduced, will be used to mark exisitng venv if the marker is not present
130-
BUILD_BASE_RTX50xx="ubuntu24_cuda12.8"
131130
echo "-- BUILD_BASE: \"${BUILD_BASE}\""
132131
if test -z ${BUILD_BASE}; then error_exit "Empty BUILD_BASE variable"; fi
133132

@@ -381,13 +380,13 @@ echo -n " python bin: "; which python3
381380
echo -n " pip bin: "; which pip3
382381
echo -n " git bin: "; which git
383382

384-
# CUDA 12.8 special case -- now 2.7.0 is available in testing
385-
if [[ "${BUILD_BASE}" == "${BUILD_BASE_RTX50xx}"* ]]; then
386-
# https://github.com/pytorch/pytorch/issues/149044
387-
echo ""; echo "!! This is a special case, we are going to install the requirements for RTX 50xx series GPUs"
388-
echo " -- Installation CUDA 12.8 Torch 2.7.0 from test"
389-
pip3 install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu128
390-
fi
383+
# 20250424: No more CUDA 12.8 special case needed: PyTorch 2.7.0 is available
384+
#if [[ "${BUILD_BASE}" == "${BUILD_BASE_RTX50xx}"* ]]; then
385+
# # https://github.com/pytorch/pytorch/issues/149044
386+
# echo ""; echo "!! This is a special case, we are going to install the requirements for RTX 50xx series GPUs"
387+
# echo " -- Installation CUDA 12.8 Torch 2.7.0 from test"
388+
# pip3 install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu128
389+
#fi
391390

392391
# Install ComfyUI's requirements
393392
cd ComfyUI

0 commit comments

Comments
 (0)