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

[Feature] Support xformers #105

Merged
merged 1 commit into from
Dec 2, 2023
Merged

[Feature] Support xformers #105

merged 1 commit into from
Dec 2, 2023

Conversation

okotaku
Copy link
Owner

@okotaku okotaku commented Dec 2, 2023

Motivation

Support xformers. https://github.com/facebookresearch/xformers

Results (Optional)

Environment:

  • A6000 Single GPU
  • nvcr.io/nvidia/pytorch:23.10-py3

Settings:

  • 1epoch training.
Model total time
stable_diffusion_xl_pokemon_blip (fp16) 12 m 37 s
stable_diffusion_xl_pokemon_blip_xformers 10 m 6 s
stable_diffusion_xl_pokemon_blip_fast 9 m 47 s

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--105.org.readthedocs.build/en/105/

@okotaku okotaku self-assigned this Dec 2, 2023
@okotaku okotaku merged commit fca6d77 into main Dec 2, 2023
3 checks passed
@okotaku okotaku deleted the feat/xformers branch December 2, 2023 09:34
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