stable_diffusion.openvino icon indicating copy to clipboard operation
stable_diffusion.openvino copied to clipboard

Location of model and general question about size

Open Jolltz opened this issue 3 years ago • 6 comments

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.

Jolltz avatar Sep 08 '22 23:09 Jolltz

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

soten355 avatar Sep 09 '22 02:09 soten355

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

rncar avatar Sep 09 '22 03:09 rncar

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

Jake36921 avatar Sep 09 '22 04:09 Jake36921

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 avatar Sep 09 '22 04:09 Jolltz

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 avatar Sep 09 '22 04:09 Jolltz

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?

Jolltz avatar Sep 09 '22 06:09 Jolltz