1
0
Fork 0

add comfyui efficiency nodes and some optimizations

This commit is contained in:
Massaki Archambault 2024-08-27 23:22:51 -04:00
parent 09d96bdc06
commit c7d15d2827
6 changed files with 11 additions and 3 deletions

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "ComfyUI/custom_nodes/efficiency-nodes-comfyui"]
path = ComfyUI/custom_nodes/efficiency-nodes-comfyui
url = https://github.com/jags111/efficiency-nodes-comfyui
[submodule "ComfyUI/custom_nodes/ComfyUI-Manager"]
path = ComfyUI/custom_nodes/ComfyUI-Manager
url = https://github.com/ltdrdata/ComfyUI-Manager.git

View File

@ -25,6 +25,7 @@ RUN apt update \
USER 1000
RUN python${PYTHON_VERSION} -m venv /app/env \
&& /app/env/bin/pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm${ROCM_VERSION} \
&& /app/env/bin/pip install --no-cache-dir simpleeval \
&& /app/env/bin/pip install --no-cache-dir -r requirements.txt
VOLUME ["/app/models/loras", "/app/models/checkpoints", "/app/models/vae", "/app/models/embeddings"]
@ -32,5 +33,5 @@ VOLUME ["/app/outputs"]
EXPOSE 8188
ENV PYTORCH_CUDA_ALLOC_CONF="garbage_collection_threshold:0.9,max_split_size_mb:512"
ENTRYPOINT ["/app/env/bin/python", "main.py", "--listen"]
ENTRYPOINT ["/app/env/bin/python", "main.py", "--listen", "--use-split-cross-attention"]
CMD []

View File

@ -1,2 +0,0 @@
*
!.gitignore

@ -0,0 +1 @@
Subproject commit 7d8a279a12efae1daac797934cf6fbf03c15f1f2

@ -0,0 +1 @@
Subproject commit 3ead4afd120833f3bffdefeca0d6545df8051798

View File

@ -34,6 +34,7 @@ services:
context: ./ComfyUI
args:
<<: *buid_args
command: ["--fp16-vae"]
restart: unless-stopped
environment:
- HSA_OVERRIDE_GFX_VERSION=11.0.0