Skip to content

Commit 24343d1

Browse files
use comfy 0.3.40 and torch 2.7.1 (#57)
1 parent ef48521 commit 24343d1

File tree

10 files changed

+18
-17
lines changed

10 files changed

+18
-17
lines changed

.github/workflows/build-docker-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121

2222
- name: Build Docker images for 50xx
2323
working-directory: ./docker
24-
run: ./build-api-images 0.3.38 2.7.0 12.8
24+
run: ./build-api-images 0.3.40 2.7.1 12.8
2525

2626
- name: Build Docker images for pre-50xx
2727
working-directory: ./docker
28-
run: ./build-api-images 0.3.38 2.7.0 12.6
28+
run: ./build-api-images 0.3.40 2.7.1 12.6
2929

3030

3131

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
comfyui:
3-
image: ghcr.io/saladtechnologies/comfyui-api:comfy0.3.38-test-image
3+
image: ghcr.io/saladtechnologies/comfyui-api:comfy0.3.40-test-image
44
volumes:
55
- type: bind
66
source: ./bin
@@ -13,7 +13,7 @@ services:
1313
context: ./test/docker-image
1414
dockerfile: Dockerfile
1515
args:
16-
- comfy_version=0.3.38
16+
- comfy_version=0.3.40
1717
ports:
1818
- "3000:3000"
1919
- "8188:8188"

docker/api.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG base=runtime
2-
ARG comfy_version=0.3.38
3-
ARG pytorch_version=2.7.0
2+
ARG comfy_version=0.3.40
3+
ARG pytorch_version=2.7.1
44
ARG cuda_version=12.6
55

66
FROM ghcr.io/saladtechnologies/comfyui-api:comfy${comfy_version}-torch${pytorch_version}-cuda${cuda_version}-${base}

docker/build-api-images

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
usage="Usage: $0 [comfy_version] [torch_version] [cuda_version] [api_version]"
44

5-
comfy_version=${1:-0.3.38}
6-
torch_version=${2:-2.7.0}
5+
comfy_version=${1:-0.3.40}
6+
torch_version=${2:-2.7.1}
77
cuda_version=${3:-12.6}
88

99
current_api_version=$(cat ../package.json | jq -r '.version')

docker/build-comfy-base-images

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/bash
22

3-
comfy_version=${1:-0.3.38}
4-
torch_version=${2:-2.7.0}
3+
comfy_version=${1:-0.3.40}
4+
torch_version=${2:-2.7.1}
55
cuda_version=${3:-12.6}
66
bases=("devel" "runtime")
77

docker/comfyui.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG base=runtime
2-
ARG pytorch_version=2.7.0
2+
ARG pytorch_version=2.7.1
33
ARG cuda_version=12.6
44

55
FROM pytorch/pytorch:${pytorch_version}-cuda${cuda_version}-cudnn9-${base}
@@ -24,7 +24,7 @@ RUN uv pip install --no-cache-dir --system comfy-cli
2424

2525
WORKDIR /opt
2626

27-
ARG comfy_version=0.3.38
27+
ARG comfy_version=0.3.40
2828

2929
RUN git clone --depth 1 --branch v${comfy_version} https://github.com/comfyanonymous/ComfyUI.git
3030

docker/push-comfy-base-images

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
usage="Usage: $0 [comfy_version] [torch_version] [cuda_version]"
44

5-
comfy_version=${1:-0.3.38}
6-
torch_version=${2:-2.7.0}
5+
comfy_version=${1:-0.3.40}
6+
torch_version=${2:-2.7.1}
77
cuda_version=${3:-12.6}
88

99
bases=("devel" "runtime")

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/src/index.js",
66
"scripts": {
77
"test": "mocha --require ts-node/register --timeout=0 test/*.spec.ts",
8+
"quick-test": "mocha --require ts-node/register --timeout=0 test/sd1.5.spec.ts",
89
"build": "tsc",
910
"build-binary": "./build-binary",
1011
"postinstall": "npm install --cpu=wasm32 sharp"

test/docker-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG comfy_version=0.3.38
2-
FROM comfy-testing:latest
1+
ARG comfy_version=0.3.40
2+
FROM ghcr.io/saladtechnologies/comfyui-api:comfy${comfy_version}-torch2.7.1-cuda12.6-devel
33

44
RUN apt-get update && apt-get install -y \
55
libgl1 \

test/docker-image/Dockerfile.smoketest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/saladtechnologies/comfyui-api:comfy0.3.38-torch2.7.0-cuda12.6-runtime
1+
FROM ghcr.io/saladtechnologies/comfyui-api:comfy0.3.40-torch2.7.1-cuda12.6-runtime
22

33
COPY test/docker-image/dreamshaper_8.safetensors $MODEL_DIR/checkpoints/dreamshaper_8.safetensors
44

0 commit comments

Comments
 (0)