- 22 May, 2023 1 commit
-
-
Patrick von Platen authored
* up * fix more * Apply suggestions from code review * fix more * fix more * Check it * Remove 16:8 * fix more * fix more * fix more * up * up * Test only stable diffusion * Test only two files * up * Try out spinning up processes that can be killed * up * Apply suggestions from code review * up * up
-
- 21 May, 2023 2 commits
-
-
Sayak Paul authored
add note on local directory path. Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Sayak Paul authored
* add: debugging to enabling memory efficient processing * add: better warning message.
-
- 20 May, 2023 1 commit
-
-
Pedro Cuenca authored
* Remove ONNX tests from PR. They are already a part of push_tests.yml. * Remove mps tests from PRs. They are already performed on push. * Fix workflow name for fast push tests. * Extract mps tests to a workflow. For better control/filtering. * Remove --extra-index-url from mps tests * Increase tolerance of mps test This test passes in my Mac (Ventura 13.3) but fails in the CI hardware (Ventura 13.2). I ran the local tests following the same steps that exist in the CI workflow. * Temporarily run mps tests on pr So we can test. * Revert "Temporarily run mps tests on pr" Tests passed, go back to running on push.
-
- 19 May, 2023 5 commits
-
-
Will Berman authored
explicit view kernel size as number elements in flattened indices
-
Steven Liu authored
* distributed inference * move to inference section * apply feedback * update with split_between_processes * apply feedback
-
Steven Liu authored
* add textual inversion inference to docs * add to toctree --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
-
Will Berman authored
* dreambooth docs torch.compile note * Update examples/dreambooth/README.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * Update examples/dreambooth/README.md Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co>
-
- 18 May, 2023 2 commits
-
-
Will Berman authored
-
Will Berman authored
-
- 17 May, 2023 11 commits
-
-
Will Berman authored
-
Will Berman authored
-
Patrick von Platen authored
* Correct from_ckpt * make style
-
Glaceon-Hyy authored
* add inpaint lora scale support * add inpaint lora scale test --------- Co-authored-by:yueyang.hyy <yueyang.hyy@alibaba-inc.com>
-
wfng92 authored
add min snr to text2img lora training script
-
cmdr2 authored
Release large tensors in attention (as soon as they're no longer required). Reduces peak VRAM by nearly 2 GB for 1024x1024 (even after slicing), and the savings scale up with image size.
-
Patrick von Platen authored
* Make dreambooth lora more robust to orig unet * up
-
7eu7d7 authored
* gradient checkpointing bug fix * bug fix; changes for reviews * reformat * reformat --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Vimarsh Chaturvedi authored
Added bugfix using f strings.
-
Rupert Menneer authored
* Added explanation of 'strength' parameter * Added get_timesteps function which relies on new strength parameter * Added `strength` parameter which defaults to 1. * Swapped ordering so `noise_timestep` can be calculated before masking the image this is required when you aren't applying 100% noise to the masked region, e.g. strength < 1. * Added strength to check_inputs, throws error if out of range * Changed `prepare_latents` to initialise latents w.r.t strength inspired from the stable diffusion img2img pipeline, init latents are initialised by converting the init image into a VAE latent and adding noise (based upon the strength parameter passed in), e.g. random when strength = 1, or the init image at strength = 0. * WIP: Added a unit test for the new strength parameter in the StableDiffusionInpaintingPipeline still need to add correct regression values * Created a is_strength_max to initialise from pure random noise * Updated unit tests w.r.t new strength parameter + fixed new strength unit test * renamed parameter to avoid confusion with variable of same name * Updated regression values for new strength test - now passes * removed 'copied from' comment as this method is now different and divergent from the cpy * Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Ensure backwards compatibility for prepare_mask_and_masked_image created a return_image boolean and initialised to false * Ensure backwards compatibility for prepare_latents * Fixed copy check typo * Fixes w.r.t backward compibility changes * make style * keep function argument ordering same for backwards compatibility in callees with copied from statements * make fix-copies --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
William Berman <WLBberman@gmail.com>
-
Dev Aggarwal authored
* Update pipeline_if_superresolution.py Allow arbitrary aspect ratio in IFSuperResolutionPipeline by using the input image shape * IFSuperResolutionPipeline: allow the user to override the height and width through the arguments * update IFSuperResolutionPipeline width/height doc string to match StableDiffusionInpaintPipeline conventions --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 16 May, 2023 8 commits
-
-
Pedro Cuenca authored
Small update to "Next steps" section: - PyTorch 2 is recommended. - Updated improvement figures.
-
superlabs-dev authored
fix tiled vae bleand extent range
-
Laureηt authored
Fix incomplete docstrings for resnet.py
-
clarencechen authored
* Add DPM-Solver Multistep Inverse Scheduler * Add draft tests for DiffEdit * Add inverse sde-dpmsolver steps to tune image diversity from inverted latents * Fix tests --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Patrick von Platen authored
* refactor controlnet and add img2img and inpaint * First draft to get pipelines to work * make style * Fix more * Fix more * More tests * Fix more * Make inpainting work * make style and more tests * Apply suggestions from code review * up * make style * Fix imports * Fix more * Fix more * Improve examples * add test * Make sure import is correctly deprecated * Make sure everything works in compile mode * make sure authorship is correctly attributed
-
asfiyab-nvidia authored
* add stable diffusion tensorrt img2img pipeline Signed-off-by:
Asfiya Baig <asfiyab@nvidia.com> * update docstrings Signed-off-by:
Asfiya Baig <asfiyab@nvidia.com> --------- Signed-off-by:
Asfiya Baig <asfiyab@nvidia.com>
-
Patrick von Platen authored
-
Jongwoo Han authored
Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 15 May, 2023 2 commits
-
-
Will Berman authored
-
Pedro Cuenca authored
* Fix style rendering. * Fix typo
-
- 13 May, 2023 1 commit
-
-
Sayak Paul authored
* add: benchmarking stats for A100 and V100. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * address patrick's comments. * add: rtx 4090 stats *
⚔ benchmark reports done * Apply suggestions from code review Co-authored-by:Pedro Cuenca <pedro@huggingface.co> * 3313 pr link. * add: plots. Co-authored-by:
Pedro <pedro@huggingface.co> * fix formattimg * update number percent. --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co>
-
- 12 May, 2023 6 commits
-
-
Will Berman authored
* Replace `AttentionBlock` with `Attention` * use _from_deprecated_attn_block check re: @patrickvonplaten
-
Patrick von Platen authored
Update pr_tests.yml
-
Patrick von Platen authored
-
Patrick von Platen authored
-
Laureηt authored
* Add `sigmoid` beta scheduler to `DDPMScheduler` docstring * Add `sigmoid` beta scheduler to `RePaintScheduler` docstring --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Sayak Paul authored
-
- 11 May, 2023 1 commit
-
-
Patrick von Platen authored
* up * up
-