Skip to content

[ldm3d] Ldm3d upscaler to community pipeline#5870

Merged
yiyixuxu merged 63 commits into
huggingface:mainfrom
estelleafl:ldm3d_upscaler_community
Nov 28, 2023
Merged

[ldm3d] Ldm3d upscaler to community pipeline#5870
yiyixuxu merged 63 commits into
huggingface:mainfrom
estelleafl:ldm3d_upscaler_community

Conversation

@estelleafl

@estelleafl estelleafl commented Nov 20, 2023

Copy link
Copy Markdown
Contributor

Hi @patrickvonplaten,
Finally, I created a new PR for our contribution to the community pipelines. We can close the previous one (#5660)
Thank you for your help
Best

@estelleafl estelleafl changed the title Ldm3d upscaler community [ldm3d] Ldm3d upscaler to community pipeline Nov 20, 2023
@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Nov 20, 2023

Copy link
Copy Markdown

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

@estelleafl

Copy link
Copy Markdown
Contributor Author

I am getting the error below when running make style/make quality.
I tried also from main and not on my branch and Im getting this error as well. Would you know why?

ruff check examples scripts src tests utils setup.py --fix
error: TOML parse error at line 16, column 1
|
16 | [tool.ruff.format]
| ^^^^^^^^^^^^^^^^^^
wanted exactly 1 element, more than 1 element

make: *** [Makefile:56: style] Error 2

Comment thread src/diffusers/image_processor.py Outdated
Comment thread src/diffusers/image_processor.py Outdated
else:
raise Exception(f"This type {output_type} is not supported")

def preprocess(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm is this really needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the preprocess? or the raise?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah sorry I misread here, actually this look ok to me - @yiyixuxu wdyt?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

yeah fine with me too!

Comment thread src/diffusers/image_processor.py Outdated
estelleafl and others added 5 commits November 22, 2023 08:59
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

@patrickvonplaten patrickvonplaten left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The changes look good to me - @yiyixuxu wdyt?

else:
raise Exception(f"This type {output_type} is not supported")

def preprocess(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah sorry I misread here, actually this look ok to me - @yiyixuxu wdyt?

@yiyixuxu

Copy link
Copy Markdown
Collaborator

I am getting the error below when running make style/make quality. I tried also from main and not on my branch and Im getting this error as well. Would you know why?

ruff check examples scripts src tests utils setup.py --fix error: TOML parse error at line 16, column 1 | 16 | [tool.ruff.format] | ^^^^^^^^^^^^^^^^^^ wanted exactly 1 element, more than 1 element

make: *** [Makefile:56: style] Error 2

can you try upgrading ruff?

pip install --upgrade ruff

@estelleafl

estelleafl commented Nov 28, 2023

Copy link
Copy Markdown
Contributor Author

Thank you @patrickvonplaten and @yiyixuxu
I made style/quality following @yiyixuxu advice

@yiyixuxu yiyixuxu merged commit 5ae3c3a into huggingface:main Nov 28, 2023
@yiyixuxu

Copy link
Copy Markdown
Collaborator

@estelleafl
merged! thank you :)

yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023

---------
Co-authored-by: Aflalo <estellea@isl-gpu27.rr.intel.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024

---------
Co-authored-by: Aflalo <estellea@isl-gpu27.rr.intel.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
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.

4 participants