"Load Diffusion Model" and "Unet Loader (GGUF)" null/undefined
Hello, hello,I was searching for an option to create characters out of an image.I have found a possible workflow.Due  to I am new to ComfyUI I have installed the latest version, including phyton.I have read that the upper mentioned workflow only works with ComfyUI version 0.2.3 or lower.For this reason I have installed this version, too.Now my issue.On the latest version it is possible to select a checkpoint out of “unet”  or “diffusion_models” inside of nodes “Unet Loader (GGUF)” & “Load Diffusion Model”. But it is not possible to install Pulid-Nodes (because of Python version).On version 0.2.3 it is possible to add Pulid-Nodes, but it is not possible to select a safetensor out of “Unet Loader (GGUF)” & “Load Diffusion Model”. Values are null or undefined. I have copied specific safetensors in  folders “unet”  and “diffusion_models”. I have tried to update ComfyUI, python, crosscopied python of both versions. Unfortunately nothing works.Additional information: I don’t know if these topics are connected:Failure message in cmd:Import failed: custom_nodes\webui-controlnet-v1-archived-mainImport failed: custom_nodes\ComfyUI-Advanced-ControlNetThanks in advance for your support.Regards
2024-12-16T14:18:08Z
1. Verify Python Environment:UsePython 3.10.x, as it’s a commonly supported version for such tools.Ensure you create separate virtual environments for different ComfyUI versions to avoid cross-dependency conflicts.bashCopy codepython -m venv comfyui_env_0_2_3
python -m venv comfyui_env_latest2. Manage ComfyUI Versions:Install ComfyUI in respective environments and keep them isolated.bashCopy codesource comfyui_env_0_2_3/bin/activate
pip install comfyui==0.2.3
# For the latest version
source comfyui_env_latest/bin/activate
pip install comfyui3. Address Node Issues:For Pulid-Nodes: Ensure compatibility by checking Pulid-Nodes’ requirements and their GitHub repository for updates. Install their dependencies usingpip install -r requirements.txt.For Safetensor Loading:Verify that the safetensors are correctly placed inunetordiffusion_models.Check folder paths inconfig.jsonor ComfyUI settings for accuracy.4. Debug CMD Errors:Inspect the node directories (custom_nodes\webui-controlnet-v1-archived-mainandcustom_nodes\ComfyUI-Advanced-ControlNet). Remove nodes temporarily and test loading ComfyUI without them.Update related dependencies for these nodes.
2024-12-16T22:01:15Z
Hi Alan,thank you for your support.To be honest I am a total newb.Could you please give me once a dummy manual where I have to insert command “bash” or “python -m venv comfyui_env_0_2_3” to create the virtual environment?Same for “source …”I have tried cmd in several folders  and typed in those commands, but I receive always “command not known” … etc.I have downloaded python-3.10.11-embed-amd64.zip and out of desperation I have tried to replace 3.11.xx but this doesn’t worked (comfyui doesn’t start). I have undone this action.Next, I have deleted both ComfyUI’s:D:\Program Files\ComfyUI_windows_portable_v0.2.3D:\Program Files\ComfyUI_windows_portable_v0.2.3\python_embeded <— python 3.11.9D:\Program Files\ComfyUI_windows_portable      <— 0.3.7D:\Program Files\ComfyUI_windows_portable\python_embeded     <— python 3.12.7Next, I have created a new installation:D:\ComfyUI_windows_portable_v0.2.3But I think I made it even worse. Currently I am facing both issues:Can’t open a safetensor from “Unet Loader (GGUF)” & “Load Diffusion Model” although folders are filled “models\diffusion_models\FLUX1\flux1-dev-fp8.safetensors”  & “models\unet\FLUX1\flux1-dev-fp8.safetensors”Not possible to install Pulid-Nodes (Import failed)About information:ComfyUI 0.2.3Python Version 3.11.9Embedded Python truePytorch Version 2.4.1+cu124Due to the fact that I can’t install Pulid-Nodes I think I am grabbing after a higher version of python in the background.I also installed python 3.10.11 on C:\Sorry,  but I need deeper support regarding hints 1. and 2.Thanks in advance and regards
2024-12-17T18:31:04Z
After upgrading to the new version of ComfyUI, if you use GGUF loader once, you will find   you can never use the Load Diffusion Model node to load .safetensor file, only GGUF file can be displayed and chose! I don’t know except creating a new environment, is there other way to solve it?
2024-12-17T18:58:27Z
Facing same issue… looks like a bug!!@motoyagugusafetensors do not appear in Load Diffusion Model node while the models already in unet folder · Issue #179 · city96/ComfyUI-GGUF · GitHub- uninstalling flow control fixes this issue.
2024-12-19T03:11:00Z
having the same problem
2024-12-20T10:13:22Z
Hello ansat7,thank you for your hint (link).I can confirm that “Load Diffusion Model” works again after uninstalling ComfyUI-Flow-Control.Regards!
2025-01-13T19:54:52Z
I fixed this by deleting the gguf  folder from ComfyUI/custom_nodes/ComfyUI-Flow-Control/nodes … probably if you just delete the nodes.py file from the folder is enough … the file is probably overwrites the node.py  torch method of loading the models.