-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 config checking tests #7247
Conversation
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py
Outdated
Show resolved
Hide resolved
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py
Outdated
Show resolved
Hide resolved
@DN6 how about now? |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
@@ -1088,6 +1088,10 @@ def test_single_file_component_configs(self): | |||
for param_name, param_value in single_file_pipe.unet.config.items(): | |||
if param_name in PARAMS_TO_IGNORE: | |||
continue | |||
if param_value == "upcast_attention" and pipe.unet.config[param_name] is None: | |||
print(f"Pipe attrbiute {pipe.unet.config[param_name]}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why print?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry that was a debugging residue. Should now be all fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏽
What does this PR do?
Fixes: https://github.com/huggingface/diffusers/actions/runs/8186113762/job/22383917960#step:8:4062.