Skip to content

Commit

Permalink
Add ClipEncoder (AbdBarho#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdBarho committed May 8, 2023
1 parent 03f72d3 commit dfc4d17
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
/ModelScope
/LyCORIS
/GLIGEN
/CLIPEncoder
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ services:
<<: *base_service
profiles: ["comfy"]
build: ./services/comfy/
image: sd-comfy:1
image: sd-comfy:2
tty: true
environment:
- CLI_ARGS=
Expand Down
3 changes: 2 additions & 1 deletion services/comfy/extra_model_paths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ a111:
hypernetworks: Hypernetworks
controlnet: ControlNet
gligen: GLIGEN
clip: CLIPEncoder

custom_nodes: config/comfy/custom_nodes

# TODO: I am unsure about these, need more testing
# clip: .cache/clip
# style_models: config/comfy/style_models
# t2i_adapter: config/comfy/t2i_adapter
# clip_vision: config/comfy/clip_vision
Expand Down
22 changes: 21 additions & 1 deletion services/download/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,27 @@
set -Eeuo pipefail

# TODO: maybe just use the .gitignore file to create all of these
mkdir -vp /data/.cache /data/StableDiffusion /data/LyCORIS /data/Codeformer /data/ModelScope /data/GFPGAN /data/ESRGAN /data/BSRGAN /data/RealESRGAN /data/SwinIR /data/LDSR /data/ScuNET /data/embeddings /data/VAE /data/Deepdanbooru /data/MiDaS /data/Lora /data/ControlNet /data/openpose /data/GLIGEN
mkdir -vp /data/.cache \
/data/StableDiffusion \
/data/LyCORIS \
/data/Codeformer \
/data/ModelScope \
/data/GFPGAN \
/data/ESRGAN \
/data/BSRGAN \
/data/RealESRGAN \
/data/SwinIR \
/data/LDSR \
/data/ScuNET \
/data/embeddings \
/data/VAE \
/data/Deepdanbooru \
/data/MiDaS \
/data/Lora \
/data/ControlNet \
/data/openpose \
/data/GLIGEN \
/data/CLIPEncoder # this is different from the cached pre-train ViT saved in /data/.cache/clip TODO: find out how

echo "Downloading, this might take a while..."

Expand Down

0 comments on commit dfc4d17

Please sign in to comment.