Skip to content

Conversation

@estelleafl
Copy link
Contributor

@estelleafl estelleafl commented Nov 20, 2023

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
Copy link

HuggingFaceDocBuilderDev commented Nov 20, 2023

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

@estelleafl
Copy link
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

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

def preprocess(
Copy link
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
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
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
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!

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

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
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
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
Copy link
Contributor Author

estelleafl commented Nov 28, 2023

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
Collaborator

@estelleafl
merged! thank you :)

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

---------
Co-authored-by: Aflalo <[email protected]>
Co-authored-by: Patrick von Platen <[email protected]>
Co-authored-by: YiYi Xu <[email protected]>
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024

---------
Co-authored-by: Aflalo <[email protected]>
Co-authored-by: Patrick von Platen <[email protected]>
Co-authored-by: YiYi Xu <[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.

4 participants