Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Manual Install Method from my last Youtube Video: https://youtu.be/zLGthxUe2jc
- LOCAL INSTALL:
- Download Comfyui portable version here:https://github.com/comfyanonymous/ComfyUI
- Inside the ComfyUI_windows_portable\ComfyUI\custom_nodes:
- git clone https://github.com/ltdrdata/ComfyUI-Manager.git
- Inside the models/unet folder, download one of the GGUF model:
- https://huggingface.co/city96/FLUX.1-dev-gguf/tree/main
- Inside the models/clip folder, download one of the GGUF text encoder model:
- https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/tree/main
- or/and one of the original Text encoders: https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main
- As well as the brand new ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors text encoder:
- https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14
- Inside the models/upscale_models folder, download the upscaler model:
- https://openmodeldb.info/models/4x-ClearRealityV1
- Inside the models/xlabs/controlnet folder (if it doesn't exist yet you can just create it), download the 3 V3 controlnet models:
- https://huggingface.co/XLabs-AI/flux-controlnet-collections/tree/main
- Inside the models/vae folder, download the vae model:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/ae.safetensors
- IN ADDITION FOR THE VERSION 2 OF THE WORKFLOW WE NEED A BIT MORE STUFF...
- REACTOR/INSIGHTFACE INSTALLATION:
- One of the very first things we need to do once comfyui is extracted and the extraction is verified, we need to go to the ComfyUI_windows_portable\python_embeded folder and do a few things:
- First, inside that folder is a python.exe file, if you run it, it should give you the python version used for this virtual python env, it's usually something like python 11 but you never know, when I run the python.exe file, I get this message:
- "Python 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] on win32
- Type "help", "copyright", "credits" or "license" for more information.
- >>> "
- where you can see that this python version is 3.11.8, so from there, we need the script to be able to read the python version correctly and depending on the version that is written it needs to download the appropriate file inside the python_embeded folder.
- If the python version if 3.9, this file needs to be downloaded inside the python_embeded folder: https://huggingface.co/Aitrepreneur/FLX/resolve/main/insightface-0.7.3-cp39-cp39-win_amd64.whl?download=true
- If the python version if 3.10, this file needs to be downloaded inside the python_embeded folder:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/insightface-0.7.3-cp310-cp310-win_amd64.whl?download=true
- If the python version if 3.11, this file needs to be downloaded inside the python_embeded folder:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/insightface-0.7.3-cp311-cp311-win_amd64.whl?download=true
- If the python version if 3.12, this file needs to be downloaded inside the python_embeded folder:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/insightface-0.7.3-cp312-cp312-win_amd64.whl?download=true
- Then once this is done, you need to run the following commands:
- python.exe -m pip install --use-pep517 facexlib
- python.exe -m pip install git+https://github.com/rodjjo/filterpy.git
- python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl
- don't forget to replace here "insightface-0.7.3-cp311-cp311-win_amd64.whl" by the correct file name version that you donwloaded
- then continue with the rest of the models.
- Also, next,
- go inside the ComfyUI_windows_portable\ComfyUI\custom_nodes and:
- git clone https://github.com/balazik/ComfyUI-PuLID-Flux.git
- then go to the ComfyUI_windows_portable\ComfyUI\models
- and create a folder called "pulid" and download inside this file:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/pulid_flux_v0.9.0.safetensors?download=true
- also inside the models folder git clone this repo from huggingface:
- git lfs install
- git clone https://huggingface.co/Aitrepreneur/insightface
- this should create a "insightface" folder with a bunch of models inside
- then clone this repo from huggingface:
- git lfs install
- git clone https://huggingface.co/Aitrepreneur/CogVideo
- then cd into the CogVideo\CogVideoX-5b-I2V\transformer folder and dl those 3 files inside:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/diffusion_pytorch_model-00001-of-00003.safetensors?download=true
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/diffusion_pytorch_model-00002-of-00003.safetensors?download=true
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/diffusion_pytorch_model-00003-of-00003.safetensors?download=true
- also inside the models/clip folder, download these files inside:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/longclip-L.pt?download=true
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/t5xxl_fp8_e4m3fn.safetensors?download=true
- then in checkpoints dl this model:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/sd_xl_base_1.0_0.9vae.safetensors?download=true
- then in controlnet dl this model:
- https://huggingface.co/Aitrepreneur/FLX/resolve/main/diffusion_pytorch_model_promax.safetensors?download=true
- RUNPOD INSTALL:
- Create a new account: https://bit.ly/runpodAi
- Choose A 24gb Vram GPU and choose the aitrepreneur/comfyui template.
- Click on the port 8888 and do the same thing as with the local install and place all the correct models into the correct folder using the following command:
- curl -L -o “full name of the file” “URL”
- Ex: curl -L -o "flux1-schnell.sft" "https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.sft?download=true"
- Also use the command: tail -f comfyui.log
- inside the workspace/logs to get the real time logs
Add Comment
Please, Sign In to add comment