- 23 Aug, 2023 2 commits
-
-
Sayak Paul authored
* fix: casting issues. * fix checkpointing. * tests * fix: bugs
-
Ollin Boer Bohan authored
* Fix AutoencoderTiny encoder scaling convention * Add [-1, 1] -> [0, 1] rescaling to EncoderTiny * Move [0, 1] -> [-1, 1] rescaling from AutoencoderTiny.decode to DecoderTiny (i.e. immediately after the final conv, as early as possible) * Fix missing [0, 255] -> [0, 1] rescaling in AutoencoderTiny.forward * Update AutoencoderTinyIntegrationTests to protect against scaling issues. The new test constructs a simple image, round-trips it through AutoencoderTiny, and confirms the decoded result is approximately equal to the source image. This test checks behavior with and without tiling enabled. This test will fail if new AutoencoderTiny scaling issues are introduced. * Context: Raw TAESD weights expect images in [0, 1], but diffusers' convention represents images with zero-centered values in [-1, 1], so AutoencoderTiny needs to scale / unscale images at the start of encoding and at the end of decoding in order to work with diffusers. * Re-add existing AutoencoderTiny test, update golden values * Add comments to AutoencoderTiny.forward
-
- 22 Aug, 2023 12 commits
-
-
Patrick von Platen authored
-
Patrick von Platen authored
* [Docs] Fix all * fix
-
Patrick von Platen authored
This reverts commit 7b07f981.
-
Patrick von Platen authored
* rename test file to run, so that examples tests do not fail * [Tests] Rename community tests
-
Patrick von Platen authored
-
zideliu authored
* ADD SDXL reference & reference adain * Update README.md * Update README.md * format stable_diffusion_xl_reference.py * format file * Format file * format file * fix format * fix format with ruff * fix format * Update examples/community/README.md Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com> * Update examples/community/README.md Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com> * Update README.md * Update README.md & fix typo * Update README.md * fix format --------- Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com>
-
realliujiaxu authored
convert diffuser pipeline of XL to original stable diffusion Co-authored-by:Dhruv Nair <dhruv.nair@gmail.com>
-
Alex McKinney authored
This is a better method than comparing against a list of supported backends as it allows for supporting any number of backends provided they are installed on the user's system. This should have no effect on the behaviour of tests in Huggingface's CI workers. See transformers#25506 where this approach has already been added.
-
Sayak Paul authored
default to None when fc alphas are not available.
-
Sayak Paul authored
* debugging starts * debugging * debugging * debugging * debugging * debugging * debugging ends, but does it? * more robustness.
-
Sayak Paul authored
* enable lora for sdxl controlnets too. * add: tests * fix: assertion values.
-
dg845 authored
* Add note regarding UniDiffuser pipeline numerical stability issues on PyTorch 1.X * Use the doc-builder warning tag.
-
- 21 Aug, 2023 1 commit
-
-
Sanchit Gandhi authored
* from audioldm * unet down + mid * vae, clap, flan-t5 * start sequence audio mae * iterate on audioldm encoder * finish encoder * finish weight conversion * text pre-processing * gpt2 pre-processing * fix projection model * working * unet equivalence * finish in base * add unet cond * finish unet * finish custom unet * start clean-up * revert base unet changes * refactor pre-processing * tests: from audioldm * fix some tests * more fixes * iterate on tests * make fix copies * harden fast tests * slow integration tests * finish tests * update checkpoint * update copyright * docs * remove outdated method * add docstring * make style * remove decode latents * enable cpu offload * (text_encoder_1, tokenizer_1) -> (text_encoder, tokenizer) * more clean up * more refactor * build pr docs * Update docs/source/en/api/pipelines/audioldm2.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * small clean * tidy conversion * update for large checkpoint * generate -> generate_language_model * full clap model * shrink clap-audio in tests * fix large integration test * fix fast tests * use generation config * make style * update docs * finish docs * finish doc * update tests * fix last test * syntax * finalise tests * refactor projection model in prep for TTS * fix fast tests * style --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 18 Aug, 2023 3 commits
-
-
zuojianghua authored
* Update loaders.py add config_file to from_single_file, when the download_from_original_stable_diffusion_ckpt use * Update loaders.py add config_file to from_single_file, when the download_from_original_stable_diffusion_ckpt use * change config_file to original_config_file * make style && make quality --------- Co-authored-by:
jianghua.zuo <jianghua.zuo@weimob.com> Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com>
-
Andrew Zhu authored
* Add SDXL long weighted prompt pipeline * Add SDXL long weighted prompt pipeline usage sample in the readme document * Add SDXL long weighted prompt pipeline usage sample in the readme document, add result image
-
Isotr0py authored
* Impl tae slicing and tiling * add tae tiling test * add parameterized test * formatted code * fix failed test * style docs
-
- 17 Aug, 2023 9 commits
-
-
Sayak Paul authored
-
Sayak Paul authored
-
Jacqui Wei authored
Fix `use_onnx` parameter usage in `from_pretrained` func and update `test_download_no_onnx_by_default` test (#4508) * add missing use_onnx in from_pretrained func * fix test_download_no_onnx_by_default test func * address comments * split test cases
-
Patrick von Platen authored
* make safetensors default * set default save method as safetensors * update tests * update to support saving safetensors * update test to account for safetensors default * update example tests to use safetensors * update example to support safetensors * update unet tests for safetensors * fix failing loader tests * fix qc issues * fix pipeline tests * fix example test --------- Co-authored-by:Dhruv Nair <dhruv.nair@gmail.com>
-
Batuhan Taskaya authored
* Support higher dimension LoRAs * add: tests * fix: assertion values. --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Scott Lessans authored
* fixed * add: tests --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
-
Dhruv Nair authored
fix loading custom text encoder when using from_single_file
-
Steven Liu authored
multicontrolnet docs
-
- 16 Aug, 2023 7 commits
-
-
Steven Liu authored
* push to hub docs * fix typo * feedback * make style
-
Sayak Paul authored
* core: add multicontrolnet support to sdxl controlnet * modify checks. * fix: original_size determination * add: tests for multi controlnet sdxl. * remove unnecessary prints.
-
Suraj Patil authored
add controlent script,
-
Dirk Morris authored
* Fix unipc karras sigmas exception - fixes huggingface/diffusers#4580 * Add unipc scheduler tests for karras sigmas
-
Sayak Paul authored
-
nikhil-masterful authored
* Add GLIGEN implementation * GLIGEN: Fix code quality check failures * GLIGEN: Fix Import block un-sorted or un-formatted failures * GLIGEN: Fix check_repository_consistency failures * GLIGEN: Add 'PositionNet' to versatile_diffusion/modeling_text_unet.py * GLIGEN: check_repository_consistency: fix 'copy does not match' error * GLIGEN: Fix review comments (1) * GLIGEN: Fix E721 Do not compare types, use `isinstance()` failures * GLIGEN : Ensure _encode_prompt() copy matches to StableDiffusionPipeline * GLIGEN: Fix ruff E721 failure in unidiffuser/test_unidiffuser.py * GLIGEN: doc_builder: restyle pipeline_stable_diffusion_gligen.py * GIGLEN: reset files unrelated to gligen * GLIGEN: Fix documentation comments (1) * GLIGEN: Fix review comments (2) * GLIGEN: Added FastTest * GLIGEN: Fix review comments (3)
-
Sayak Paul authored
* add: train to text image with sdxl script. Co-authored-by:
CaptnSeraph <s3raph1m@gmail.com> * fix: partial func. * fix: default value of output_dir. * make style * set num inference steps to 25. * remove mentions of LoRA. * up min version * add: ema cli arg * run device placement while running step. * precompute vae encodings too. * fix * debug * should work now. * debug * debug * goes alright? * style * debugging * debugging * debugging * debugging * fix * reinit scheduler if prediction_type was passed. * akways cast vae in float32 * better handling of snr. Co-authored-by:
bghira <bghira@users.github.com> * the vae should be also passed * add: docs. * add: sdlx t2i tests * save the pipeline * autocast. * fix: save_model_card * fix: save_model_card. --------- Co-authored-by:
CaptnSeraph <s3raph1m@gmail.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
bghira <bghira@users.github.com>
-
- 15 Aug, 2023 4 commits
-
-
Sayak Paul authored
* add: pushtohubmixin to pipelines and schedulers docs overview. * Apply suggestions from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Sayak Paul authored
* fix links in the controlling generation doc. * more fixes.
-
Wang Qiang authored
-
Sayak Paul authored
[Pipeline utils] feat: implement push_to_hub for standalone models, schedulers as well as pipelines (#4128) * feat: implement push_to_hub for standalone models. * address PR feedback. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * remove max_shard_size. * add: support for scheduler push_to_hub * enable push_to_hub support for flax schedulers. * enable push_to_hub for pipelines. * Apply suggestions from code review Co-authored-by:
Lucain <lucainp@gmail.com> * reflect pr feedback. * address another round of deedback. * better handling of kwargs. * add: tests * Apply suggestions from code review Co-authored-by:
Lucain <lucainp@gmail.com> * setting hub staging to False for now. * incorporate staging test as a separate job. Co-authored-by:
ydshieh <2521628+ydshieh@users.noreply.github.com> * fix: tokenizer loading. * fix: json dumping. * move is_staging_test to a better location. * better treatment to tokens. * define repo_id to better handle concurrency * style * explicitly set token * Empty-Commit * move SUER, TOKEN to test * collate org_repo_id * delete repo --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Lucain <lucainp@gmail.com> Co-authored-by:
ydshieh <2521628+ydshieh@users.noreply.github.com>
-
- 14 Aug, 2023 2 commits
-
-
Sayak Paul authored
* Update README_sdxl.md to fix mentions * add --push_to_hub * add --push_to_hub * fix: mention
-
Claire Froelich authored
fix typo in git-lfs command added missing hyphen. "git lfs" is not a command
-