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

Refactor MMDiT and add ImageToImage for SD3 #1909

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

james77777778
Copy link
Collaborator

This PR includes the following updates:

  • Refactor MMDiT that by replacing models.Sequential with new MLP layer, simplifying/clarifying the modulation process using new AdaptiveLayerNormalization layer
  • Add missing docstrings to MMDiT
  • Update the conversion script and the weights on Kaggle
  • Introduce ImageToImage task and apply it to SD3
  • Fix bugs when calling save_to_preset with nested preprocessors and tokenizers

ImageToImage demo:
https://colab.research.google.com/drive/1Qz6WsLZXiuCtWZdxg_V1LuhkNUMm0E9F?usp=sharing

Reference Image Generated Image (1024x1024)
cat output

@divyashreepathihalli

@james77777778 james77777778 added the kokoro:force-run Runs Tests on GPU label Oct 5, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Oct 5, 2024
@james77777778 james77777778 added the kokoro:force-run Runs Tests on GPU label Oct 5, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Oct 5, 2024
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