docs: correct typos in using-diffusers/other-formats #12243
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixed two typos in
https://huggingface.co/docs/diffusers/en/using-diffusers/other-formats
Fix no 1:
Original Markdown:
The issue is the
+symbol in thetimestep+spacing. Replaced the+symbol with_Update Markdown:
Fix no 2:
Original Markdown:
As you can see after the python code block started it is not closed.
Updated markdown:
Tip
Packaging and loading quantized checkpoints in the DDUF format is supported as long as they respect the multi-folder structure.
Convert layout and files
Diffusers provides many scripts and methods to convert storage layouts and file formats to enable broader support across the diffusion ecosystem.
Take a look at the diffusers/scripts collection to find a script that fits your conversion needs.
Tip
Scripts that have "
to_diffusers" appended at the end mean they convert a model to the Diffusers-multifolder layout. Each script has their own specific set of arguments for configuring the conversion, so make sure you check what arguments are available!For example, to convert a Stable Diffusion XL model stored in Diffusers-multifolder layout to a single-file layout, run the convert_diffusers_to_original_sdxl.py script. Provide the path to the model to convert, and the path to save the converted model to. You can optionally specify whether you want to save the model as a safetensors file and whether to save the model in half-precision.
I added
```to end the block. Now it will display properly,@stevhliu @sayakpaul