- 03 Dec, 2022 1 commit
-
-
Ilmari Heikkinen authored
* Add xformers attention to VAE * Simplify VAE xformers code * Update src/diffusers/models/attention.py Co-authored-by:
Ilmari Heikkinen <ilmari@fhtr.org> Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
- 02 Dec, 2022 15 commits
-
-
Matthieu Bizien authored
* Add parameter safe_serialization to DiffusionPipeline.save_pretrained * Add option safe_serialization on ModelMixin.save_pretrained * Add test test_save_safe_serialization * Black * Re-trigger the CI * Fix doc-builder * Validate files are saved as safetensor in test_save_safe_serialization
-
Patrick von Platen authored
-
Patrick von Platen authored
-
bachr authored
- Add the missing `scale_model_input` method to `FlaxLMSDiscreteScheduler` - Use `jnp.append` for appending to `state.derivatives` - Use `jnp.delete` to pop from `state.derivatives`
-
Adalberto authored
* Create train_dreambooth_inpaint.py train_dreambooth.py adapted to work with the inpaint model, generating random masks during the training * Update train_dreambooth_inpaint.py refactored train_dreambooth_inpaint with black * Update train_dreambooth_inpaint.py * Update train_dreambooth_inpaint.py * Update train_dreambooth_inpaint.py Fix prior preservation * add instructions to readme, fix SD2 compatibility
-
Antoine Bouthors authored
* Fixed mask+masked_image in sd inpaint pipeline Those were left unset when inputs are not PIL images * Fixed formatting
-
Patrick von Platen authored
* up * up * finish * finish * up * up * finish
-
Pedro Gabriel Gengo Lourenço authored
Fixed doc to install from training packages
-
Dhruv Naik authored
fix typo, remove incorrect arguments from .train()
-
Pedro Cuenca authored
* Do not use torch.long in mps Addresses #1056. * Use torch.int instead of float. * Propagate changes. * Do not silently change float -> int. * Propagate changes. * Apply suggestions from code review Co-authored-by:
Anton Lozhkov <anton@huggingface.co> Co-authored-by:
Anton Lozhkov <anton@huggingface.co>
-
Benjamin Lefaudeux authored
* Moving the mem efficiient attention activation to the top + recursive * black, too bad there's no pre-commit ? Co-authored-by:Benjamin Lefaudeux <benjamin@photoroom.com>
-
Patrick von Platen authored
* Conversion SD 2 * finish
-
Patrick von Platen authored
Allow returning local path
-
Will Berman authored
-
Will Berman authored
-
- 01 Dec, 2022 9 commits
-
-
Suraj Patil authored
-
Anton Lozhkov authored
* Add an explicit `--image_size` to the conversion script * style
-
Akash Gokul authored
* Fix Flax flip_sin_to_cos * Adding flip_sin_to_cos Co-authored-by:Kashif Rasul <kashif.rasul@gmail.com>
-
Suraj Patil authored
* support v prediction in other schedulers * v heun * add tests for v pred * fix tests * fix test euler a * v ddpm
-
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
-
Suraj Patil authored
-
Patrick von Platen authored
* Correct stacklevel * fix
-
Anton Lozhkov authored
* Replace deprecated hub utils in `train_unconditional_ort` * typo
-
regisss authored
* Add doc for Stable Diffusion on Habana Gaudi * Make style * Add benchmark * Center-align columns in the benchmark table
-
- 30 Nov, 2022 6 commits
-
-
Anton Lozhkov authored
-
Pedro Cuenca authored
Remove reminder comment.
-
Patrick von Platen authored
* Add better docs xformers * update * Apply suggestions from code review * fix
-
Patrick von Platen authored
* [Dreambooth] Make compatible with alt diffusion * make style * add example
-
Patrick von Platen authored
* Add test * up * no bfloat16 for mps * fix * rename test
-
Patrick von Platen authored
-
- 29 Nov, 2022 7 commits
-
-
Anton Lozhkov authored
* Add `ort_nightly_directml` to the `onnxruntime` candidates * style
-
Anton Lozhkov authored
-
Rohan Taori authored
* cast to float for quantile method * add fp16 test for DPMSolverMultistepScheduler fix * formatting update
-
Ilmari Heikkinen authored
* StableDiffusion: Decode latents separately to run larger batches * Move VAE sliced decode under enable_vae_sliced_decode and vae.enable_sliced_decode * Rename sliced_decode to slicing * fix whitespace * fix quality check and repository consistency * VAE slicing tests and documentation * API doc hooks for VAE slicing * reformat vae slicing tests * Skip VAE slicing for one-image batches * Documentation tweaks for VAE slicing Co-authored-by:Ilmari Heikkinen <ilmari@fhtr.org>
-
Alex McKinney authored
* updates img2img_inpainting README * Adds example image to community pipeline README
-
Pedro Cuenca authored
* Flax: start adapting to Stable Diffusion 2 * More changes. * attention_head_dim can be a tuple. * Fix typos * Add simple SD 2 integration test. Slice values taken from my Ampere GPU. * Add simple UNet integration tests for Flax. Note that the expected values are taken from the PyTorch results. This ensures the Flax and PyTorch versions are not too far off. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Typos and style * Tests: verify jax is available. * Style * Make flake happy * Remove typo. * Simple Flax SD 2 pipeline tests. * Import order * Remove unused import. Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by: @camenduru
-
Patrick von Platen authored
-
- 28 Nov, 2022 2 commits
-
-
Patrick von Platen authored
* Add heun * Finish first version of heun * remove bogus * finish * finish * improve * up * up * fix more * change progress bar * Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py * finish * up * up * up
-
Pedro Cuenca authored
* Ensure Flax pipeline always returns numpy array. * Clarify documentation.
-