Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Improve safetensors #2508

Merged
merged 2 commits into from
Feb 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)