Pu Cao
cc2c4ae759
fix inference in custom diffusion ( #5329 )
...
* Update train_custom_diffusion.py
* make style
* Empty-Commit
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-10-09 10:08:01 +02:00
chuzh
6bd55b54bc
Fix [core/GLIGEN]: TypeError when iterating over 0-d tensor with In-painting mode when EulerAncestralDiscreteScheduler is used ( #5305 )
...
* fix(gligen_inpaint_pipeline): 🐛 Wrap the timestep() 0-d tensor in a list to convert to 1-d tensor. This avoids the TypeError caused by trying to directly iterate over a 0-dimensional tensor in the denoising stage
* test(gligen/gligen_text_image): unit test using the EulerAncestralDiscreteScheduler
---------
Co-authored-by: zhen-hao.chu <zhen-hao.chu@vitrox.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-10-09 09:54:01 +02:00
Sayak Paul
d56825e4b4
fix: how print training resume logs. ( #5117 )
...
* fix: how print training resume logs.
* propagate changes to text-to-image scripts.
* propagate changes to instructpix2pix.
* propagate changes to dreambooth
* propagate changes to custom diffusion and instructpix2pix
* propagate changes to kandinsky
* propagate changes to textual inv.
* debug
* fix: checkpointing.
* debug
* debug
* debug
* back to the square
* debug
* debug
* change condition order.
* debug
* debug
* debug
* debug
* revert to original
* clean
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-10-02 18:29:52 +02:00
Ruoxi
16b9a57d29
Implement CustomDiffusionAttnProcessor2_0. ( #4604 )
...
* Implement `CustomDiffusionAttnProcessor2_0`
* Doc-strings and type annotations for `CustomDiffusionAttnProcessor2_0`. (#1 )
* Update attnprocessor.md
* Update attention_processor.py
* Interops for `CustomDiffusionAttnProcessor2_0`.
* Formatted `attention_processor.py`.
* Formatted doc-string in `attention_processor.py`
* Conditional CustomDiffusion2_0 for training example.
* Remove unnecessary reference impl in comments.
* Fix `save_attn_procs`.
2023-09-18 14:49:00 +02:00
Patrick von Platen
342c5c02c0
[Release 0.21] Bump version ( #5018 )
...
* [Release 0.21] Bump version
* fix & remove
* fix more
* fix all, upload
2023-09-14 18:28:57 +02:00
Canberk Kandemir
0d81e543a2
Unet fix ( #4769 )
...
* Optional images variable train_custom_diffusion.py
* Fixed train_custom_diffusion.py
* Revert accidental changes to unet_2d_condition.py
* "Format code with black"
2023-08-26 11:01:24 +02:00
Sayak Paul
d0c30cfd37
make post-release ( #4650 )
2023-08-17 14:16:25 +05:30
Patrick von Platen
029fb41695
[Safetensors] Make safetensors the default way of saving weights ( #4235 )
...
* 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 >
2023-08-17 10:54:28 +05:30
Patrick von Platen
20e92586c1
0.20.0dev0 ( #4299 )
...
* 0.20.0dev0
* make style
2023-07-26 23:06:18 +02:00
nupurkmr9
5652c43f83
Resolve bf16 error as mentioned in this [issue]( https://github.com/huggingface/diffusers/issues/4139#issuecomment-1639977304 ) ( #4214 )
...
* resolve bf16 error
* resolve bf16 error
* resolve bf16 error
* resolve bf16 error
* resolve bf16 error
* resolve bf16 error
* resolve bf16 error
2023-07-25 05:41:19 +05:30
Ruoxi
ece55227ff
Multiply lr scheduler steps by num_processes. ( #3983 )
...
* Multiply lr scheduler steps by `num_processes`.
* Stop multiplying steps by gradient accumulation.
2023-07-13 17:50:25 +05:30
Patrick von Platen
b9feed8795
move to 0.19.0dev ( #4048 )
2023-07-11 22:49:12 +02:00
Will Berman
d49e2dd54c
manual check for checkpoints_total_limit instead of using accelerate ( #3681 )
...
* manual check for checkpoints_total_limit instead of using accelerate
* remove controlnet_conditioning_embedding_out_channels
2023-06-15 15:38:54 -07:00
Patrick von Platen
c42f6ee43e
Post 0.17.0 release ( #3721 )
...
* Post release
* Post release
2023-06-08 18:08:49 +02:00
Zachary Mueller
79fa94ea8b
Apply deprecations from Accelerate ( #3714 )
...
Apply deprecations
2023-06-08 16:44:22 +02:00
Patrick von Platen
f842396367
Post release for 0.16.0 ( #3244 )
...
* Post release
* fix more
2023-04-26 17:43:09 +01:00
Patrick von Platen
6ba0efb9a1
Release: v0.16.0
2023-04-26 13:35:01 +02:00
nupurkmr9
3979aac996
adding custom diffusion training to diffusers examples ( #3031 )
...
* diffusers==0.14.0 update
* custom diffusion update
* custom diffusion update
* custom diffusion update
* custom diffusion update
* custom diffusion update
* custom diffusion update
* custom diffusion
* custom diffusion
* custom diffusion
* custom diffusion
* custom diffusion
* apply formatting and get rid of bare except.
* refactor readme and other minor changes.
* misc refactor.
* fix: repo_id issue and loaders logging bug.
* fix: save_model_card.
* fix: save_model_card.
* fix: save_model_card.
* add: doc entry.
* refactor doc,.
* custom diffusion
* custom diffusion
* custom diffusion
* apply style.
* remove tralining whitespace.
* fix: toctree entry.
* remove unnecessary print.
* custom diffusion
* custom diffusion
* custom diffusion test
* custom diffusion xformer update
* custom diffusion xformer update
* custom diffusion xformer update
---------
Co-authored-by: Nupur Kumari <nupurkumari@Nupurs-MacBook-Pro.local >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Nupur Kumari <nupurkumari@nupurs-mbp.wifi.local.cmu.edu >
2023-04-20 09:31:42 +02:00