https://github.com/usini/comfydoc
https://github.com/usini/comfydoc
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/usini/comfydoc
- Owner: usini
- Created: 2024-11-29T13:24:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-29T14:04:07.000Z (over 1 year ago)
- Last Synced: 2024-11-29T14:33:23.985Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
## Installation ComfyUI-3D-Pack
https://github.com/MrForExample/ComfyUI-3D-Pack
# CUDA 12.4

## Prérequis
* Visual Studio Community 2022
* Compilation C++
## Installation
https://developer.nvidia.com/cuda-12-4-0-download-archive?target_os=Windows&target_arch=x86_64&target_version=11&target_type=exe_local
## Modifier Variable d'environnement
* Variables systèmes
* Path
````
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\extras\CUPTI\lib64
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin
````
# Python
Attention : Try fix a tendance à annuler les modifications!!
## Utiliser le python Comfyui
```
cd ComfyUI_windows_portable\python_embeded
```
# TORCH 2.5.1cu124
https://pytorch.org/get-started/locally/
```
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
```
```
import torch
torch.__version__
```
# Paquets manquants
## KIUI
https://pypi.org/project/kiui/
```
python -m pip install kiui
```
## onnxruntime (nécessaire pour rembg)
https://onnxruntime.ai/docs/install/
```
python -m pip install onnxruntime-gpu
```
## rembg
https://github.com/danielgatis/rembg
```
python -m pip install rembg[gpu]
```
# Méchant NINJA!
https://github.com/ninja-build/ninja/releases
RuntimeError: Ninja is required to load C++ extensions
Copier dans un dossier accessible à PATH
```
ninja --version
```
# TORCH_CUDA_ARCH_LIST is not set
https://developer.nvidia.com/cuda-gpus
Geforce RTX 2070 - 7.5
GeForce RTX 4060 TI - 8.9
Ajouter dans le script bat
```
set TORCH_CUDA_ARCH_LIST=8.9
```
# Plotly
https://plotly.com/python/
Juste un warning mais bon...
```
python -m pip install plotly
```