Patrick von Platen
20e92586c1
0.20.0dev0 ( #4299 )
...
* 0.20.0dev0
* make style
2023-07-26 23:06:18 +02:00
Apoorva Kulkarni
cbb1ead60b
docs: Add missing import statement in textual_inversion inference example ( #4227 )
...
docs: Add missing import statement in textual_inversion inference instructions
2023-07-24 11:07:53 -07: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
908e5e9cc6
Fix some bad comment in training scripts ( #3798 )
...
* relax tolerance slightly
* correct incorrect naming
2023-06-15 15:07:51 +02: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
0x1355
de45af4a46
Allow setting num_cycles for cosine_with_restarts lr scheduler ( #3606 )
...
Expose num_cycles kwarg of get_schedule() through args.lr_num_cycles.
2023-06-05 10:18:29 +05:30
Adrià Arrufat
e9aa0925a8
Rename --only_save_embeds to --save_as_full_pipeline ( #3206 )
...
* Set --only_save_embeds to False by default
Due to how the option is named, it makes more sense to behave like this.
* Refactor only_save_embeds to save_as_full_pipeline
2023-05-06 12:00:30 +01: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
2c04e5855c
Multi Vector Textual Inversion ( #3144 )
...
* Multi Vector
* Improve
* fix multi token
* improve test
* make style
* Update examples/test_examples.py
* Apply suggestions from code review
Co-authored-by: Suraj Patil <surajp815@gmail.com >
* update
* Finish
* Apply suggestions from code review
---------
Co-authored-by: Suraj Patil <surajp815@gmail.com >
2023-04-21 19:06:19 +01:00
Patrick von Platen
4bc157ffa9
Correct textual inversion readme ( #3145 )
...
* Update README.md
* Apply suggestions from code review
2023-04-18 16:35:12 +01: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
Will Berman
67ec9cf513
accelerate min version for ProjectConfiguration import ( #3042 )
2023-04-11 10:12:28 -07:00
Rogério Júnior
67c3518f68
Small typo correction in comments ( #3012 )
2023-04-10 13:48:35 -07: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
Naoki Ainoya
14e3a28c12
Rename 'CLIPFeatureExtractor' class to 'CLIPImageProcessor' ( #2732 )
...
The 'CLIPFeatureExtractor' class name has been renamed to 'CLIPImageProcessor' in order to comply with future deprecation. This commit includes the necessary changes to the affected files.
2023-03-23 13:49:22 +01:00
Will Berman
ebd44957fc
image generation main process checks ( #2631 )
2023-03-14 01:28:03 -07: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
Patrick von Platen
3d2648d743
[Post release] Push post release ( #2546 )
2023-03-03 18:11:01 +01:00
Patrick von Platen
f20c8f5a1a
Release: v0.14.0
2023-03-03 16:45:08 +01:00
Isamu Isozaki
d9b9533c7e
Textual inv make save log both steps ( #2178 )
...
* Initial commit
* removed images
* Made logging the same as save
* Removed logging function
* Quality fixes
* Quality fixes
* Tested
* Added support back for validation_epochs
* Fixing styles
* Did changes
* Change to log_validation
* Add extra space after wandb import
* Add extra space after wandb
Co-authored-by: Will Berman <wlbberman@gmail.com >
* Fixed spacing
---------
Co-authored-by: Will Berman <wlbberman@gmail.com >
2023-03-02 19:04:18 +01:00
Patrick von Platen
eadf0e2555
[Copyright] 2023 ( #2524 )
2023-03-01 10:31:00 +01:00
Patrick von Platen
3231712b7d
Post release 0.14
2023-02-17 23:57:46 +02:00
Patrick von Platen
b2c1e0d6d4
Release: v0.13.0
2023-02-17 23:38:05 +02:00
Will Berman
bfdffbea32
add xformers 0.0.16 warning message ( #2345 )
...
* add xformers 0.0.16 warning message
* fix version check to check whole version string
2023-02-17 13:25:46 -08:00
Will Berman
5979089713
Revert "Release: v0.13.0" ( #2405 )
...
This reverts commit 024c4376fb .
2023-02-17 10:48:16 -08:00
Patrick von Platen
024c4376fb
Release: v0.13.0
2023-02-17 18:46:00 +02:00
Will Berman
46def7265f
checkpointing_steps_total_limit->checkpoints_total_limit ( #2374 )
2023-02-16 00:28:58 -08:00
Will Berman
296b01e1a1
add total number checkpoints to training scripts ( #2367 )
...
* add total number checkpoints to training scripts
* Update examples/dreambooth/train_dreambooth.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-02-15 23:58:06 -08:00
Isamu Isozaki
c1971a53bc
Textual inv save log memory ( #2184 )
...
* Quality check and adding tokenizer
* Adapted stable diffusion to mixed precision+finished up style fixes
* Fixed based on patrick's review
* Fixed oom from number of validation images
* Removed unnecessary np.array conversion
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-02-08 10:37:10 +01:00
Patrick von Platen
a7ca03aa85
Replace flake8 with ruff and update black ( #2279 )
...
* before running make style
* remove left overs from flake8
* finish
* make fix-copies
* final fix
* more fixes
2023-02-07 23:46:23 +01:00
Patrick von Platen
cd52475560
[Examples] Remove datasets important that is not needed ( #2267 )
...
* [Examples] Remove datasets important that is not needed
* remove from lora tambien
2023-02-07 11:55:34 +01:00
Patrick von Platen
3b66cc0fc1
make style
2023-02-07 08:11:22 +00:00
chavinlo
717a956a02
Create convert_vae_pt_to_diffusers.py ( #2215 )
...
* Create convert_vae_pt_to_diffusers.py
Just a simple script to convert VAE.pt files to diffusers format
Tested with: https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/VAEs/orangemix.vae.pt
* Update convert_vae_pt_to_diffusers.py
Forgot to add the function call
* make style
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: chavinlo <example@example.com >
2023-02-07 09:10:34 +01:00
Isamu Isozaki
d46d78c584
Hotfix textual inv logging ( #2183 )
2023-02-03 18:08:46 +01:00
Patrick von Platen
04ad948673
make style 2 - sorry
2023-01-27 16:54:40 +02:00
Patrick von Platen
97ef5e0665
make style
2023-01-27 16:52:04 +02:00
Suraj Patil
1e216be895
make scaling factor a config arg of vae/vqvae ( #1860 )
...
* make scaling factor cnfig arg of vae
* fix
* make flake happy
* fix ldm
* fix upscaler
* qualirty
* Apply suggestions from code review
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* solve conflicts, addres some comments
* examples
* examples min version
* doc
* fix type
* typo
* Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* remove duplicate line
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-01-26 14:37:19 +01:00
Pedro Cuenca
0856137337
[textual inversion] Allow validation images ( #2077 )
...
* [textual inversion] Allow validation images.
* Change key to `validation`
* Specify format instead of transposing.
As discussed with @sayakpaul.
* Style
Co-authored-by: isamu-isozaki <isamu.website@gmail.com >
2023-01-26 09:20:03 +01:00
Patrick von Platen
09779cbb40
[Bump version] 0.13.0dev0 & Deprecate predict_epsilon ( #2109 )
...
* [Bump version] 0.13
* Bump model up
* up
2023-01-25 17:59:02 +01:00
Patrick von Platen
180841bbde
Release: v0.12.0
2023-01-25 15:48:00 +02:00
patil-suraj
9aa6fcab60
fix docs for center_crop
2023-01-25 09:12:47 +01:00
Pedro Cuenca
f4dddaf5ee
[textual_inversion] Fix resuming state when using gradient checkpointing ( #2072 )
...
* Fix resuming state when using gradient checkpointing.
Also, allow --resume_from_checkpoint to be used when the checkpoint does
not yet exist (a normal training run will be started).
* style
2023-01-24 10:25:41 +01:00
Suraj Patil
6fedb29f11
[examples] add dataloader_num_workers argument ( #2070 )
...
add --dataloader_num_workers argument
2023-01-23 10:58:03 +01:00
Lucain
bcb476797c
Remove modelcards dependency ( #2050 )
...
* Switch to huggingface_hub.ModelCard
* Remove modelcards dependency in favor of Jinja2
2023-01-20 16:39:42 +01:00