Sayak Paul
23cf712349
post-release 0.31.0 ( #9742 )
...
* post-release
* style
2024-12-23 13:02:17 +05:30
Anand Kumar
91d4b38e0a
[train_instruct_pix2pix.py]Fix the LR schedulers when num_train_epochs is passed in a distributed training env ( #9316 )
...
Fixed pix2pix lr scheduler
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:16 +05:30
Álvaro Somoza
275e523ef5
post release 0.30.0 ( #9173 )
...
* post release
* fix quality
2024-12-23 13:02:15 +05:30
Sayak Paul
bcf0f7667f
post release 0.29.0 ( #8492 )
...
post release
2024-12-23 13:02:13 +05:30
Sayak Paul
e135b4dadf
post release v0.28.0 ( #8286 )
...
* post release v0.28.0
* style
2024-12-23 13:02:12 +05:30
satani99
da8d2fb766
Modularize instruct_pix2pix SD inferencing during and after training in examples ( #7603 )
...
* Modularize instruct_pix2pix code
* quality check
* quality check
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:10 +05:30
Bagheera
69131fda5c
7529 do not disable autocast for cuda devices ( #7530 )
...
* 7529 do not disable autocast for cuda devices
* Remove typecasting error check for non-mps platforms, as a correct autocast implementation makes it a non-issue
* add autocast fix to other training examples
* disable native_amp for dreambooth (sdxl)
* disable native_amp for pix2pix (sdxl)
* remove tests from remaining files
* disable native_amp on huggingface accelerator for every training example that uses it
* convert more usages of autocast to nullcontext, make style fixes
* make style fixes
* style.
* Empty-Commit
---------
Co-authored-by: bghira <bghira@users.github.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-12-23 13:02:10 +05:30
Sayak Paul
08a03e1641
post-release v0.27.0 ( #7329 )
...
* post-release
* quality
2024-12-23 13:02:09 +05:30
Sayak Paul
dc7e9809a9
[Chore] switch to logger.warning ( #7289 )
...
switch to logger.warning
2024-12-23 13:02:09 +05:30
Sayak Paul
166641aefa
post release 0.26.2 ( #6885 )
...
* post release
* style
* Empty-Commit
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-12-23 13:02:07 +05:30
Sayak Paul
72d23f5309
correct hub_token exposition behaviour (thanks to @bghira). ( #6918 )
2024-12-23 13:02:07 +05:30
Sayak Paul
86e62ae4c5
change to 2024 in the license ( #6902 )
...
change to 2024
2024-12-23 13:02:07 +05:30
Charchit Sharma
acbb060fed
Make InstructPix2Pix Training Script torch.compile compatible ( #6558 )
...
* added torch.compile for pix2pix
* required changes
2024-12-23 13:02:05 +05:30
Sayak Paul
fe32030325
0.25.0 post release ( #6358 )
...
* post release
* style
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-12-23 13:02:05 +05:30
Patrick von Platen
dadd55fb36
Post Release: v0.24.0 ( #5985 )
...
* Post Release: v0.24.0
* post pone deprecation
* post pone deprecation
* Add model_index.json
2023-12-01 18:43:44 +01:00
Patrick von Platen
6d2e19f746
[Examples] Allow downloading variant model files ( #5531 )
...
* add variant
* add variant
* Apply suggestions from code review
* reformat
* fix: textual_inversion.py
* fix: variant in model_info
---------
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
2023-11-27 10:43:20 +05:30
Sayak Paul
1477865e48
post release v0.23.0 ( #5730 )
...
* post release
* fix: variant test
* up
* fix: test
2023-11-10 16:35:44 +05:30
Sayak Paul
64603389da
post release (v0.22.0) ( #5658 )
...
post release
2023-11-06 16:23:38 +01: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
Will Berman
d73e6ad050
guard save model hooks to only execute on main process ( #4929 )
2023-09-08 10:30:06 -07:00
Sayak Paul
d0c30cfd37
make post-release ( #4650 )
2023-08-17 14:16:25 +05:30
Patrick von Platen
20e92586c1
0.20.0dev0 ( #4299 )
...
* 0.20.0dev0
* make style
2023-07-26 23:06:18 +02:00
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
Patrick von Platen
0a73b4d3cd
[Post release] v0.16.0dev ( #3072 )
2023-04-12 17:18:30 +01:00
Patrick von Platen
e7534542a2
Release: v0.15.0
2023-04-12 15:15:31 +00:00
Sayak Paul
5a7d35e29c
Fix InstructPix2Pix training in multi-GPU mode ( #2978 )
...
* fix: norm group test for UNet3D.
* fix: unet rejig.
* fix: unwrapping when running validation inputs.
* unwrapping the unet too.
* fix: device.
* better unwrapping.
* unwrapping before ema.
* unwrapping.
2023-04-12 10:13:53 +01:00
Patrick von Platen
8b451eb63b
Fix config prints and save, load of pipelines ( #2849 )
...
* [Config] Fix config prints and save, load
* Only use potential nn.Modules for dtype and device
* Correct vae image processor
* make sure in_channels is not accessed directly
* make sure in channels is only accessed via config
* Make sure schedulers only access config attributes
* Make sure to access config in SAG
* Fix vae processor and make style
* add tests
* uP
* make style
* Fix more naming issues
* Final fix with vae config
* change more
2023-04-11 13:35:42 +02:00
Lucain
a87e88b783
Use upload_folder in training scripts ( #2934 )
...
use upload folder in training scripts
Co-authored-by: testbot <lucainp@hf.co >
2023-04-04 16:19:12 +01:00
Pedro Cuenca
1d7b4b60b7
Ruff: apply same rules as in transformers ( #2827 )
...
* Apply same ruff settings as in transformers
See https://github.com/huggingface/transformers/blob/main/pyproject.toml
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com >
* Apply new style rules
* Style
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com >
* style
* remove list, ruff wouldn't auto fix.
---------
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com >
2023-03-27 16:18:57 +02:00
Sayak Paul
9dc84448ac
[Examples] InstructPix2Pix instruct training script ( #2478 )
...
* add: initial implementation of the pix2pix instruct training script.
* shorten cli arg.
* fix: main process check.
* fix: dataset column names.
* simplify tokenization.
* proper placement of null conditions.
* apply styling.
* remove debugging message for conditioning do.
* complete license.
* add: requirements.tzt
* wandb column name order.
* fix: augmentation.
* change: dataset_id.
* fix: convert_to_np() call.
* fix: reshaping.
* fix: final ema copy.
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* address PR comments.
* add: readme details.
* config fix.
* downgrade version.
* reduce image width in the readme.
* note on hyperparameters during generation.
* add: output images.
* update readme.
* minor edits to readme.
* debugging statement.
* explicitly placement of the pipeline.
* bump minimum diffusers version.
* fix: device attribute error.
* weight dtype.
* debugging.
* add dtype inform.
* add seoarate te and vae.
* add: explicit casting/
* remove casting.
* up.
* up 2.
* up 3.
* autocast.
* disable mixed-precision in the final inference.
* debugging information.
* autocasting.
* add: instructpix2pix training section to the docs.
* Empty-Commit
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-03-23 10:15:01 +05:30