Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Jan 8, 2025
1 parent 339038f commit 5a93831
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 5 deletions.
1 change: 1 addition & 0 deletions comfy3d-pt25/builder-scripts/pak5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ slangtorch
soundfile
spandrel
tokenizers
toml
torchsde
torchtyping
tqdm
Expand Down
8 changes: 7 additions & 1 deletion cu121-megapak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,13 @@ RUN --mount=type=cache,target=/root/.cache/pip \

RUN --mount=type=cache,target=/root/.cache/pip \
pip install \
-r /builder-scripts/pak7.txt \
-r /builder-scripts/pak7.txt

# Make sure the deps fit the needs for ComfyUI & Manager
RUN --mount=type=cache,target=/root/.cache/pip \
pip install \
-r https://github.com/comfyanonymous/ComfyUI/raw/refs/heads/master/requirements.txt \
-r https://github.com/ltdrdata/ComfyUI-Manager/raw/refs/heads/main/requirements.txt \
&& pip list

################################################################################
Expand Down
1 change: 1 addition & 0 deletions cu121-megapak/builder-scripts/pak5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ soundfile
spandrel
svglib
tokenizers
toml
torchsde
tqdm
transparent-background
Expand Down
8 changes: 7 additions & 1 deletion cu124-cn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,13 @@ RUN --mount=type=cache,target=/root/.cache/pip \

RUN --mount=type=cache,target=/root/.cache/pip \
pip install \
-r /builder-scripts/pak7.txt \
-r /builder-scripts/pak7.txt

# 确保依赖项匹配 ComfyUI & Manager
RUN --mount=type=cache,target=/root/.cache/pip \
pip install \
-r https://github.com/comfyanonymous/ComfyUI/raw/refs/heads/master/requirements.txt \
-r https://github.com/ltdrdata/ComfyUI-Manager/raw/refs/heads/main/requirements.txt \
&& pip list

################################################################################
Expand Down
4 changes: 2 additions & 2 deletions cu124-cn/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ https://podman-desktop.io/docs/podman/gpu[容器内 GPU 访问] 。
* 以下命令均使用了一次性容器 (`--rm`) 来保持环境整洁、配置清晰。
* 不建议 WSL2 用户把文件存放在 NTFS 分区内,跨文件系统互访性能极低,且会权限混乱。
* 注意命令中的 `dockerproxy.cn` 为 Docker Hub 镜像站点地址。如果站点失效,可替换为备用地址,
https://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867ea[参考列表]
https://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867ea[国内可用 Docker 镜像源汇总]
.使用 Docker
Expand Down Expand Up @@ -175,7 +175,7 @@ docker build . -t yanwk/comfyui-boot:cu124-cn -f Dockerfile-cn

* Docker Hub 镜像仓库
** dockerproxy.cn
** https://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867ea[参考列表]
** https://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867ea[国内可用 Docker 镜像源汇总]
** 替换为 `docker.io` 即为官方源地址
* PyPI
Expand Down
1 change: 1 addition & 0 deletions cu124-cn/builder-scripts/pak5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ soundfile
spandrel
svglib
tokenizers
toml
torchsde
tqdm
transparent-background
Expand Down
8 changes: 7 additions & 1 deletion cu124-megapak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,13 @@ RUN --mount=type=cache,target=/root/.cache/pip \

RUN --mount=type=cache,target=/root/.cache/pip \
pip install \
-r /builder-scripts/pak7.txt \
-r /builder-scripts/pak7.txt

# Make sure the deps fit the needs for ComfyUI & Manager
RUN --mount=type=cache,target=/root/.cache/pip \
pip install \
-r https://github.com/comfyanonymous/ComfyUI/raw/refs/heads/master/requirements.txt \
-r https://github.com/ltdrdata/ComfyUI-Manager/raw/refs/heads/main/requirements.txt \
&& pip list

################################################################################
Expand Down
1 change: 1 addition & 0 deletions cu124-megapak/builder-scripts/pak5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ soundfile
spandrel
svglib
tokenizers
toml
torchsde
tqdm
transparent-background
Expand Down

0 comments on commit 5a93831

Please sign in to comment.