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

fix diffusers tests #1317

Merged
merged 2 commits into from
Jan 3, 2024
Merged

fix diffusers tests #1317

merged 2 commits into from
Jan 3, 2024

Conversation

pacman100
Copy link
Contributor

What does this PR do?

  1. fix diffusers tests
FAILED tests/lora/test_lora_layers_peft.py::StableDiffusionXLLoRATests::test_simple_inference_with_text_unet_lora_save_load - ValueError: The checkpoint you are trying to load has model type `clip_text_model` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

@pacman100 pacman100 requested review from BenjaminBossan and sayakpaul and removed request for sayakpaul January 3, 2024 14:05
Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Nice find!

@HuggingFaceDocBuilderDev

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.

@pacman100 pacman100 merged commit 8665e2b into main Jan 3, 2024
14 checks passed
YuliangXiu pushed a commit to yfeng95/peft that referenced this pull request Jan 8, 2024
* fix diffusers tests

* quality
@pacman100 pacman100 deleted the smangrul/fix-sd-tests branch February 20, 2024 05:47
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.

3 participants