Rubiksman78 / RenAI-Chat

VN Like Interface for Chatbots
Creative Commons Zero v1.0 Universal
64 stars 4 forks source link

Safetensor file extension recognition #12

Open compsci1231 opened 1 year ago

compsci1231 commented 1 year ago

Hi, I was wondering if the programme can read files with .safetensors extensions rn it's saying when I try to load a model.safetensors file that it needs it in another format

Rubiksman78 commented 1 year ago

If the model you want to use has safetensors weights on its huggingface space, it will by default use the safetensors weights if the model is loaded in a conventional way as done here. You can see https://huggingface.co/docs/diffusers/using-diffusers/using_safetensors for more details.