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

[Bugfix] Fix IP-Adapter training #131

Merged
merged 1 commit into from
Feb 7, 2024
Merged

[Bugfix] Fix IP-Adapter training #131

merged 1 commit into from
Feb 7, 2024

Conversation

okotaku
Copy link
Owner

@okotaku okotaku commented Feb 7, 2024

Motivation

Fix based on huggingface/diffusers#6573.

# encoder_hidden_states should be tuple
encoder_hidden_states, ip_hidden_states = encoder_hidden_states

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

📚 Documentation preview 📚: https://DiffEngine--131.org.readthedocs.build/en/131/

@okotaku okotaku self-assigned this Feb 7, 2024
@okotaku okotaku merged commit f16b0cc into main Feb 7, 2024
3 checks passed
@okotaku okotaku deleted the feat/fix_ip_adapter branch February 7, 2024 23:57
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.

1 participant