Skip to content

Commit

Permalink
[Docs] Improve safetensors (huggingface#2508)
Browse files Browse the repository at this point in the history
* [Docs] Improve safetensors

* Apply suggestions from code review
  • Loading branch information
patrickvonplaten authored and mengfei25 committed Mar 27, 2023
1 parent bba8aa2 commit d93a65d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/en/using-diffusers/using_safetensors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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)


0 comments on commit d93a65d

Please sign in to comment.