add windows installation tutorial
This commit is contained in:
@@ -31,16 +31,47 @@ Simply start ComfyUI and drag the example [workflow.json](./assets/workflow.json
|
||||
|
||||
启动 ComfyUI 并拖入示例 [workflow.json](./assets/workflow.json) 即可。
|
||||
|
||||
## Windows 指南
|
||||
|
||||
Windows 除了需要参照上面的配置教程,还需要额外配置 MSVC:
|
||||
|
||||
首先是 nvcc 安装(确保 VIRTUAL_ENV/bin/nvcc 存在):
|
||||
|
||||
```
|
||||
conda install cuda-nvcc -c conda-forge
|
||||
```
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
根据自己系统选择 Windows 10 SDK / Windows 11 SDK.
|
||||
|
||||
**注意:不要从 Installer 点击启动 terminal**
|
||||
|
||||
进入 `C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build` 目录,
|
||||
右击进入 terminal,注意要用 CMD 不要 powershell。
|
||||
|
||||
启动 native x64 target x64 的编译环境变量(兼容环境下 nvcc 编译会报错):
|
||||
|
||||
```
|
||||
vcvars64.bat
|
||||
```
|
||||
|
||||

|
||||
|
||||
编译完成,成功启动。
|
||||
|
||||
## FAQ 常见错误
|
||||
|
||||
> OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
|
||||
>
|
||||
> 解决方法:`conda install -c conda-forge cudatoolkit-dev`。
|
||||
> 参照:https://github.com/conda/conda/issues/7757
|
||||
|
||||
> subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.
|
||||
>
|
||||
> 解决办法:仅在 Windows 下出现,可能需要配置一下 MSVC 编译器。
|
||||
> 解决办法:仅在 Windows 下出现,根据 [Windows 配置教程](#Windows-指南)
|
||||
|
||||
## Node 节点
|
||||
|
||||
@@ -68,6 +99,10 @@ OOTDiffusion 本体依赖于 `diffusers==0.24.0` 实现,所以假如有其他
|
||||
|
||||
## 更新日志 Release Note
|
||||
|
||||
2024-03-01:
|
||||
|
||||
添加 Windows 安装教程
|
||||
|
||||
2024-02-25:
|
||||
|
||||
移除 git lfs 下载教程,提供 Load OOTDiffusion from Hub 节点
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 248 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 295 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 141 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 203 KiB |
Reference in New Issue
Block a user