The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
Go to file
2025-07-24 22:31:10 +03:00
.ci Document what the fast_fp16_accumulation is in the portable. (#8973) 2025-07-20 01:24:09 -04:00
.github Try to fix line endings workflow. (#9001) 2025-07-22 04:07:51 -04:00
alembic_db Add support for sqlite database (#8444) 2025-06-11 16:43:39 -04:00
api_server Add Load Image Output node (#6790) 2025-02-18 17:53:01 -05:00
app Added parameter required_frontend_version in the /system_stats API response (#8875) 2025-07-24 14:05:54 -04:00
cfz Update cfz_cudnn.toggle.py 2025-06-19 00:14:37 +03:00
comfy Merge branch 'comfyanonymous:master' into master 2025-07-24 22:30:55 +03:00
comfy_api Support for async node functions (#8830) 2025-07-10 14:46:19 -04:00
comfy_api_nodes Update nodes_gemini.py (#8912) 2025-07-14 20:59:35 -04:00
comfy_config Add new fields to the config types (#8507) 2025-06-18 15:12:29 -04:00
comfy_execution Execute async node earlier (#8865) 2025-07-11 12:51:06 -04:00
comfy_extras [Training Node] algo support, grad acc, optional grad ckpt (#9015) 2025-07-23 20:57:27 -04:00
custom_nodes Delete custom_nodes/cfz_checkpoint_loader.py 2025-05-28 02:13:38 +03:00
input LoadLatent and SaveLatent should behave like the LoadImage and SaveImage. 2023-05-18 00:09:12 -04:00
models Update folder paths: "clip" -> "text_encoders" 2024-11-02 15:35:38 -04:00
output Initial commit. 2023-01-16 22:37:14 -05:00
script_examples Allow the prompt request to specify the prompt ID. (#8189) 2025-07-14 14:48:31 -04:00
tests Support for async node functions (#8830) 2025-07-10 14:46:19 -04:00
tests-unit Added parameter required_frontend_version in the /system_stats API response (#8875) 2025-07-24 14:05:54 -04:00
utils Add support for sqlite database (#8444) 2025-06-11 16:43:39 -04:00
.gitattributes Tell github not to count the web directory in language stats. 2024-08-15 13:48:56 -04:00
.gitignore More API Nodes (#7956) 2025-05-06 04:23:00 -04:00
alembic.ini Add support for sqlite database (#8444) 2025-06-11 16:43:39 -04:00
basic-flux-workflow.json Add files via upload 2025-01-07 02:19:30 +03:00
better-flux-workflow.json Add files via upload 2025-01-07 02:19:30 +03:00
cfz_checkpoint_loader.py Add files via upload 2025-05-28 02:14:31 +03:00
CODEOWNERS Remove huchenlei from CODEOWNERS (#8350) 2025-05-30 17:27:52 -04:00
comfyui_version.py ComfyUI version 0.3.45 2025-07-21 14:05:43 -04:00
comfyui-n.bat Update comfyui-n.bat 2025-06-12 16:17:10 +03:00
comfyui.bat update won't need zluda.py to be deleted anymore 2025-06-12 16:16:09 +03:00
comfyui.png Add files via upload 2024-11-21 10:46:38 +03:00
CONTRIBUTING.md Add CONTRIBUTING.md (#3910) 2024-07-01 13:51:00 -04:00
cuda_malloc.py Merge branch 'comfyanonymous:master' into master 2025-07-24 13:59:09 +03:00
deepcache-sample.json Update deepcache-sample.json 2025-02-01 01:59:43 +03:00
execution.py Refactor previous pr. (#8893) 2025-07-13 04:59:17 -04:00
extra_model_paths.yaml.example add 'is_default' to model paths config (#4979) 2024-09-19 08:59:55 -04:00
fix-update.bat Create fix-update.bat 2024-09-14 16:14:34 +03:00
fixforrx580.bat Update fixforrx580.bat 2025-07-10 23:54:16 +03:00
fluxguide.md Update fluxguide.md 2025-01-07 14:02:01 +03:00
folder_paths.py LoRA Trainer: LoRA training node in weight adapter scheme (#8446) 2025-06-13 19:25:59 -04:00
hook_breaker_ac10a0.py Prevent custom nodes from hooking certain functions. (#7825) 2025-04-26 20:52:56 -04:00
install-for-older-amd.bat Update install-for-older-amd.bat 2025-07-10 23:52:54 +03:00
install-n.bat Update install-n.bat 2025-06-26 01:47:50 +03:00
install.bat Update install.bat 2025-07-10 23:50:37 +03:00
latent_preview.py Convert latents_ubyte to 8-bit unsigned int before converting to CPU (#6300) 2025-01-28 08:22:54 -05:00
LICENSE Initial commit. 2023-01-16 22:37:14 -05:00
main.py Add default device argument. (#9023) 2025-07-23 14:20:49 -04:00
new_updater.py Replace print with logging (#6138) 2024-12-20 16:24:55 -05:00
node_helpers.py Add append feature to conditioning_set_values (#8239) 2025-05-22 08:11:13 -04:00
nodes.py Add Moonvalley nodes (#8832) 2025-07-08 08:54:30 -04:00
patchzluda2.bat Update patchzluda2.bat 2025-05-31 16:56:39 +03:00
patchzluda-n.bat Update patchzluda-n.bat 2025-06-05 00:26:50 +03:00
patchzluda.bat Update patchzluda.bat 2025-07-10 23:48:08 +03:00
protocol.py Support for async node functions (#8830) 2025-07-10 14:46:19 -04:00
pyproject.toml ComfyUI version 0.3.45 2025-07-21 14:05:43 -04:00
pytest.ini Execution Model Inversion (#2666) 2024-08-15 11:21:11 -04:00
README.md Update README.md 2025-07-24 22:31:10 +03:00
requirements.txt Update template to 0.1.39 (#8981) 2025-07-20 15:58:35 -04:00
server.py Added parameter required_frontend_version in the /system_stats API response (#8875) 2025-07-24 14:05:54 -04:00
start-tunableop-novram.bat Update start-tunableop-novram.bat 2024-08-30 16:07:10 +03:00
testzluda.py Add files via upload 2025-02-15 17:14:13 +03:00
update.bat Create update.bat 2025-06-12 16:22:29 +03:00

Skip to content Navigation Menu patientx ComfyUI-Zluda

Type / to search Code Issues 23 Pull requests Discussions Security Insights Settings ComfyUI-Zluda / README.md in master

Edit

Preview Indent mode

Spaces Indent size

2 Line wrap mode

Soft wrap Editing README.md file contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

ComfyUI-ZLUDA

Windows-only version of ComfyUI which uses ZLUDA to get better performance with AMD GPUs.

Table of Contents

*** FOR THOSE THAT ARE GETTING TROJAN DETECTIONS IN NCCL.DLL IN ZLUDA FOLDER, in dev's words : " nccl.dll is a dummy file, it does nothing. when one of its functions is called, it will just return "not supported" status. nccl.dll, cufftw.dll are dummy. they are introduced only for compatibility (to run applications that reject to start without them, but rarely or never use them).zluda.exe hijacks windows api and injects some dlls. its behavior can be considered as malicious by some antiviruses, but it does not hurt the user. The antiviruses, including windows defender on my computer, didn't detect them as malicious when I made nightly build. but somehow the nightly build is now detected as virus on my end too. " SO IGNORE THE WARNING AND MAYBE EXCLUDE THE ZLUDA FOLDER FROM DEFENDER.

*** For those who can't seem to follow this readme structure here is install instructions put together neatly : "https://github.com/patientx/ComfyUI-Zluda/issues/188"

What's New?

  • Updated zluda version for old install method and for old amd devices to 3.9.5 (latest) because the newer amd gpu drivers are having problem with old zluda versions. For newer users this wouldn't be a problem but if you already had comfyui-zluda installed (via the older method) and want to re-install the app , please delete everything in : "C:\Users\yourusername\AppData\Local\ZLUDA\ComputeCache" so new zluda can create its database from scratch.
  • Added "cfz-vae-loader" node to cfz folder, it enables changing vae precision on the fly without using "--fp16-vae" etc. on the starting commandline. This is important because while "wan" works faster with fp16 , flux produces black output if fp16 vae is used. So, start comfy normally and add this node to your wan workflow to change it only with that model type.
  • Use update.bat if comfyui.bat or comfyui-n.bat can't update. (as when they are the files that needs to be updated, so delete them, run update.bat) When you run your comfyui(-n).bat afterwards, it now copies correct zluda and uses that.
  • Added two workflows for wan text to video and image to video. They are on CFZ folder. From now on I will try to share other workflows that works good on zluda at least on my setup, it could be a starting point for new users if nothing else. Text-to-video has some notes please read them.
  • Updated included zluda version for the new install method to 3.9.5 nightly aka latest version available. You MUST use latest amd gpu drivers with this setup otherwise there would be problems later, (drivers >= 25.5.1) """ WIPE THE CACHES , READ BELOW """ I recommend using "patchzluda-n.bat" to install it , it uninstalls torch's and reinstalls and patches them with new zluda.ALSO you need to uninstall hip 6.2.4 completely, delete the folder , and reinstall it and again download and unzip the NEW Hip addon (this is not the same as the one I shared before , this is new for 3.9.5) for this 3.9.5 version (hopefully this won't happen that much) new hip addon for zluda 3.9.5 : (https://drive.google.com/file/d/1Gvg3hxNEj2Vsd2nQgwadrUEY6dYXy0H9/view?usp=sharing)
  • WIPING CACHES FOR A CLEAN REINSTALL :: There are three caches to delete if you want to start anew -it is recommended if you want a painless zluda experience : 1-) "C:\Users\yourusername\AppData\Local\ZLUDA\ComputeCache" 2-) "C:\ Users \ yourusername \ .miopen" 3-) "C:\ Users \ yourusername \ .triton" , delete everything in these three directories, zluda and miopen and triton will do everything from the start again but it would be less painful for the future.
  • Added "CFZ Cudnn Toggle" node, it is for some of the audio models, not working with cudnn -which is enabled by default on new install method- to use it just connect it before ksampler -latent_image input or any latent input- disable cudnn, THEN after the vae decoding -which most of these problems occur- to re-enable cudnn , add it after vae-decoding, select audio_output and connect it save audio node of course enable cudnn now.This way within that workflow you are disabling cudnn when working with models that are not compatible with it, so instead of completely disabling it in comfy we can do it locally like this.
  • "CFZ Checkpoint Loader"was broken, it might corrupt the models if you load with it and quit halfway, I completely redone it and it now works outside the checkpoint loading so doesn't touch the file and when it does quantize the model, it makes a copy and quantizes it. Please delete the "cfz_checkpoint_loader.py" and use the newly added "cfz_patcher.py" it got three seperate nodes and much safer and better.
  • BOTH of these nodes are inside "cfz" folder, to use them copy them into custom_nodes, they would appear next time you open comfy, to find them searh for "cfz" you will see both nodes.
  • flash-attention download error fixed, also added sage-attention fix, especially for vae out of memory errors that occurs a lot with sage-attention enabled. NOTE : this doesn't require any special packages or hardware as far as I know so it could work with everything.
  • install-n.bat now not only installs everything needed for MIOPEN and Flash-Attention use, it also automates installing triton (only supported for python 3.10.x and 3.11.x) and flash-attention. So if you especially have 6000+ gpu , have HIP 6.2.4 and libraries if necessary, try it. But beware, there are lots of errors yet to be unsolved. So it is still not the default installed version. Use Control + Shift + m to toggle the tab key moving focus. Alternatively, use esc then tab to move to the next interactive element on the page. No file chosen Attach files by dragging & dropping, selecting or pasting them. Editing ComfyUI-Zluda/README.md at master · patientx/ComfyUI-Zluda