bes-dev / stable_diffusion.openvino

Apache License 2.0
1.54k stars 206 forks source link

Location of model and general question about size #54

Open Jolltz opened 2 years ago

Jolltz commented 2 years ago

Hi!

Thanks for the great project, it's the only working for me at the moment (amd, linux and RX560) and a huge step on putting Stable Diffusion to the masses! It works wonderfully.

My question is, where is the model located? It's the same as the 4gb version on huggingface? I'm on a small SSD I want to keep track of my huge files hah.

Also, could I change the size of the images to something bigger than 512x512?

Thanks! Sorry I'm a newb on this.

soten355 commented 2 years ago

The model should be stored in the cache created by the Hugging Face Pip.

On my Mac, mine was located in: User/Me/.cache/huggingface/hub/models--bes-dev--stable-diffusion-v1-4-openvino

As for increasing size, I believe it's not possible currently because of bes-dev's backend lacking support for custom dimensions. A work around you can do instead is to use AI enlargement like https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan

rncar commented 2 years ago

In linux the default directory is located at ~/.cache You could change it using the environment variable TRANSFORMERS_CACHE

Jake36921 commented 2 years ago

C:\Users\%USERNAME%\.cache\huggingface\hub\models--bes-dev--stable-diffusion-v1-4-openvino

I don't know which one is the model but there are a few big files

Jolltz commented 2 years ago

Thanks all found the model! Just wish we could increase the size, that would be perfect while I wait for a proper support on the rocm side for me

Jolltz commented 2 years ago

The model should be stored in the cache created by the Hugging Face Pip.

On my Mac, mine was located in: User/Me/.cache/huggingface/hub/models--bes-dev--stable-diffusion-v1-4-openvino

As for increasing size, I believe it's not possible currently because of bes-dev's backend lacking support for custom dimensions. A work around you can do instead is to use AI enlargement like https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan

I have been using the portable version and it works really well!

Jolltz commented 2 years ago

Is there a way to change the model? Mine is all broken in parts of files, I mean when 1.5 is released, I guess it will be updated yeah?