Model Install Path
choseokheeee opened this issue · comments
I set the model path to a custom path by changing the extra_model_paths.yaml
comfyui:
base_path: /custom/path/
checkpoints: models/checkpoints/
clip: models/clip/
clip_vision: models/clip_vision/
configs: models/configs/
controlnet: models/controlnet/
embeddings: models/embeddings/
loras: models/loras/
upscale_models: models/upscale_models/
vae: models/vae/
But when I install models using the Manager, the model is installed in the ComfyUI folder(where the main.py file exists), not the custom path i set
This still works(?), but I want to change the default installation path to a custom path
This is expected, @choseokheeee .
ComfyUI defines the main model folder to be ./models/
, and can load extra models from extra_model_paths
.
I'm not sure if it is appropriate for Manager to download models to a custom folder instead of to the main model folder.
I set the model path to a custom path by changing the extra_model_paths.yaml
comfyui: base_path: /custom/path/ checkpoints: models/checkpoints/ clip: models/clip/ clip_vision: models/clip_vision/ configs: models/configs/ controlnet: models/controlnet/ embeddings: models/embeddings/ loras: models/loras/ upscale_models: models/upscale_models/ vae: models/vae/
But when I install models using the Manager, the model is installed in the ComfyUI folder(where the main.py file exists), not the custom path i set
This still works(?), but I want to change the default installation path to a custom path
- Find the extra-model-paths.yaml File:
This file is typically located in the same directory as your main.py file (the main ComfyUI script).
2. Modify the base_path:
Open the extra-model-paths.yaml file in a text editor.
Change the base_path entry to your desired custom path:
YAML
comfyui:
base_path: /your/custom/path/
# ... (rest of the file)
Use code with caution.
content_copy
3. Restart ComfyUI:
Close ComfyUI if it's running.
Restart it, and hopefully, ComfyUI-Manager will now install models in your custom path!
Why This Might Work:
Some versions of ComfyUI-Manager might check the base_path in extra-model-paths.yaml to determine the installation location. However, this behavior is not officially documented and might not work in all cases.
Important Note:
If this doesn't work, the environment variable method (COMFYUI_MODELS_PATH) or the configuration file method (if available) are more reliable ways to change the installation path.
I set the model path to a custom path by changing the extra_model_paths.yaml
comfyui: base_path: /custom/path/ checkpoints: models/checkpoints/ clip: models/clip/ clip_vision: models/clip_vision/ configs: models/configs/ controlnet: models/controlnet/ embeddings: models/embeddings/ loras: models/loras/ upscale_models: models/upscale_models/ vae: models/vae/
But when I install models using the Manager, the model is installed in the ComfyUI folder(where the main.py file exists), not the custom path i set
This still works(?), but I want to change the default installation path to a custom path
another workaround is to use docker
, which can mount your directory as /ComfyUI/models
to replace the old one.
or on Linux, delete the /ComfyUI/models
and make a symbol link using ln -s <your folder> <models in Comfy>
.
I set the model path to a custom path by changing the extra_model_paths.yaml
comfyui: base_path: /custom/path/ checkpoints: models/checkpoints/ clip: models/clip/ clip_vision: models/clip_vision/ configs: models/configs/ controlnet: models/controlnet/ embeddings: models/embeddings/ loras: models/loras/ upscale_models: models/upscale_models/ vae: models/vae/
But when I install models using the Manager, the model is installed in the ComfyUI folder(where the main.py file exists), not the custom path i set
This still works(?), but I want to change the default installation path to a custom path
- Find the extra-model-paths.yaml File:
This file is typically located in the same directory as your main.py file (the main ComfyUI script). 2. Modify the base_path:
Open the extra-model-paths.yaml file in a text editor.
Change the base_path entry to your desired custom path:
YAML comfyui: base_path: /your/custom/path/ # ... (rest of the file) Use code with caution. content_copy 3. Restart ComfyUI:
Close ComfyUI if it's running. Restart it, and hopefully, ComfyUI-Manager will now install models in your custom path! Why This Might Work:
Some versions of ComfyUI-Manager might check the base_path in extra-model-paths.yaml to determine the installation location. However, this behavior is not officially documented and might not work in all cases.
Important Note:
If this doesn't work, the environment variable method (COMFYUI_MODELS_PATH) or the configuration file method (if available) are more reliable ways to change the installation path.
Is this produced by some LLMs? I feel like there's hallucination all over the place.