LaurentMazare / diffusers-rs

An implementation of the diffusers api in Rust
Apache License 2.0
539 stars 55 forks source link

How to load a parameter file in safetensors format? #53

Closed oovm closed 1 year ago

oovm commented 1 year ago

Many model files are saved in safesensor format, how to load such files?

for example: https://civitai.com/models/5041/cheese-daddys-landscapes-mix

And safetensors also have rust api: https://crates.io/crates/safetensors

LaurentMazare commented 1 year ago

Closing as loading safetensors should be supported now that tch also supports it.