Skip to content
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

Can a model path be assigned? #13

Open
selim-yildirim opened this issue Jul 17, 2024 · 10 comments
Open

Can a model path be assigned? #13

selim-yildirim opened this issue Jul 17, 2024 · 10 comments

Comments

@selim-yildirim
Copy link

Model sizes are too large. I already have the cascade models. Is there a way for me to match the model paths?
I saw the .config file in node but I don't know how to do it.
Please write if there is a way. I want to use.
Thanks

image

@2kpr
Copy link
Owner

2kpr commented Jul 17, 2024

I added the custom paths funcionality.

The default directory for the UltraPixel and StableCascade downloaded model files is ComfyUI/models/ultrapixel, if you want to alter this you can now change ultrapixel_directory or stablecascade_directory in the UltraPixel Load node from 'default' to the full path/directory you desire.

ss

@selim-yildirim
Copy link
Author

Özel yollar işlevselliğini ekledim.

UltraPixel ve StableCascade indirilen model dosyaları için varsayılan dizin ComfyUI/models/ultrapixel'dir. Bunu değiştirmek isterseniz UltraPixel Yükleme düğümündeki ultrapixel_directory veya stablecascade_directory dizinini 'varsayılan'dan istediğiniz tam yol/dizine değiştirebilirsiniz.

ss

Thank you. I'm trying it right now, I hope I can do it :)

@2kpr
Copy link
Owner

2kpr commented Jul 17, 2024

For your use case all you have to do is change the stablecascade_directory path, and leave the other one 'default'

@selim-yildirim
Copy link
Author

Kullanım durumunuz için yapmanız gereken tek şey stablecascade_directory yolunu değiştirmek ve diğerini 'varsayılan' olarak bırakmaktır.

image
unfortunately it still hasn't happened. downloads all models. I canceled and tried again and again. but unfortunately it didn't work.

@selim-yildirim
Copy link
Author

image
Unfortunately, I downloaded it again to the same folder. models. just to try. But he is thinking of deleting it because it takes up too much space. and it works extremely slow. I have 3090. Please see the parameters in this screenshot. you will understand me.

@2kpr
Copy link
Owner

2kpr commented Jul 17, 2024

Kullanım durumunuz için yapmanız gereken tek şey stablecascade_directory yolunu değiştirmek ve diğerini 'varsayılan' olarak bırakmaktır.

unfortunately it still hasn't happened. downloads all models. I canceled and tried again and again. but unfortunately it didn't work.

When I set the custom paths it only downloads to those paths, are you sure you set that path to a place that already had your stable cascade model files?

@2kpr
Copy link
Owner

2kpr commented Jul 17, 2024

image Unfortunately, I downloaded it again to the same folder. models. just to try. But he is thinking of deleting it because it takes up too much space. and it works extremely slow. I have 3090. Please see the parameters in this screenshot. you will understand me.

A new version is coming out within the hour allowing 10GB/12GB/16GB GPUs to work, that might help your issue where it seems like for you your GPU is exceeding the VRAM and then going really slow, it should not take 22 minutes to generate a single image.

@selim-yildirim
Copy link
Author

image Unfortunately, I downloaded it again to the same folder. models. just to try. But he is thinking of deleting it because it takes up too much space. and it works extremely slow. I have 3090. Please see the parameters in this screenshot. you will understand me.

A new version is coming out within the hour allowing 10GB/12GB/16GB GPUs to work, that might help your issue where it seems like for you your GPU is exceeding the VRAM and then going really slow, it should not take 22 minutes to generate a single image.

Thank you very much. I hope you don't misunderstand. As you know, I love trying new things, but it is very important that it is practical and fast. Frankly, I was really worried when I got results at these speeds with 3090 24 GB VRAM.

@zpengcom
Copy link

zpengcom commented Jul 18, 2024

终于不用在磁盘里放两份SC的模型了
我认为StableCascade应该归类在ComfyUI\models\checkpoints\StableCascade目录

@2kpr
Copy link
Owner

2kpr commented Jul 18, 2024

终于不用在磁盘里放两份SC的模型了 我认为StableCascade应该归类在ComfyUI\models\checkpoints\StableCascade目录

Problem is if I update that now to be the default location then when anyone updates this node it will try to redownload all the StableCascade weights, unless I add some backwards compatibility checks in the code to search the 'old default' path of models/ultrapixel, or check and move the StableCascade weights from the 'old default' to the 'new default'. I'll think about it, weighing the pros and cons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants