Skip to content

[Bug]: Model auto-download creates nested Users folder inside models directory (macOS) #1659

@mshkhusn

Description

@mshkhusn

App Version

v0.8.21

Expected Behavior

When using template workflows that trigger automatic model downloads, models should be saved to the correct paths:

~/Documents/ComfyUI/models/unet/flux-2-klein-4b.safetensors
~/Documents/ComfyUI/models/vae/flux2-vae.safetensors
~/Documents/ComfyUI/models/text_encoders/qwen_3_4b.safetensors

Actual Behavior

Models are downloaded to a deeply nested path that duplicates the full absolute path inside the models directory:

~/Documents/ComfyUI/models/Users/[username]/Documents/ComfyUI/models/unet/flux-2-klein-4b.safetensors
~/Documents/ComfyUI/models/Users/[username]/Documents/ComfyUI/models/vae/flux2-vae.safetensors
~/Documents/ComfyUI/models/Users/[username]/Documents/ComfyUI/models/text_encoders/qwen_3_4b.safetensors

A "Users/" folder is created inside the models/ directory with the full user path nested within it. This happens consistently with every template model download.

Steps to Reproduce

  1. Fresh install of ComfyUI Desktop v0.8.21 on macOS (Apple Silicon M5 Air)
  2. Choose /Users/[username]/Documents/ComfyUI as the install directory
  3. Open a template workflow (e.g., "Flux.2 Klein 4B: Text to Image" or "Z-Image-Turbo")
  4. Click "Run" to trigger automatic model download
  5. Check the models/ directory — a Users/ folder is created with the full nested path

extra_models_config.yaml content:

ComfyUI extra_model_paths.yaml for darwin

comfyui_desktop:
is_default: "true"
custom_nodes: custom_nodes/
download_model_base: models
base_path: /Users/[username]/Documents/ComfyUI
desktop_extensions:
custom_nodes: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes

It appears that download_model_base (relative path "models") is being combined with base_path in a way that creates the full absolute path as a subdirectory, rather than resolving it correctly.

Debug Logs

Browser Logs

No response

Settings JSON

No response

Other

Workaround: manually move files after each download:
cd ~/Documents/ComfyUI/models
mv Users/[username]/Documents/ComfyUI/models/unet/* unet/
mv Users/[username]/Documents/ComfyUI/models/vae/* vae/
rm -rf Users

Tested with multiple templates (Flux.2 Klein 4B, Z-Image-Turbo) — same behavior every time.

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions