-
Notifications
You must be signed in to change notification settings - Fork 26
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 comfui_stablediffusion, add checkpoints and lora #364
base: main
Are you sure you want to change the base?
Conversation
huggingface-cli download KBlueLeaf/kohaku-v2.1 --local-dir models/ComfyUI--models/checkpoints --include "*.safetensors" | ||
huggingface-cli download stabilityai/sd-turbo --local-dir models/ComfyUI--models/checkpoints --include "*.safetensors" | ||
|
||
# ComfyUI_StreamDIffusion is loading single file safetensors from /models/checkpoints | ||
wget -P models/checkpoints/ https://huggingface.co/KBlueLeaf/kohaku-v2.1/resolve/main/kohaku-v2.1.safetensors | ||
wget -P models/checkpoints/ https://huggingface.co/stabilityai/sd-turbo/resolve/main/sd_turbo.safetensors | ||
# chenxxiao/3dCartoonVision_v10 | ||
wget -P models/checkpoints https://huggingface.co/chenxxiao/3dCartoonVision_v10/resolve/main/3dCartoonVision_v10.safetensors?download=true --content-disposition |
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.
huggingface-cli download KBlueLeaf/kohaku-v2.1 --local-dir models/ComfyUI--models/checkpoints --include "*.safetensors" | |
huggingface-cli download stabilityai/sd-turbo --local-dir models/ComfyUI--models/checkpoints --include "*.safetensors" | |
# ComfyUI_StreamDIffusion is loading single file safetensors from /models/checkpoints | |
wget -P models/checkpoints/ https://huggingface.co/KBlueLeaf/kohaku-v2.1/resolve/main/kohaku-v2.1.safetensors | |
wget -P models/checkpoints/ https://huggingface.co/stabilityai/sd-turbo/resolve/main/sd_turbo.safetensors | |
# chenxxiao/3dCartoonVision_v10 | |
wget -P models/checkpoints https://huggingface.co/chenxxiao/3dCartoonVision_v10/resolve/main/3dCartoonVision_v10.safetensors?download=true --content-disposition | |
huggingface-cli download KBlueLeaf/kohaku-v2.1 --local-dir models/checkpoints --include "*.safetensors" | |
huggingface-cli download stabilityai/sd-turbo --local-dir models/checkpoints --include "*.safetensors" | |
# chenxxiao/3dCartoonVision_v10 | |
huggingface-cli download chenxxiao/3dCartoonVision_v10 --local-dir models/checkpoints --include "*.safetensors" |
- For the sake of consistency, can we change everything to get downloaded with
huggingface-cli
? This what I suggested worked for me - Do I understand correctly that the streamdiffusion node takes models from
/models/checkpoints
and not from the comfyui workspace directory/comfui/models
?
|
||
function download_stable_diffusion_loras() { | ||
# ral-dissolve-sd15 LoRA | ||
wget -P models/loras https://civitai.com/api/download/models/314246?type=Model&format=SafeTensor --content-disposition |
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.
wget -P models/loras https://civitai.com/api/download/models/314246?type=Model&format=SafeTensor --content-disposition | |
wget -P models/loras https://civitai.com/api/download/models/314246?type=Model\&format=SafeTensor --content-disposition |
This does not work for me, it requires some civitai
authentication. I get the following error:
Username/Password Authentication Failed.
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.
Thanks for the PR. Added some comments. Other than that I tried to test it, but was not sure which API JSON is the one I should try.
I see that now you have a lot of them in the examples
directory. I tried no_acceleration.json, but got the following error:
Cannot execute because node StreamDiffusionConfig does not exist.
Could you point me to the API JSON workflow that I can test?
Performance updates to ComfyUI_StableDiffusion from:
pschroedl/ComfyUI-StreamDiffusion#6
Example Workflow Updates:
pschroedl/ComfyUI-StreamDiffusion#7
Node now loads safetensor files ( full huggingface checkpoint loading is broken ), this PR adds checkpoints for:
sd_turbo.safetensors, kohaku_v2.1.safetensors and
https://huggingface.co/chenxxiao/3dCartoonVision_v10
and lora : ral-dissolve1.5
https://civitai.com/models/245889?modelVersionId=314246