-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update/fix mounts for comfyUI #432
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
94f19df
Fix file permissions
0142a24
Merge branch 'AbdBarho:master' into master
LEv145 c16fe5a
Update entrypoint.sh
LEv145 d013e88
Merge branch 'master' into master
LEv145 8210ffe
move model to global
AbdBarho 8a8c885
move config to file
AbdBarho File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,26 +8,32 @@ declare -A MOUNTS | |
mkdir -vp /data/config/comfy/ | ||
|
||
# cache | ||
MOUNTS["/root/.cache"]=/data/.cache | ||
MOUNTS["/root/.cache"]="/data/.cache" | ||
|
||
# ui specific | ||
MOUNTS["${ROOT}/models/checkpoints"]="/data/StableDiffusion" | ||
MOUNTS["${ROOT}/models/controlnet"]="/data/ControlNet" | ||
MOUNTS["${ROOT}/models/upscale_models/RealESRGAN"]="/data/RealESRGAN" | ||
MOUNTS["${ROOT}/models/upscale_models/GFPGAN"]="/data/GFPGAN" | ||
MOUNTS["${ROOT}/models/upscale_models/SwinIR"]="/data/SwinIR" | ||
MOUNTS["${ROOT}/models/vae"]="/data/VAE" | ||
|
||
# data | ||
MOUNTS["${ROOT}/models/loras"]="/data/Lora" | ||
MOUNTS["${ROOT}/models/embeddings"]="/data/embeddings" | ||
MOUNTS["${ROOT}/models/hypernetworks"]="/data/Hypernetworks" | ||
|
||
MOUNTS["${ROOT}/models/upscale_models/RealESRGAN"]="/data/RealESRGAN" | ||
MOUNTS["${ROOT}/models/upscale_models/GFPGAN"]="/data/GFPGAN" | ||
MOUNTS["${ROOT}/models/upscale_models/SwinIR"]="/data/SwinIR" | ||
|
||
# config | ||
# TODO: I am not sure if this is final, maybe it should change in the future | ||
MOUNTS["${ROOT}/models/clip"]="/data/.cache/comfy/clip" | ||
MOUNTS["${ROOT}/models/clip_vision"]="/data/.cache/comfy/clip_vision" | ||
MOUNTS["${ROOT}/models/custom_nodes"]="/data/config/comfy/custom_nodes" | ||
MOUNTS["${ROOT}/models/style_models"]="/data/config/comfy/style_models" | ||
MOUNTS["${ROOT}/models/t2i_adapter"]="/data/config/comfy/t2i_adapter" | ||
MOUNTS["${ROOT}/input"]="/data/config/comfy/input" | ||
MOUNTS["${ROOT}/custom_nodes"]="/data/config/comfy/custom_nodes" | ||
MOUNTS["${ROOT}/models/configs"]="/data/config/comfy/configs" | ||
|
||
MOUNTS["${ROOT}/models/style_models"]="/data/config/comfy/models/style_models" | ||
MOUNTS["${ROOT}/models/t2i_adapter"]="/data/config/comfy/models/t2i_adapter" | ||
MOUNTS["${ROOT}/models/clip"]="/data/config/comfy/models/clip" | ||
MOUNTS["${ROOT}/models/clip_vision"]="/data/config/comfy/models/clip_vision" | ||
MOUNTS["${ROOT}/models/gligen"]="/data/config/comfy/models/gligen" | ||
MOUNTS["${ROOT}/models/diffusers"]="/data/config/comfy/models/diffusers" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here? |
||
|
||
# output | ||
MOUNTS["${ROOT}/output"]="/output/comfy" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this any different from the standard clip model provided by the transformers packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes