# MODELS NOT BEING DETECTED EVEN THOUGH YAML HAS DIR's ADDED

**URL:** <https://forum.comfy.org/t/models-not-being-detected-even-though-yaml-has-dirs-added/1394>\
**Category:** Custom Nodes\
**Tags:** issue, others\
**Created:** [February 9, 2025, 8:40pm UTC](https://forum.comfy.org/t/models-not-being-detected-even-though-yaml-has-dirs-added/1394 "2025-02-09T20:40:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZUSIMA](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.comfy.org/zusima/32/83_2.png) [@ZUSIMA](https://forum.comfy.org/u/ZUSIMA)\
**Post date:** [February 9, 2025, 8:40pm UTC](https://forum.comfy.org/t/models-not-being-detected-even-though-yaml-has-dirs-added/1394/1 "2025-02-09T20:40:53Z")

</div>

My post in discord.

 ![image](https://canada1.discourse-cdn.com/flex009/uploads/comfyui1/original/1X/3b8c5f70c1b0d8d3dc8170d57e45a5658a24f94b.png)

As you can see, in the program it’s listed with **“\_paths”**  
 ![image](https://canada1.discourse-cdn.com/flex009/uploads/comfyui1/original/1X/2e732d6453e6728ff6dde00ff145b6bcf150750b.png)

I think it’s unable to find the correct file because it’s not there. I’m about to test to see if the original **yaml** is detected, the one with the original name i.e. **“extra\_model\_paths.yaml”**

The test was not successful. It did not detect that yaml nor read from it. This is a major bug.(edited yaml not detecting other model directories)

---

<div class="post-metadata">

**Author:** ![ZUSIMA](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.comfy.org/zusima/32/83_2.png) [@ZUSIMA](https://forum.comfy.org/u/ZUSIMA)\
**Post date:** [February 9, 2025, 9:49pm UTC](https://forum.comfy.org/t/models-not-being-detected-even-though-yaml-has-dirs-added/1394/2 "2025-02-09T21:49:43Z")

</div>

The ONLY partial way I found around this is to make a symbolic link in the my documents/comfyui folder replacing the models folder in there with the model folder link that has models in it already, but I’m still missing the models that I have on other drives.

---

<div class="post-metadata">

**Author:** ![filtered](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.comfy.org/filtered/32/149_2.png) [@filtered](https://forum.comfy.org/u/filtered)\
**Post date:** [February 10, 2025, 10:34pm UTC](https://forum.comfy.org/t/models-not-being-detected-even-though-yaml-has-dirs-added/1394/3 "2025-02-10T22:34:43Z")

</div>

Hi there,

There are two distinct files:

1. The original file from ComfyUI, `extra_model_paths.yaml`. Typically you would edit this example file and leave it in the same place as `main.py`.
2. The config file used exclusively in the desktop app, `extra_models_config.yaml`. This is generated and maintained by the desktop app. This lives in `%APPDATA%\ComfyUI` on Windows. Other locations are in the [user guide](https://comfyorg.notion.site/ComfyUI-Desktop-User-Guide-1146d73d365080a49058e8d629772f0a).

If you are not seeing models in custom nodes, they likely need to be updated to support multiple paths. Please let us know which ones! We can likely help the authors get them updated.

If you are not seeing models loaded in core ComfyUI nodes, though, then that is a bug in desktop.

---

<div class="post-metadata">

**Author:** ![tanoshimi](https://avatars.discourse-cdn.com/v4/letter/t/8797f3/32.png) [@tanoshimi](https://forum.comfy.org/u/tanoshimi)\
**Post date:** [February 2, 2026, 1:17pm UTC](https://forum.comfy.org/t/models-not-being-detected-even-though-yaml-has-dirs-added/1394/4 "2026-02-02T13:17:17Z")

</div>

I appreciate the last reply was some time ago, but I wonder if there is any documentation/best practice/how-to guide that can be used as a reference for how custom nodes _should_ be implemented to respect the search paths defined in extra\_model\_paths.yaml?

Digging through the source of a couple of nodes I use, I see a lot of variations on roughly the same theme of:

`dir_custom_models = os.path.join(models_dir, “custom_models”)`  
`os.makedirs(dir_custom_models, exist_ok=True)`  
`folder_paths.folder_names_and_paths[“custom_models”] = ([dir_custom_models], folder_paths.supported_pt_extensions)`

or

```auto
model_path = os.path.join(model_directory, model_name)
if not os.path.exists(model_path): 

```

etc. etc. and depending on exactly how these are implemented, some of them seem to use the preferred default override directories specified in extra\_model\_paths.yaml just fine, others of them work to _load_ models from those directories, but will still download to the default models/ location, and some of them ignore it altogether.

Yes, I could just create symlinks for every folder, but it feels like extra\_model\_paths.yaml is the intended way of solving this problem, it’s just that not every custom node respects it (e.g. Florence, Whisper, FaceRestore are just three examples I’ve encountered this morning that don’t).

Thanks!
