« ComfyUI » : différence entre les versions
De Le Wiki de Lug
Autres actions
| (14 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 10 : | Ligne 10 : | ||
Install from <nowiki>https://</nowiki>github.com/comfyanonymous/ComfyUI to /root/comfy/ComfyUI? [y/N]: '''y''' | Install from <nowiki>https://</nowiki>github.com/comfyanonymous/ComfyUI to /root/comfy/ComfyUI? [y/N]: '''y''' | ||
{{ | {{Méta bandeau | ||
| | | niveau = information | ||
| | | icône = loupe | ||
| | | texte = Si ComfyUI signale une incompatibilité de version avec <code>huggingface-hub</code>, installer une version compatible avec Transformers : <code>pip install "huggingface-hub>=1.5.0,<2.0"</code>. | ||
}} | }} | ||
| Ligne 24 : | Ligne 24 : | ||
== Exemple de model == | == Exemple de model == | ||
=== [https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF Qwen-Image-2.1-Uncensored-GGUF] === | === Text-to-image === | ||
==== [https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF Qwen-Image-2.1-Uncensored-GGUF] ==== | |||
# apt install python3.13-dev | |||
# source /opt/comfy-venv/bin/activate | |||
# hf download abenzerps/Qwen-Image-2.1-Uncensored-GGUF qwen-image-2.1-UC-Q4_K_M.gguf --local-dir /root/comfy/ComfyUI/models/diffusion_models | # hf download abenzerps/Qwen-Image-2.1-Uncensored-GGUF qwen-image-2.1-UC-Q4_K_M.gguf --local-dir /root/comfy/ComfyUI/models/diffusion_models | ||
# hf download Comfy-Org/Qwen-Image-2.1 \ | |||
vae/qwen_image_2.1_vae_bf16.safetensors \ | |||
--local-dir /root/comfy/ComfyUI/models/vae | |||
# hf download Comfy-Org/Qwen-Image-2.1 \ | |||
text_encoders/qwen3vl_8b_int8_convrot.safetensors \ | |||
--local-dir /root/comfy/ComfyUI/models/text_encoders | |||
# cd /root/comfy/ComfyUI/custom_nodes | |||
# git clone <nowiki>https://</nowiki>github.com/rgthree/rgthree-comfy.git | |||
[https://raw.githubusercontent.com/foprc/qwen-image-2.1-comfyui-workflow/master/workflows/qwen_image_2_1_Q8_0_t2i.json?utm_source=chatgpt.com workflow] | |||
Dernière version du 5 octobre 2026 à 06:15
Installation
Debian
# apt update && apt upgrade # python3 -m venv /opt/comfy-venv # source /opt/comfy-venv/bin/activate # pip install -U pip # pip install comfy-cli # comfy install
Install from https://github.com/comfyanonymous/ComfyUI to /root/comfy/ComfyUI? [y/N]: y
Configuration
Support GGUF
# source /opt/comfy-venv/bin/activate # cd /root/comfy/ComfyUI # git clone https://github.com/leejet/ComfyUI-GGUF.git custom_nodes/ComfyUI-GGUF # pip install -r custom_nodes/ComfyUI-GGUF/requirements.txt
Exemple de model
Text-to-image
# apt install python3.13-dev
# source /opt/comfy-venv/bin/activate # hf download abenzerps/Qwen-Image-2.1-Uncensored-GGUF qwen-image-2.1-UC-Q4_K_M.gguf --local-dir /root/comfy/ComfyUI/models/diffusion_models
# hf download Comfy-Org/Qwen-Image-2.1 \ vae/qwen_image_2.1_vae_bf16.safetensors \ --local-dir /root/comfy/ComfyUI/models/vae
# hf download Comfy-Org/Qwen-Image-2.1 \ text_encoders/qwen3vl_8b_int8_convrot.safetensors \ --local-dir /root/comfy/ComfyUI/models/text_encoders
# cd /root/comfy/ComfyUI/custom_nodes # git clone https://github.com/rgthree/rgthree-comfy.git
workflow