"docs/vscode:/vscode.git/clone" did not exist on "e17c26343df156c78de7887d95566c36624d2e35"
Unverified Commit 1c36a123 authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

[Docs] Improve safetensors (#2508)

* [Docs] Improve safetensors

* Apply suggestions from code review
parent 48a2eb33
......@@ -65,7 +65,7 @@ torch.load = lambda *args, **kwargs: _raise()
# I want to use model X but it doesn't have safetensors weights.
Just go to this [space](https://huggingface.co/spaces/safetensors/convert).
Just go to this [space](https://huggingface.co/spaces/diffusers/convert).
This will create a new PR with the weights, let's say `refs/pr/22`.
This space will download the pickled version, convert it, and upload it on the hub as a PR.
......@@ -80,8 +80,8 @@ from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", revision="refs/pr/22")
```
or you can test it directly online with this [space](https://huggingface.co/spaces/diffusers/check_pr).
And that's it !
Anything unclear, concerns, or found a bugs ? [Open an issue](https://github.com/huggingface/diffusers/issues/new/choose)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment