"vscode:/vscode.git/clone" did not exist on "b389f339ec016cb83f0975c1c9cc0d7965e411f8"
  1. 04 Jan, 2023 1 commit
    • Yasyf Mohamedali's avatar
      Support training SD V2 with Flax (#1783) · 856331c6
      Yasyf Mohamedali authored
      * Support training SD V2 with Flax
      
      Mostly involves supporting a v_prediction scheduler.
      
      The implementation in #1777 doesn't take into account a recent refactor of `scheduling_utils_flax`, so this should be used instead.
      
      * Add to other top-level files.
      856331c6
  2. 20 Dec, 2022 1 commit
  3. 18 Nov, 2022 1 commit
  4. 15 Nov, 2022 1 commit
  5. 25 Oct, 2022 1 commit
  6. 07 Oct, 2022 1 commit
  7. 03 Oct, 2022 1 commit
    • Pedro Cuenca's avatar
      Fix import with Flax but without PyTorch (#688) · 688031c5
      Pedro Cuenca authored
      * Don't use `load_state_dict` if torch is not installed.
      
      * Define `SchedulerOutput` to use torch or flax arrays.
      
      * Don't import LMSDiscreteScheduler without torch.
      
      * Create distinct FlaxSchedulerOutput.
      
      * Additional changes required for FlaxSchedulerMixin
      
      * Do not import torch pipelines in Flax.
      
      * Revert "Define `SchedulerOutput` to use torch or flax arrays."
      
      This reverts commit f653140134b74d9ffec46d970eb46925fe3a409d.
      
      * Prefix Flax scheduler outputs for consistency.
      
      * make style
      
      * FlaxSchedulerOutput is now a dataclass.
      
      * Don't use f-string without placeholders.
      
      * Add blank line.
      
      * Style (docstrings)
      688031c5
  8. 27 Sep, 2022 2 commits
    • Kashif Rasul's avatar
      [Pytorch] add dep. warning for pytorch schedulers (#651) · 85494e88
      Kashif Rasul authored
      * add dep. warning for schedulers
      
      * fix format
      85494e88
    • Kashif Rasul's avatar
      [Pytorch] Pytorch only schedulers (#534) · bd8df2da
      Kashif Rasul authored
      
      
      * pytorch only schedulers
      
      * fix style
      
      * remove match_shape
      
      * pytorch only ddpm
      
      * remove SchedulerMixin
      
      * remove numpy from karras_ve
      
      * fix types
      
      * remove numpy from lms_discrete
      
      * remove numpy from pndm
      
      * fix typo
      
      * remove mixin and numpy from sde_vp and ve
      
      * remove remaining tensor_format
      
      * fix style
      
      * sigmas has to be torch tensor
      
      * removed set_format in readme
      
      * remove set format from docs
      
      * remove set_format from pipelines
      
      * update tests
      
      * fix typo
      
      * continue to use mixin
      
      * fix imports
      
      * removed unsed imports
      
      * match shape instead of assuming image shapes
      
      * remove import typo
      
      * update call to add_noise
      
      * use math instead of numpy
      
      * fix t_index
      
      * removed commented out numpy tests
      
      * timesteps needs to be discrete
      
      * cast timesteps to int in flax scheduler too
      
      * fix device mismatch issue
      
      * small fix
      
      * Update src/diffusers/schedulers/scheduling_pndm.py
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      bd8df2da
  9. 08 Sep, 2022 1 commit
  10. 05 Sep, 2022 1 commit
  11. 21 Jul, 2022 1 commit
  12. 20 Jul, 2022 1 commit
  13. 19 Jul, 2022 1 commit
  14. 18 Jul, 2022 1 commit
    • Nathan Lambert's avatar
      VE/VP SDE updates (#90) · 63c68d97
      Nathan Lambert authored
      
      
      * improve comments for sde_ve scheduler, init tests
      
      * more comments, tweaking pipelines
      
      * timesteps --> num_training_timesteps, some comments
      
      * merge cpu test, add m1 data
      
      * fix scheduler tests with num_train_timesteps
      
      * make np compatible, add tests for sde ve
      
      * minor default variable fixes
      
      * make style and fix-copies
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      63c68d97
  15. 27 Jun, 2022 2 commits
  16. 20 Jun, 2022 1 commit
  17. 17 Jun, 2022 1 commit
  18. 13 Jun, 2022 1 commit
  19. 12 Jun, 2022 1 commit
  20. 08 Jun, 2022 1 commit