1. 23 May, 2023 1 commit
  2. 18 Mar, 2023 1 commit
  3. 14 Mar, 2023 1 commit
  4. 10 Mar, 2023 1 commit
  5. 09 Mar, 2023 1 commit
  6. 06 Mar, 2023 1 commit
  7. 17 Jan, 2023 1 commit
  8. 06 Jan, 2023 1 commit
  9. 20 Dec, 2022 1 commit
    • Dhruv Naik's avatar
      Add Flax stable diffusion img2img pipeline (#1355) · a9190bad
      Dhruv Naik authored
      
      
      * add flax img2img pipeline
      
      * update pipeline
      
      * black format file
      
      * remove argg from get_timesteps
      
      * update get_timesteps
      
      * fix bug: make use of timesteps for for_loop
      
      * black file
      
      * black, isort, flake8
      
      * update docstring
      
      * update readme
      
      * update flax img2img readme
      
      * update sd pipeline init
      
      * Update src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * Update src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * update inits
      
      * revert change
      
      * update var name to image, typo
      
      * update readme
      
      * return new t_start instead of modified timestep
      
      * black format
      
      * isort files
      
      * update docs
      
      * fix-copies
      
      * update prng_seed typing
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      a9190bad
  10. 17 Dec, 2022 1 commit
  11. 14 Dec, 2022 2 commits
  12. 01 Dec, 2022 1 commit
    • fboulnois's avatar
      Standardize on using `image` argument in all pipelines (#1361) · 52eb0348
      fboulnois authored
      * feat: switch core pipelines to use image arg
      
      * test: update tests for core pipelines
      
      * feat: switch examples to use image arg
      
      * docs: update docs to use image arg
      
      * style: format code using black and doc-builder
      
      * fix: deprecate use of init_image in all pipelines
      52eb0348
  13. 17 Nov, 2022 1 commit
  14. 15 Nov, 2022 1 commit
  15. 10 Nov, 2022 1 commit
    • apolinario's avatar
      Add a reference to the name 'Sampler' (#1172) · a09d4753
      apolinario authored
      * Add a reference to the name 'Sampler'
      
      - Facilitate people that are familiar with the name samplers to understand that we call that schedulers
      - Better SEO if people are googling for samplers to find our library as well
      
      * Update README.md with a reference to 'Sampler'
      a09d4753
  16. 07 Nov, 2022 2 commits
  17. 03 Nov, 2022 1 commit
  18. 31 Oct, 2022 1 commit
  19. 28 Oct, 2022 1 commit
  20. 26 Oct, 2022 1 commit
  21. 25 Oct, 2022 1 commit
  22. 24 Oct, 2022 1 commit
  23. 19 Oct, 2022 1 commit
  24. 12 Oct, 2022 1 commit
  25. 05 Oct, 2022 3 commits
  26. 03 Oct, 2022 1 commit
  27. 01 Oct, 2022 1 commit
  28. 30 Sep, 2022 2 commits
  29. 16 Sep, 2022 1 commit
  30. 08 Sep, 2022 5 commits
    • Patrick von Platen's avatar
      [Docs] Correct links (#432) · 44968e42
      Patrick von Platen authored
      44968e42
    • anton-l's avatar
      Release: 0.3.0 · 3f55d135
      anton-l authored
      3f55d135
    • Satpal Singh Rathore's avatar
      Improve unconditional diffusers example (#414) · 1d7adf13
      Satpal Singh Rathore authored
      
      
      * use gpu and improve
      
      * Update README.md
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * Update README.md
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      1d7adf13
    • Satpal Singh Rathore's avatar
      Improve latent diff example (#413) · f4a785ce
      Satpal Singh Rathore authored
      
      
      * improve latent diff example
      
      * use gpu
      
      * Update README.md
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * Update README.md
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      f4a785ce
    • Pedro Cuenca's avatar
      Inference support for `mps` device (#355) · 5dda1735
      Pedro Cuenca authored
      * Initial support for mps in Stable Diffusion pipeline.
      
      * Initial "warmup" implementation when using mps.
      
      * Make some deterministic tests pass with mps.
      
      * Disable training tests when using mps.
      
      * SD: generate latents in CPU then move to device.
      
      This is especially important when using the mps device, because
      generators are not supported there. See for example
      https://github.com/pytorch/pytorch/issues/84288.
      
      In addition, the other pipelines seem to use the same approach: generate
      the random samples then move to the appropriate device.
      
      After this change, generating an image in MPS produces the same result
      as when using the CPU, if the same seed is used.
      
      * Remove prints.
      
      * Pass AutoencoderKL test_output_pretrained with mps.
      
      Sampling from `posterior` must be done in CPU.
      
      * Style
      
      * Do not use torch.long for log op in mps device.
      
      * Perform incompatible padding ops in CPU.
      
      UNet tests now pass.
      See https://github.com/pytorch/pytorch/issues/84535
      
      
      
      * Style: fix import order.
      
      * Remove unused symbols.
      
      * Remove MPSWarmupMixin, do not apply automatically.
      
      We do apply warmup in the tests, but not during normal use.
      This adopts some PR suggestions by @patrickvonplaten.
      
      * Add comment for mps fallback to CPU step.
      
      * Add README_mps.md for mps installation and use.
      
      * Apply `black` to modified files.
      
      * Restrict README_mps to SD, show measures in table.
      
      * Make PNDM indexing compatible with mps.
      
      Addresses #239.
      
      * Do not use float64 when using LDMScheduler.
      
      Fixes #358.
      
      * Fix typo identified by @patil-suraj
      Co-authored-by: default avatarSuraj Patil <surajp815@gmail.com>
      
      * Adapt example to new output style.
      
      * Restore 1:1 results reproducibility with CompVis.
      
      However, mps latents need to be generated in CPU because generators
      don't work in the mps device.
      
      * Move PyTorch nightly to requirements.
      
      * Adapt `test_scheduler_outputs_equivalence` ton MPS.
      
      * mps: skip training tests instead of ignoring silently.
      
      * Make VQModel tests pass on mps.
      
      * mps ddim tests: warmup, increase tolerance.
      
      * ScoreSdeVeScheduler indexing made mps compatible.
      
      * Make ldm pipeline tests pass using warmup.
      
      * Style
      
      * Simplify casting as suggested in PR.
      
      * Add Known Issues to readme.
      
      * `isort` import order.
      
      * Remove _mps_warmup helpers from ModelMixin.
      
      And just make changes to the tests.
      
      * Skip tests using unittest decorator for consistency.
      
      * Remove temporary var.
      
      * Remove spurious blank space.
      
      * Remove unused symbol.
      
      * Remove README_mps.
      Co-authored-by: default avatarSuraj Patil <surajp815@gmail.com>
      Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> 
      5dda1735
  31. 06 Sep, 2022 1 commit