Unverified Commit 0ea78f97 authored by Heinz-Alexander Fuetterer's avatar Heinz-Alexander Fuetterer Committed by GitHub
Browse files

chore: fix typos (#5386)



* chore: fix typos

* Update src/diffusers/pipelines/shap_e/renderer.py
Co-authored-by: default avatarpsychedelicious <4822129+psychedelicious@users.noreply.github.com>

---------
Co-authored-by: default avatarpsychedelicious <4822129+psychedelicious@users.noreply.github.com>
parent 5495073f
......@@ -20,7 +20,7 @@ class UniDiffuserTextDecoder(ModelMixin, ConfigMixin, ModuleUtilsMixin):
prefix_length (`int`):
Max number of prefix tokens that will be supplied to the model.
prefix_inner_dim (`int`):
The hidden size of the the incoming prefix embeddings. For UniDiffuser, this would be the hidden dim of the
The hidden size of the incoming prefix embeddings. For UniDiffuser, this would be the hidden dim of the
CLIP text encoder.
prefix_hidden_dim (`int`, *optional*):
Hidden dim of the MLP if we encode the prefix.
......
......@@ -16,7 +16,7 @@
Utility that sorts the imports in the custom inits of Diffusers. Diffusers uses init files that delay the
import of an object to when it's actually needed. This is to avoid the main init importing all models, which would
make the line `import transformers` very slow when the user has all optional dependencies installed. The inits with
delayed imports have two halves: one definining a dictionary `_import_structure` which maps modules to the name of the
delayed imports have two halves: one defining a dictionary `_import_structure` which maps modules to the name of the
objects in each module, and one in `TYPE_CHECKING` which looks like a normal init for type-checkers. `isort` or `ruff`
properly sort the second half which looks like traditionl imports, the goal of this script is to sort the first half.
......
......@@ -130,7 +130,7 @@ def pre_release_work(patch=False):
def post_release_work():
"""Do all the necesarry post-release steps."""
"""Do all the necessary post-release steps."""
# First let's get the current version
current_version = get_version()
dev_version = f"{current_version.major}.{current_version.minor + 1}.0.dev0"
......
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