Skip to content
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

[Tests] Fix slow tests #1087

Merged
merged 1 commit into from
Oct 31, 2022
Merged

[Tests] Fix slow tests #1087

merged 1 commit into from
Oct 31, 2022

Conversation

patrickvonplaten
Copy link
Contributor

@patrickvonplaten patrickvonplaten commented Oct 31, 2022

Fix slow tests

@@ -90,17 +90,18 @@ def __init__(
new_config["steps_offset"] = 1
scheduler._internal_dict = FrozenDict(new_config)

if hasattr(scheduler.config, "clip_sample") and scheduler.config.clip_sample is True:
if hasattr(scheduler.config, "skip_prk_steps") and scheduler.config.skip_prk_steps is False:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

default of inpaint is DDIM, so until release we should rather make sure PNDM is correctly set when used

@patrickvonplaten patrickvonplaten merged commit 17c2c06 into main Oct 31, 2022
@patrickvonplaten patrickvonplaten deleted the fix_slow_tests branch October 31, 2022 18:00
@HuggingFaceDocBuilderDev

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

PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
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.

2 participants