Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Nov 2, 2024
1 parent efaffca commit 8e1acf5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
14 changes: 8 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ that download model files on the first run (may cause freezing for users with ba
== How to Use

1. Only NVIDIA GPUs are supported, preferably with the latest drivers installed.
** AMD GPUs may __possibly__ work with ZLUDA after installing the HIP SDK, and this requires modifying startup parameters, among other things.

2. Download the package files from the release page:
** https://github.com/YanWenKun/ComfyUI-Windows-Portable/releases
Expand All @@ -49,7 +48,8 @@ that download model files on the first run (may cause freezing for users with ba
** If you don't want the browser to open automatically, add `--disable-auto-launch` to the startup arguments.

** If you're using 40/Ada series or newer GPU, you can try adding `--fast` to the startup arguments.
https://github.com/comfyanonymous/ComfyUI/commit/9953f22fce0ba899da0676a0b374e5d1f72bf259[It has magic].
It has
https://github.com/comfyanonymous/ComfyUI/commit/9953f22fce0ba899da0676a0b374e5d1f72bf259[magic].


5. After starting, the program will automatically open a browser, or you can visit: http://localhost:8188/
Expand All @@ -59,13 +59,15 @@ https://github.com/comfyanonymous/ComfyUI/commit/9953f22fce0ba899da0676a0b374e5d
Few steps before running Comfy3D:

1. Install
https://visualstudio.microsoft.com/downloads/?q=build+tools[Visual Studio Build Tools 2022]
with "Desktop development with C++" workload.
Its compiler will be needed (for some JIT code).
https://visualstudio.microsoft.com/downloads/?q=build+tools[Visual Studio Build Tools 2022].
In the installer window, in "Individual components" tab, search and check "C++ core features".
Its C++ compiler will be needed (for some JIT code).

2. Install
https://developer.nvidia.com/cuda-12-4-1-download-archive?target_os=Windows&target_arch=x86_64&target_version=11&target_type=exe_network[CUDA Toolkit 12.4.1].
Only link:docs/cuda-toolkit-install-selection.webp[Libraries and Compilers] are needed.
Only
https://github.com/YanWenKun/ComfyUI-Windows-Portable/raw/refs/heads/main/docs/cuda-toolkit-install-selection.webp[Libraries and Compilers]
are needed.

3. Edit `run_nvidia_gpu.bat`, reduce `TORCH_CUDA_ARCH_LIST` according to your
https://github.com/ashawkey/stable-dreamfusion/issues/360#issuecomment-2292510049[GPU arch],
Expand Down
10 changes: 6 additions & 4 deletions README.zh.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ https://github.com/ltdrdata/ComfyUI-Impact-Pack[Impact Pack]
## 如何使用

1. 仅支持 NVIDIA 显卡,最好先装好最新驱动
** AMD 显卡在安装 HIP SDK 后 __也许__ 能用 ZLUDA 启动,需要修改启动参数等
2. 在发布页面下载整合包:
** https://github.com/YanWenKun/ComfyUI-Windows-Portable/releases
Expand All @@ -57,13 +56,16 @@ https://github.com/comfyanonymous/ComfyUI/commit/9953f22fce0ba899da0676a0b374e5d
== 运行 3D-Pack 前置条件

1. 安装
https://visualstudio.microsoft.com/downloads/?q=build+tools[Visual Studio 2022 生成工具]
(选择安装“桌面C++开发”),其他版本 VS + CPP 亦可。
https://visualstudio.microsoft.com/downloads/?q=build+tools[Visual Studio 2022 生成工具],
安装时选择“单个组件”,搜索并勾选“C++ 核心功能”,其他不需要。
如已安装其他版本 VS + CPP,可以略过此步骤。
一些 PyTorch 的 CPP 扩展需要 JIT 编译。

2. 安装
https://developer.nvidia.com/cuda-12-4-1-download-archive?target_os=Windows&target_arch=x86_64&target_version=11&target_type=exe_network[CUDA Toolkit 12.4.1],
只需安装 link:docs/cuda-toolkit-install-selection.webp[Libraries 与 Compilers]。
只需安装
https://github.com/YanWenKun/ComfyUI-Windows-Portable/raw/refs/heads/main/docs/cuda-toolkit-install-selection.webp[Libraries 与 Compilers]

3. 编辑 `run_nvidia_gpu.bat`,根据你的
https://github.com/ashawkey/stable-dreamfusion/issues/360#issuecomment-2292510049[GPU 架构]
Expand Down
2 changes: 1 addition & 1 deletion attachments/中文脚本/run_cn.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set TORCH_CUDA_ARCH_LIST=5.2+PTX;6.0;6.1+PTX;7.5;8.0;8.6;8.9+PTX
@REM 该行命令会配置 PATH 环境变量。
set PATH=%PATH%;%~dp0\python_embeded\Scripts

@REM 该行命令会使 .pyc 文件集中保存在一处
@REM 该行命令会使 .pyc 缓存文件集中保存在一处
set PYTHONPYCACHEPREFIX=%~dp0\pycache

@REM 该命令会复制 u2net.onnx 到用户主目录下,以免启动时还需下载。
Expand Down

0 comments on commit 8e1acf5

Please sign in to comment.