1-Click INSTALL ComfyUI WebUI!
🕑 Added 2024-07-14 16:26:51 +0000 UTCHey everyone! I've created a 1-click installer for the "ComfyUI" (and ComfyUI manager) portable version that a lot of people asked for, that is basically the most complete and powerful Webui for anything related to AI image generation!
The installer of course automates the entire install process for the UI and manager!
Here's how it works:
1. Download the COMFYUI&MANAGER_AUTO_INSTALL.bat
2. Create a new folder on your computer and place the installer inside
3. Launch the installer
4. Choose whether you want to use your CPU to run it (type "A") or if you have an Nvidia GPU (type "B") then press enter
5.????
6. Profit π
Next time you want to launch ComfyUI, just launch the "run_nvidia_gpu.bat" (if you have an NVIDIA GPU) or the "run_cpu.bat" if you choose the CPU optionπ
As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some funπ!
Comments
Alan Carranza
my bro you recommend this model for generating anime-style images? Or is there a better one you've already posted?
Aitrepreneur
Yup :)
Bocodemy
5. β¦ 6. Profit πππ€£ Awesome. From Southpark? The underpants gnomes?
CharterisX
Update: I just installed python and git myself. Comfy and Manager installs fine after that.
CharterisX
Tried the debug version, both with and without VS on. CMD window opens; says installing GIT, coloured text 'opening webstream' with counter...runs for about 20 secs and exits.
Aitrepreneur
It's not a "correct" or "incorrect" version, it's an alternate version for people who have trouble running the normal version but I guess I could add it as well indeed, I just don't want people to be confused by 2 different installers
CharterisX
Sure. But you have the incorrect version published above? Why not publish a correct version?
Christopher Moonlight Productions
The answer was PowerShell. It was blocking it. Got it solved. Cheers.
Aitrepreneur
It's a bat file you know, you can edit the file and look inside...
CharterisX
Sounds legit...
CharterisX
Thanks. Put it up here on Patreon please. I don't download stuff off external sites
Aitrepreneur
Try this one: https://we.tl/t-UAog8cOG12
CharterisX
Installer doesn't work as above. I run it, it asks the NVIDIA question and exits. Sorry it's a fail.
Aitrepreneur
Try this one: https://we.tl/t-UAog8cOG12 Make sure you don't have any antivirus running as well
Christopher Moonlight Productions
As soon as I select B and run it, the CMD window vanishes.
Virtamouse
Error occurred when executing UNETLoader: module 'torch' has no attribute 'float8_e4m3fn' File "J:\0StableDiffusionNew\comfyui\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "J:\0StableDiffusionNew\comfyui\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "J:\0StableDiffusionNew\comfyui\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "J:\0StableDiffusionNew\comfyui\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\nodes.py", line 831, in load_unet dtype = torch.float8_e4m3fn
Marco Santos
yes it has thankyou
Aitrepreneur
try this: Go to your ComfyUI-Manager folder located in ComfyUI/custom_nodes/ComfyUI-Manager Then open the config.ini file and modify the line: security_level = normal To security_level = normal- Save the file then relaunch comfyui.
Marco Santos
hi, install worked, but when i try to use the manager to install a model it returns "forbidden" and the terminal returns this: ERROR: To use this action, a security_level of `middle or below` is required. Please contact the administrator. i found a config.ini file that had this parameter and i changed it but nothing seems to have changed. hope you can help
Aitrepreneur
when that happens it's usually because of a bad initial python install, it can't find your python installation so it downloads the python installer. For this comfyui install it should be fine since it's a portable version but for other ai tools this might be an issue since you need to have the correct python version correctly installed (3.10.11 for example correctly added to path)
Eyes_Wide_Shut
My Hero!!! ComfyUI is anything but Comfy.. This will make the process a little bit easier.
ExZod
I run it, it says it's installing python, then the entire bat closes after it downloads python. I ran the installer, python is installed... and thats it Running it in cmd, it reports: failed to download python installer... even though it did download python installer edit: I deleted the python, 7zip and git parts (since I have them) in the bat and it proceeded
Aitrepreneur
you can simply use the already existing template for runpod here: https://runpod.io/gsc?template=ya6013lj5a&ref=w18gds2n
JCS
Can I start a RunPod GPU and just copy this in the 'workspace' folder?
Justin
Closing it and running it again the error didn't happen a second time.
Justin
RuntimeError: cannot schedule new futures after interpreter shutdown
Mr. Dee
Works like a charm:) Thanks!
Aitrepreneur
It's possible but since i don't have an amd I can't test that myself Unfortunately so I can't tell
Dudeness83
Is there an AMD option?