-
Notifications
You must be signed in to change notification settings - Fork 6k
[Tests] fix things after #7013 #7899
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
Conversation
@@ -1294,7 +1294,7 @@ def set_lora_device(self, adapter_names: List[str], device: Union[torch.device, | |||
text_encoder_module.lora_B[adapter_name].to(device) | |||
# this is a param, not a module, so device placement is not in-place -> re-assign | |||
if ( | |||
hasattr(text_encoder, "lora_magnitude_vector") | |||
hasattr(text_encoder_module, "lora_magnitude_vector") |
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.
@BenjaminBossan FYI.
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. |
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.
Thank you 👍🏽
What does this PR do?
#7013 changed the order of channels in the watermarked which is used in our CI. This led to some assertion failures, as seen here: https://github.com/huggingface/diffusers/actions/runs/8943160603/job/24567270848#step:7:3396.
For
FAILED tests/lora/test_lora_layers_sdxl.py::LoraSDXLIntegrationTests::test_sdxl_lcm_lora
, I did https://huggingface.co/datasets/hf-internal-testing/diffusers-images/discussions/39.Additionally, I fixed the reason why
tests/lora/test_lora_layers_sd.py::StableDiffusionLoRATests::test_integration_move_lora_dora_cpu
was failing.Other failing tests are likely because of caching issues. Once that is resolved and if we observe assertion problems, I will fix them as we go.