"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-main
  • Import failed: custom_nodes\ComfyUI-Advanced-ControlNet

Thanks in advance for your support.
Regards

2 Likes

1. Verify Python Environment:

  • Use Python 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.

bash

Copy code

python -m venv comfyui_env_0_2_3
python -m venv comfyui_env_latest

2. Manage ComfyUI Versions:

  • Install ComfyUI in respective environments and keep them isolated.

bash

Copy code

source 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 comfyui

3. Address Node Issues:

  • For Pulid-Nodes: Ensure compatibility by checking Pulid-Nodes’ requirements and their GitHub repository for updates. Install their dependencies using pip install -r requirements.txt.
  • For Safetensor Loading:
    • Verify that the safetensors are correctly placed in unet or diffusion_models.
    • Check folder paths in config.json or ComfyUI settings for accuracy.

4. Debug CMD Errors:

  • Inspect the node directories (custom_nodes\webui-controlnet-v1-archived-main and custom_nodes\ComfyUI-Advanced-ControlNet). Remove nodes temporarily and test loading ComfyUI without them.
  • Update related dependencies for these nodes.
1 Like

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.3
D:\Program Files\ComfyUI_windows_portable_v0.2.3\python_embeded <— python 3.11.9

D:\Program Files\ComfyUI_windows_portable <— 0.3.7
D:\Program Files\ComfyUI_windows_portable\python_embeded <— python 3.12.7

Next, I have created a new installation:
D:\ComfyUI_windows_portable_v0.2.3

But 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.3
  • Python Version 3.11.9
  • Embedded Python true
  • Pytorch Version 2.4.1+cu124

Due 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

2 Likes

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?

Facing same issue… looks like a bug!! @motoyagugu
safetensors 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.

3 Likes

having the same problem

1 Like

Hello ansat7,
thank you for your hint (link).
I can confirm that “Load Diffusion Model” works again after uninstalling ComfyUI-Flow-Control.
Regards!

1 Like

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.

1 Like