Skip to content

Conversation

@ryanrussell
Copy link
Contributor

Signed-off-by: Ryan Russell [email protected]

Description

readability cleanup -- including var renaming -- in src/diffusers/pipelines/stable_diffusion/

More details

offsensive -> offensive
Pytorhc -> Pytorch
safety_cheker_input -> safety_checker_input
concet_idx -> concept_idx

Notes

I was able to go through your venv setup and run make style and make quality (nothing recommended), but still am not 100% sure this will match your CI runner yet. I've been having problems matching my machines black/isort lint with your make script(versions), hopefully there are no linting issues here or moving forward.

-r

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 23, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks a lot!

context = jnp.concatenate([uncond_embeddings, text_embeddings])

# TODO: check it because the shape is different from Pytorhc StableDiffusionPipeline
# TODO: check it because the shape is different from Pytorch StableDiffusionPipeline
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think we can remove this comment now. @patil-suraj

@pcuenca pcuenca merged commit ce31f83 into huggingface:main Sep 23, 2022
@ryanrussell ryanrussell deleted the pipelines-sd-readability branch September 23, 2022 13:36
prathikr pushed a commit to prathikr/diffusers that referenced this pull request Oct 26, 2022
* refactor: pipelines readability improvements

Signed-off-by: Ryan Russell <[email protected]>

* docs: remove todo comment from flax pipeline

Signed-off-by: Ryan Russell <[email protected]>

Signed-off-by: Ryan Russell <[email protected]>
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
…arily remove multiprocessing and TF gpu support. (huggingface#602)" (huggingface#622)

This reverts commit fe61881.
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* refactor: pipelines readability improvements

Signed-off-by: Ryan Russell <[email protected]>

* docs: remove todo comment from flax pipeline

Signed-off-by: Ryan Russell <[email protected]>

Signed-off-by: Ryan Russell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants