ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Is it possible to have checkpoints, embeddings, models, vae, etc. on an external drive?

Open oakif opened this issue 1 year ago • 8 comments

I keep all of the above files on an external drive due to the large space requirements. Is there an option to select a custom directory where all my models are located, or even directly select a checkpoint/embedding/vae by absolute filesystem path?

oakif avatar Mar 02 '23 17:03 oakif

While it may not be ideal for some, what I do is keep my large files on a NAS and I soft link them to the local checkpoint folder. Works like a charm.

xPheo avatar Mar 05 '23 23:03 xPheo

ComfyUI does not and will never use gradio. The code that searches for the checkpoints/etc.. should follow symlinks without any issue.

The plan is to have an option to add search paths but that isn't implemented yet.

comfyanonymous avatar Mar 06 '23 05:03 comfyanonymous

So, since it supports symlinks, please put this into readme.md Document.

Custom Model Folder

Symlinks is supported. For windows, symlinks can be used as mklink command in cmd window. Search "Windows mklink" in google for tutorial.

butaixianran avatar Mar 15 '23 02:03 butaixianran

So, since it supports symlinks, please put this into readme.md Document.

Custom Model Folder

Symlinks is supported. For windows, symlinks can be used as mklink command in cmd window. Search "Windows mklink" in google for tutorial.

symlinks are an OS feature supported by every program, they have nothing to do with this one.

rfletchr avatar Mar 15 '23 18:03 rfletchr

So, since it supports symlinks, please put this into readme.md Document.

Custom Model Folder

Symlinks is supported. For windows, symlinks can be used as mklink command in cmd window. Search "Windows mklink" in google for tutorial.

symlinks are an OS feature supported by every program, they have nothing to do with this one.

Given that there are multiple issues regarding this subject, I don't think it'll hurt to add this information into the README. If we left only pertinent information in README files that were not available anywhere else, that would defeat the purpose of a README.

oakif avatar Mar 16 '23 00:03 oakif

So, since it supports symlinks, please put this into readme.md Document.

Custom Model Folder

Symlinks is supported. For windows, symlinks can be used as mklink command in cmd window. Search "Windows mklink" in google for tutorial.

symlinks are an OS feature supported by every program, they have nothing to do with this one.

Given that there are multiple issues regarding this subject, I don't think it'll hurt to add this information into the README. If we left only pertinent information in README files that were not available anywhere else, that would defeat the purpose of a README.

yeah as a workflow thing it makes allot of sense

rfletchr avatar Mar 16 '23 00:03 rfletchr

This was fixed with: https://github.com/comfyanonymous/ComfyUI/blob/master/extra_model_paths.yaml.example

comfyanonymous avatar Apr 05 '23 19:04 comfyanonymous

Is there a way to link MULTIPLE paths on this yaml?

GithubStable avatar Feb 27 '24 23:02 GithubStable