Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Hacktoberfest]Fixing issues #5241 #5255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
stevhliu merged 12 commits into huggingface:main from jgyfutub:main
Oct 6, 2023
Merged

[Hacktoberfest]Fixing issues #5241 #5255

stevhliu merged 12 commits into huggingface:main from jgyfutub:main
Oct 6, 2023

Conversation

@jgyfutub
Copy link
Contributor

@jgyfutub jgyfutub commented Oct 1, 2023

#5241 issue fixed.Please review it

kashif reacted with heart emoji
Copy link
Contributor Author

jgyfutub commented Oct 2, 2023

@kashif can you please review my pull request.I am having confusion in explaining latent_mean, latent_std and resolution_multiple variables.

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! 🤗

Can you run make style to pass the CI checks?

height: int = 512,
width: int = 512,
prior_num_inference_steps: int = 60,
prior_num_inference_steps: int = 30,
Copy link
Member

@stevhliu stevhliu Oct 3, 2023

Choose a reason for hiding this comment

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

I think 60 is correct here, and it is the docstring value that needs to be changed? cc @kashif

Copy link
Contributor

Choose a reason for hiding this comment

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

no lets switch it to 30, 60 seems too excessive right @dome272?

Copy link
Contributor

@dome272 dome272 Oct 3, 2023

Choose a reason for hiding this comment

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

We only use 30 with the custom timesteps. Otherwise 60 yields good performance.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok got it!

Copy link
Contributor Author

jgyfutub commented Oct 3, 2023
edited
Loading

@stevhliu @kashif I acutally saw in Wurstchen docs that prior_num_inference_steps is 60 in code I just had to change in docstrings, which I have done just now. Please review the pull request

Copy link
Member

stevhliu commented Oct 3, 2023

Can you run make style to pass the CI checks?

It looks like some things still aren't formatted correctly in the pipeline_wuerstchen_prior file. Have you run make style to automatically apply the style fixes?

Copy link
Contributor Author

jgyfutub commented Oct 3, 2023

@stevhliu no actually I haven't applied make style for formatting .Thanks for your advice!

stevhliu and yiyixuxu reacted with thumbs up emoji

Copy link
Collaborator

@DN6 DN6 left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏽

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thanks!

Copy link
Contributor Author

jgyfutub commented Oct 5, 2023

I request to please merge this pr if it's alright. Since it has been reviewed and approved, thus I request to merge it.

Copy link
Contributor

kashif commented Oct 5, 2023

@jgyfutub can you kindly run make style in the root of diffusers repo and push the styling fix

Copy link
Contributor Author

jgyfutub commented Oct 5, 2023

@kashif I apologize for that comment ,but after downloading all the packages and modules in a virtual environment using pip install -e ".[dev]" ,pip install -e ".[test]" , and then pytest tests\pipelines\wuerstchen\test_wuerstchen_prior.py but after that when I ran make test and make style , the error 'make' is not recognized as an internal or external command, operable program or batch file. was shown.Could you please suggest a better way to tackle this?

Copy link
Contributor

kashif commented Oct 5, 2023

no problem let me fix it

Copy link
Contributor Author

jgyfutub commented Oct 5, 2023

okk thanks!!

Copy link
Contributor Author

jgyfutub commented Oct 6, 2023

@kashif as this pr is alright and styling is done,I sincerely request you to please merge it

Copy link
Member

stevhliu commented Oct 6, 2023

Hi we can't merge until the failing test passes. #5289 was recently committed to fix this issue, so if you update your branch with the latest fix it should pass.

jgyfutub reacted with thumbs up emoji

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@stevhliu stevhliu merged commit dd25ef5 into huggingface:main Oct 6, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Update pipeline_wuerstchen_prior.py
* prior_num_inference_steps updated
* height, width, num_inference_steps, and guidance_scale synced
* parameters synced
* latent_mean, latent_std, and resolution_multiple synced
* prior_num_inference_steps changed
* Formatted pipeline_wuerstchen_prior.py
* Update src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py
---------
Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com>
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* Update pipeline_wuerstchen_prior.py
* prior_num_inference_steps updated
* height, width, num_inference_steps, and guidance_scale synced
* parameters synced
* latent_mean, latent_std, and resolution_multiple synced
* prior_num_inference_steps changed
* Formatted pipeline_wuerstchen_prior.py
* Update src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py
---------
Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kashif kashif kashif approved these changes

@stevhliu stevhliu stevhliu left review comments

@DN6 DN6 DN6 approved these changes

@yiyixuxu yiyixuxu yiyixuxu approved these changes

+1 more reviewer

@dome272 dome272 dome272 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /