YiYi Xu
a062e47ec3
add flax pipelines to api doc + doc string examples ( #2600 )
...
* add api doc for flax pipeline + doc string examples
* make style
---------
Co-authored-by: yiyixuxu <yixu@yis-macbook-pro.lan>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-03-09 13:00:29 +01:00
Antoine Bouthors
75f1210a0c
Fixed incorrect width/height assignment in StableDiffusionDepth2ImgPi… ( #2558 )
...
Fixed incorrect width/height assignment in StableDiffusionDepth2ImgPipeline when passing in tensor
2023-03-09 10:55:36 +01:00
Víctor Martínez
186689affd
fix: un-existing tmp config file in linux, avoid unnecessary disk IO ( #2591 )
2023-03-08 20:20:09 +01:00
Patrick von Platen
cbbad0af69
correct example
2023-03-08 20:14:19 +01:00
Haofan Wang
00132de359
Support LoRA for text encoder ( #2588 )
...
* add lora
* Update examples/research_projects/lora/README.md
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-03-08 20:14:01 +01:00
Ella Charlaix
a5d2ee9d47
Add OpenVINO documentation ( #2569 )
...
* Add OpenVINO documentation
* Update docs/source/en/optimization/open_vino.mdx
Co-authored-by: YiYi Xu <yixu310@gmail.com>
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com>
2023-03-08 20:07:44 +01:00
Steven Liu
68545a15d9
[docs] Update unconditional image generation docs ( #2592 )
...
* 📝 update and minor refactor
* ✨ minor edits
2023-03-08 09:47:49 -08:00
Patrick von Platen
445a176bde
[Docs] Fix link to colab ( #2604 )
2023-03-08 12:59:58 +01:00
Steven Liu
78507bda24
[docs] Build notebooks from Markdown ( #2570 )
...
* 📝 add mechanism for building colab notebook
* 🖍 add notebooks to correct folder
* 🖍 fix folder name
2023-03-08 12:13:19 +01:00
YiYi Xu
d2a5247a1f
Add notebook doc img2img ( #2472 )
...
* convert img2img.mdx into notebook doc
* fix
* Update docs/source/en/using-diffusers/img2img.mdx
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
---------
Co-authored-by: yiyixuxu <yixu@yis-macbook-pro.lan>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-03-07 20:00:56 -10:00
Will Berman
309d8cf9ab
add deps table check updated to ci ( #2590 )
2023-03-07 15:24:44 -08:00
Steven Liu
b285d94e10
[docs] Move Textual Inversion training examples to docs ( #2576 )
...
* 📝 add textual inversion examples to docs
* 🖍 apply feedback
* 🖍 add colab link
2023-03-07 14:21:18 -08:00
clarencechen
55660cfb6d
Improve dynamic thresholding and extend to DDPM and DDIM Schedulers ( #2528 )
...
* Improve dynamic threshold
* Update code
* Add dynamic threshold to ddim and ddpm
* Encapsulate and leverage code copy mechanism
Update style
* Clean up DDPM/DDIM constructor arguments
* add test
* also add to unipc
---------
Co-authored-by: Peter Lin <peterlin9863@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-03-07 23:10:26 +01:00
Michael Gartsbein
46bef6e31d
community stablediffusion controlnet img2img pipeline ( #2584 )
...
Co-authored-by: mishka <gartsocial@gmail.com>
2023-03-07 13:31:56 -08:00
Patrick von Platen
22a31760c4
[Docs] Weight prompting using compel ( #2574 )
...
* add docs
* correct
* finish
* Apply suggestions from code review
Co-authored-by: Will Berman <wlbberman@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
* update deps table
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
---------
Co-authored-by: Will Berman <wlbberman@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
2023-03-07 20:26:33 +01:00
zxypro
f0b661b8fb
[Docs]Fix invalid link to Pokemons dataset ( #2583 )
2023-03-07 14:26:09 +01:00
Isamu Isozaki
8552fd7efa
Added multitoken training for textual inversion. Issue 369 ( #661 )
...
* Added multitoken training for textual inversion
* Updated assertion
* Removed duplicate save code
* Fixed undefined bug
* Fixed save
* Added multitoken clip model +util helper
* Removed code splitting
* Removed class
* Fixed errors
* Fixed errors
* Added loading functionality
* Loading via dict instead
* Fixed bug of invalid index being loaded
* Fixed adding placeholder token only adding 1 token
* Fixed bug when initializing tokens
* Fixed bug when initializing tokens
* Removed flawed logic
* Fixed vector shuffle
* Fixed tokenizer's inconsistent __call__ method
* Fixed tokenizer's inconsistent __call__ method
* Handling list input
* Added exception for adding invalid tokens to token map
* Removed unnecessary files and started working on progressive tokens
* Set at minimum load one token
* Changed to global step
* Added method to load automatic1111 tokens
* Fixed bug in load
* Quality+style fixes
* Update quality/style fixes
* Cast embeddings to fp16 when loading
* Fixed quality
* Started moving things over
* Clearing diffs
* Clearing diffs
* Moved everything
* Requested changes
2023-03-07 12:09:36 +01:00
Hu Ye
e09a7d01c8
fix the default value of doc ( #2539 )
2023-03-07 11:40:22 +01:00
Pedro Cuenca
d3ce6f4b1e
Support revision in Flax text-to-image training ( #2567 )
...
Support revision in Flax text-to-image training.
2023-03-07 08:16:31 +01:00
Steven Liu
ff91f154ee
Update quicktour ( #2463 )
...
* first draft of updated quicktour
* 🖍 apply feedbacks
* 🖍 apply feedback and minor edits
* 🖍 add link to safety checker
2023-03-06 13:45:36 -08:00
Steven Liu
62bea2df36
[docs] Move text-to-image LoRA training from blog to docs ( #2527 )
...
* include text2image lora training in docs
* 🖍 apply feedback
* 🖍 minor edits
2023-03-06 13:45:07 -08:00
Steven Liu
9136be14a7
[docs] Move DreamBooth training materials to docs ( #2547 )
...
* move dbooth github stuff to docs
* add notebooks
* 🖍 minor shuffle
* 🖍 fix markdown table
* 🖍 apply feedback
* ✨ make style
* 🖍 minor fix in code snippet
2023-03-06 13:44:30 -08:00
Steven Liu
7004ff55d5
[docs] Move relevant code for text2image to docs ( #2537 )
...
* move relevant code from text2image on GitHub to docs
* 🖍 add inference for text2image with flax
* 🖍 apply feedback
2023-03-06 13:43:45 -08:00
Will Berman
ca7ca11bcd
community controlnet inpainting pipelines ( #2561 )
...
* community controlnet inpainting pipelines
* add community member attribution re: @pcuenca
2023-03-06 12:55:31 -08:00
YiYi Xu
c7da8fd233
add intermediate logging for dreambooth training script ( #2557 )
...
* add intermediate logging
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-03-06 08:13:12 -10:00
Patrick von Platen
b8bfef2ab9
make style
2023-03-06 19:11:45 +01:00
haixinxu
f3f626d556
Allow textual_inversion_flax script to use save_steps and revision flag ( #2075 )
...
* Update textual_inversion_flax.py
* Update textual_inversion_flax.py
* Typo
sorry.
* Format source
2023-03-06 19:11:27 +01:00
YiYi Xu
b7b4683bdc
allow Attend-and-excite pipeline work with different image sizes ( #2476 )
...
add attn_res variable
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-03-06 08:06:54 -10:00
Patrick von Platen
56958e1177
[Training] Fix tensorboard typo ( #2566 )
2023-03-06 15:13:38 +01:00
Patrick von Platen
ec021923d2
[Unet1d] correct docs ( #2565 )
2023-03-06 14:36:28 +01:00
Patrick von Platen
1598a57958
make style
2023-03-06 10:51:03 +00:00
Haofan Wang
63805f8af7
Support convert LoRA safetensors into diffusers format ( #2403 )
...
* add lora convertor
* Update convert_lora_safetensor_to_diffusers.py
* Update README.md
* Update convert_lora_safetensor_to_diffusers.py
2023-03-06 11:50:46 +01:00
Sean Sube
9920c333c6
add OnnxStableDiffusionUpscalePipeline pipeline ( #2158 )
...
* [Onnx] add Stable Diffusion Upscale pipeline
* add a test for the OnnxStableDiffusionUpscalePipeline
* check for VAE config before adjusting scaling factor
* update test assertions, lint fixes
* run fix-copies target
* switch test checkpoint to one hosted on huggingface
* partially restore attention mask
* reshape embeddings after running text encoder
* add longer nightly test for ONNX upscale pipeline
* use package import to fix tests
* fix scheduler compatibility and class labels dtype
* use more precise type
* remove LMS from fast tests
* lookup latent and timestamp types
* add docs for ONNX upscaling, rename lookup table
* replace deprecated pipeline names in ONNX docs
2023-03-06 11:48:01 +01:00
Patrick von Platen
f38e3626cd
make style
2023-03-06 10:40:18 +00:00
ForserX
5f826a35fb
Add custom vae (diffusers type) to onnx converter ( #2325 )
2023-03-06 11:39:55 +01:00
Will Berman
f7278638e4
ema step, don't empty cuda cache ( #2563 )
2023-03-06 10:54:56 +01:00
Vico Chu
b36cbd4fba
Fix: controlnet docs format ( #2559 )
2023-03-06 09:25:21 +01:00
Naga Sai Abhinay
2e3541d7f4
[Community Pipeline] Unclip Image Interpolation ( #2400 )
...
* unclip img interpolation poc
* Added code sample and refactoring.
2023-03-05 16:55:30 -08:00
Sanchit Gandhi
2b4f849db9
[PipelineTesterMixin] Handle non-image outputs for attn slicing test ( #2504 )
...
* [PipelineTesterMixin] Handle non-image outputs for batch/sinle inference test
* style
---------
Co-authored-by: William Berman <WLBberman@gmail.com>
2023-03-05 15:36:47 -08:00
Dhruv Nair
e4c356d3f6
Fix for InstructPix2PixPipeline to allow for prompt embeds to be passed in without prompts. ( #2456 )
...
* fix check inputs to allow prompt embeds in instruct pix2pix
* linting
* add reference comment to check inputs
* remove comment
* style changes
---------
Co-authored-by: Will Berman <wlbberman@gmail.com>
2023-03-05 11:42:50 -08:00
Nicolas Patry
2ea1da89ab
Fix regression introduced in #2448 ( #2551 )
...
* Fix regression introduced in #2448
* Style.
2023-03-04 16:11:57 +01:00
Steven Liu
fa6d52d594
Training tutorial ( #2473 )
...
* first draft
* ✨ minor edits
* ✨ minor fixes
* 🖍 apply feedbacks
* 🖍 apply feedback and minor edits
2023-03-03 15:41:03 -08:00
Will Berman
a72a057d62
move test num_images_per_prompt to pipeline mixin ( #2488 )
...
* attend and excite batch test causing timeouts
* move test num_images_per_prompt to pipeline mixin
* style
* prompt_key -> self.batch_params
2023-03-03 11:45:07 -08:00
Laveraaa
2f489571a7
Update pipeline_stable_diffusion_inpaint_legacy.py resize to integer multiple of 8 instead of 32 for init image and mask ( #2350 )
...
Update pipeline_stable_diffusion_inpaint_legacy.py
Change resize to integer multiple of 8 instead of 32
2023-03-03 19:08:22 +01:00
alvanli
e75eae3711
Bug Fix: Remove explicit message argument in deprecate ( #2421 )
...
Remove explicit message argument
2023-03-03 19:03:16 +01:00
Alex McKinney
5e5ce13e2f
adds `xformers` support to `train_unconditional.py` ( #2520 )
2023-03-03 18:35:59 +01:00
Patrick von Platen
7f0f7e1e91
Correct section docs ( #2540 )
2023-03-03 18:34:34 +01:00
Patrick von Platen
3d2648d743
[Post release] Push post release ( #2546 )
2023-03-03 18:11:01 +01:00
Nicolas Patry
1f4deb697f
Adding support for `safetensors` and LoRa. ( #2448 )
...
* Adding support for `safetensors` and LoRa.
* Adding metadata.
2023-03-03 18:00:19 +01:00
Patrick von Platen
f20c8f5a1a
Release: v0.14.0
2023-03-03 16:45:08 +01:00