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

[Community Pipeline] Add 🪆Matryoshka Diffusion Models #9157

Merged
merged 137 commits into from
Oct 14, 2024

Commits on Aug 12, 2024

  1. a

    tolgacangoz committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    f666908 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c092728 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    cfe8dcc View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Configuration menu
    Copy the full SHA
    c1b6c0f View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    60021b8 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    0ad7101 View commit details
    Browse the repository at this point in the history
  2. refactor: add ff_act_fn parameter to UNet2DConditionModel and `ge…

    …t_down_block` for FF layers in attention
    tolgacangoz committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    aabac0a View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    ad4c6a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    649baa6 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    279d613 View commit details
    Browse the repository at this point in the history
  2. make style

    tolgacangoz committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    5f5bd08 View commit details
    Browse the repository at this point in the history
  3. make fix-copies

    tolgacangoz committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    bfd8b9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c3b004b View commit details
    Browse the repository at this point in the history
  5. Up

    tolgacangoz committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    eaef037 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2e99ec7 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Up

    tolgacangoz committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    99d9099 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    33dd50d View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    56e61f0 View commit details
    Browse the repository at this point in the history
  2. make style

    tolgacangoz committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    376500a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c16e5b View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Revert; cuz I should have created (probably) a new attention processo…

    …r for Matryoshka models
    tolgacangoz committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    8c4dcb3 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    ef38541 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    8eadb30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19d6c17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d1a0ab View commit details
    Browse the repository at this point in the history
  4. Revert

    tolgacangoz committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    5754bc6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc1f68b View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    906298b View commit details
    Browse the repository at this point in the history
  2. Revert

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    23f4ced View commit details
    Browse the repository at this point in the history
  3. Revert

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    a2ca8ef View commit details
    Browse the repository at this point in the history
  4. make fix-copies

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    bcd8939 View commit details
    Browse the repository at this point in the history
  5. All in one file

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e014e3e View commit details
    Browse the repository at this point in the history
  6. Up

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f264b9f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a40f68 View commit details
    Browse the repository at this point in the history
  8. make style

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    221c954 View commit details
    Browse the repository at this point in the history
  9. Refactor MatryoshkaTransformer2DModel to add forward()and add `Ma…

    …tryoshkaTransformer2DModelOutput`
    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c75e723 View commit details
    Browse the repository at this point in the history
  10. make style

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e5db6e3 View commit details
    Browse the repository at this point in the history
  11. Up

    tolgacangoz committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    728fb42 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5b5747d View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    464600d View commit details
    Browse the repository at this point in the history
  2. Up

    tolgacangoz committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    36d9d29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b0bf23f View commit details
    Browse the repository at this point in the history
  4. Fix shape issue

    tolgacangoz committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    9e37e00 View commit details
    Browse the repository at this point in the history
  5. Up

    tolgacangoz committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b573182 View commit details
    Browse the repository at this point in the history
  6. make style

    tolgacangoz committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f35a8f9 View commit details
    Browse the repository at this point in the history
  7. Up

    tolgacangoz committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    0f6bce5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1d48420 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    b476da9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3fc84d View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Fix prev_timestep index

    tolgacangoz committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6a978b2 View commit details
    Browse the repository at this point in the history
  2. Up

    tolgacangoz committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    368e044 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02e67c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a146ae4 View commit details
    Browse the repository at this point in the history
  5. Refactor class names

    tolgacangoz committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    abbb3d4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a09266e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    85241b3 View commit details
    Browse the repository at this point in the history
  8. make style

    tolgacangoz committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    b7df3bb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    22c148f View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Configuration menu
    Copy the full SHA
    651cd76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea60da3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b29e7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e01421c View commit details
    Browse the repository at this point in the history
  5. Up

    tolgacangoz committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    4d06f29 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. Configuration menu
    Copy the full SHA
    29fa257 View commit details
    Browse the repository at this point in the history
  2. make style

    tolgacangoz committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    1a22767 View commit details
    Browse the repository at this point in the history
  3. Up

    tolgacangoz committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    d0fa5ca View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    6b65f9f View commit details
    Browse the repository at this point in the history
  2. Fix cond_emb usage

    tolgacangoz committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    62db4b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Up

    tolgacangoz committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    a57b5fc View commit details
    Browse the repository at this point in the history
  2. style

    tolgacangoz committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    db809dc View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Up

    tolgacangoz committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    ff301b6 View commit details
    Browse the repository at this point in the history
  2. style

    tolgacangoz committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    77732bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    577875a View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    154c1be View commit details
    Browse the repository at this point in the history
  2. Simplify

    tolgacangoz committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    b363cc1 View commit details
    Browse the repository at this point in the history
  3. Refactor MatryoshkaDDIMScheduler to use alpha_prod instead of `ga…

    …mmas` in `get_schedule_shifted`
    tolgacangoz committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    028a685 View commit details
    Browse the repository at this point in the history
  4. Refactor MatryoshkaDDIMScheduler to remove unused import and simpli…

    …fy return statement in `NestedUNet2DConditionModel`
    tolgacangoz committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a5b3c37 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    30c6881 View commit details
    Browse the repository at this point in the history
  6. Refactor _set_time_proj to handle with micro_conditioning_scale c…

    …onditionally for nesting_levels 1 and 2
    tolgacangoz committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e34fb48 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    dd88c37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02cec3f View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    a7c7c9a View commit details
    Browse the repository at this point in the history
  2. Cleansing

    tolgacangoz committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    0144e14 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e2e939 View commit details
    Browse the repository at this point in the history
  4. No need for VAE

    tolgacangoz committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    5fbba0e View commit details
    Browse the repository at this point in the history
  5. Up

    tolgacangoz committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    2934570 View commit details
    Browse the repository at this point in the history
  6. style

    tolgacangoz committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    f2f2f9c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d85d0d View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Refactor MatryoshkaUNet2DConditionModel and MatryoshkaPipeline

    - Update `MatryoshkaUNet2DConditionModel` to include `cond_emb` in `get_aug_embed` method.
    - Remove the last timestep from `timesteps` in `MatryoshkaPipeline`.
    - Adjust the timestep index in `MatryoshkaPipeline` to `t - 1` instead of `t`.
    tolgacangoz committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    6ed3d63 View commit details
    Browse the repository at this point in the history
  2. Remove safety checker

    tolgacangoz committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    1df22a6 View commit details
    Browse the repository at this point in the history
  3. style

    tolgacangoz committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    a4be940 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba39b8d View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Up

    tolgacangoz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    319a4d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95a293c View commit details
    Browse the repository at this point in the history
  3. revert the last

    tolgacangoz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b54d9ef View commit details
    Browse the repository at this point in the history
  4. Refactor 'MatryoshkaDDIMScheduler' to handle multiple model outputs f…

    …or variance calculation
    tolgacangoz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c9f17bb View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    67a2917 View commit details
    Browse the repository at this point in the history
  2. Fix masking

    tolgacangoz committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    60e9e77 View commit details
    Browse the repository at this point in the history
  3. style

    tolgacangoz committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    261f135 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aebb266 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    25b56a8 View commit details
    Browse the repository at this point in the history
  2. style

    tolgacangoz committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    38c5455 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d13081e View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. style

    tolgacangoz committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3ada184 View commit details
    Browse the repository at this point in the history
  2. Fix mask handling

    tolgacangoz committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0efa0ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5737d95 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b691f16 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. Configuration menu
    Copy the full SHA
    ccdee35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2efe7b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c90be9 View commit details
    Browse the repository at this point in the history
  4. style

    tolgacangoz committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    31c73fa View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Up

    tolgacangoz committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    a21e110 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    bc073fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33edbdd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96a788c View commit details
    Browse the repository at this point in the history
  4. Up

    tolgacangoz committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    d4f2911 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    3bc6f80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4259ac View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Refactor matryoshka.py to handle multiple model outputs in `Matryos…

    …hkaDDIMScheduler` for `use_clipped_model_output` param
    tolgacangoz committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    942c54a View commit details
    Browse the repository at this point in the history
  2. This model uses this.

    tolgacangoz committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    737bca0 View commit details
    Browse the repository at this point in the history
  3. Move extra_step_kwargs

    tolgacangoz committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    aabba08 View commit details
    Browse the repository at this point in the history
  4. style

    tolgacangoz committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    360f57e View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    83262f8 View commit details
    Browse the repository at this point in the history
  2. Simplify

    tolgacangoz committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e543379 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd91585 View commit details
    Browse the repository at this point in the history
  4. Update example usage

    tolgacangoz committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3430345 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Configuration menu
    Copy the full SHA
    149e8b5 View commit details
    Browse the repository at this point in the history
  2. style

    tolgacangoz committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    ecca7e3 View commit details
    Browse the repository at this point in the history
  3. simplify

    tolgacangoz committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    6fd62e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c90993d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5009be1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    29eceb7 View commit details
    Browse the repository at this point in the history
  7. revert

    tolgacangoz committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    4c3ba48 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'Add-Matryoshka-Diffusion-Models' of github.com:tolgacan…

    …goz/diffusers into Add-Matryoshka-Diffusion-Models
    tolgacangoz committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    8f0e888 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Update README.md

    tolgacangoz authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    1b756d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    787b1a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d197cc1 View commit details
    Browse the repository at this point in the history