- 01 Dec, 2022 6 commits
-
-
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 7 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.
-
Pedro Cuenca authored
Fix Flax `from_pt`. It worked for models but not for pipelines. Accidentally broken in #1107.
-
Suraj Patil authored
* add get_velocity * add v prediction for training * fix saving * add revision arg * fix saving * save checkpoints dreambooth * fix saving embeds * add instruction in readme * quality * noise_pred -> model_pred
-
Patrick von Platen authored
Remove kwargs from call
-
Anton Lozhkov authored
-
Nicolas Patry authored
* [Proposal] Support loading from safetensors if file is present. * Style. * Fix. * Adding some test to check loading logic. + modify download logic to not download pytorch file if not necessary. * Fixing the logic. * Adressing comments. * factor out into a function. * Remove dead function. * Typo. * Extra fetch only if safetensors is there. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 25 Nov, 2022 14 commits
-
-
anton- authored
-
Kashif Rasul authored
fixed typos
-
Patrick von Platen authored
* up * up * up * up
-
Kashif Rasul authored
* added initial v-pred support to DPM-solver * fix sign * added v_prediction to flax * fixed typo
-
-
Patrick von Platen authored
-
Suraj Patil authored
* StableDiffusionUpscalePipeline * fix a few things * make it better * fix image batching * run vae in fp32 * fix docstr * resize to mul of 64 * doc * remove safety_checker * add max_noise_level * fix Copied * begin tests * slow tests * default max_noise_level * remove kwargs * doc * fix * fix fast tests * fix fast tests * no sf * don't offload vae Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Anton Lozhkov authored
-
Patrick von Platen authored
* fix * fix deprecated kwargs logic * add tests * finish
-
Anton Lozhkov authored
-
Pedro Cuenca authored
* Adapt ddpm, ddpmsolver to prediction_type. * Deprecate predict_epsilon in __init__. * Bring FlaxDDIMScheduler up to date with DDIMScheduler. * Set prediction_type as an ivar for consistency. * Convert pipeline_ddpm * Adapt tests. * Adapt unconditional training script. * Adapt BitDiffusion example. * Add missing kwargs in dpmsolver_multistep * Ugly workaround to accept deprecated predict_epsilon when loading schedulers using from_pretrained. * make style * Remove import no longer in use. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Use config.prediction_type everywhere * Add a couple of Flax prediction type tests. * make style * fix register deprecated arg Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
Kashif Rasul authored
* call contiguous after permute Fixes for MPS device * Fix MPS UserWarning * make style * Revert "Fix MPS UserWarning" This reverts commit b46c32810ee5fdc4c16a8e9224a826490b66cf49.
-
Patrick von Platen authored
fix all tests
-
Patrick von Platen authored
-