You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and if the parameter is omitted, clip falls back to using .cache/clip which is outside the usual directories, i.e. models/CLIP inside the webui directory and possibly the huggingface cache directory.
I discovered this when I tried to sandbox the webui and it kept downloading the clip model. Having clearly defined folders like the models folder makes it easier to know where the required files are and where you need to allow access or not.
Steps to reproduce
Go to img2img
press the interrogate CLIP button
BLIP is downloaded to models/BLIP
CLIP is downloaded to .cache/clip, which is hard to find out, as clip.load and not the webui code contains the default download location.
Proposed solution
Set the default download path to models/CLIP.
The text was updated successfully, but these errors were encountered:
I believe the intentions of the clip developers for putting their models under ~.cache/clip is so that the clip modules can be shared across multiple software without re-downloading
Is there an existing issue for this?
What would your feature do ?
The interrogate module is currently loading clip from a given command line parameter
stable-diffusion-webui/modules/interrogate.py
Line 112 in feee37d
and if the parameter is omitted, clip falls back to using
.cache/clip
which is outside the usual directories, i.e.models/CLIP
inside the webui directory and possibly the huggingface cache directory.I discovered this when I tried to sandbox the webui and it kept downloading the clip model. Having clearly defined folders like the
models
folder makes it easier to know where the required files are and where you need to allow access or not.Steps to reproduce
models/BLIP
.cache/clip
, which is hard to find out, asclip.load
and not the webui code contains the default download location.Proposed solution
Set the default download path to
models/CLIP
.The text was updated successfully, but these errors were encountered: