catboxanon
be14c06267
Remove v-pred warnings
...
Different model architectures, such as SDXL, can take advantage of
v-pred. It doesn't make sense to include these warnings anymore.
2024-10-22 12:13:51 -04:00
Yuta Hayashibe
5d5f39b6e6
Replaced print with logger
2024-02-25 01:24:11 +09:00
Kohya S
baa0e97ced
Merge branch 'dev' into dev_device_support
2024-02-17 11:54:07 +09:00
Kohya S
d3745db764
add args for logging
2024-02-12 13:15:21 +09:00
Kohya S
358ca205a3
Merge branch 'dev' into dev_device_support
2024-02-12 13:01:54 +09:00
Kohya S
c748719115
fix indent
2024-02-12 12:59:45 +09:00
Kohya S
98f42d3a0b
Merge branch 'dev' into gradual_latent_hires_fix
2024-02-12 12:59:25 +09:00
Yuta Hayashibe
5f6bf29e52
Replace print with logger if they are logs ( #905 )
...
* Add get_my_logger()
* Use logger instead of print
* Fix log level
* Removed line-breaks for readability
* Use setup_logging()
* Add rich to requirements.txt
* Make simple
* Use logger instead of print
---------
Co-authored-by: Kohya S <52813779+kohya-ss@users.noreply.github.com >
2024-02-04 18:14:34 +09:00
Disty0
a6a2b5a867
Fix IPEX support and add XPU device to device_utils
2024-01-31 17:32:37 +03:00
Kohya S
8f6f734a6f
Merge branch 'dev' into gradual_latent_hires_fix
2024-01-28 08:21:15 +09:00
Aarni Koskela
478156b4f7
Refactor device determination to function; add MPS fallback
2024-01-23 14:29:03 +02:00
Aarni Koskela
afc38707d5
Refactor memory cleaning into a single function
2024-01-23 14:28:50 +02:00
Aarni Koskela
6f3f701d3d
Deduplicate ipex initialization code
2024-01-19 18:07:36 +02:00
Kohya S
d61ecb26fd
enable comment in prompt file, record raw prompt to metadata
2023-12-12 08:20:36 +09:00
Kohya S
7a4e50705c
add target_x flag (not sure this impl is correct)
2023-12-03 17:59:41 +09:00
Kohya S
29b6fa6212
add unsharp mask
2023-11-28 22:33:22 +09:00
Kohya S
2897a89dfd
Merge branch 'dev' into gradual_latent_hires_fix
2023-11-26 18:12:24 +09:00
Kohya S
c61e3bf4c9
make separate U-Net for inference
2023-11-26 18:11:30 +09:00
Kohya S
684954695d
add gradual latent
2023-11-23 22:17:49 +09:00
Kohya S
6d6d86260b
add Deep Shrink
2023-11-23 19:40:48 +09:00
Kohya S
3e81bd6b67
fix network_merge, add regional mask as color code
2023-10-09 23:07:14 +09:00
Kohya S
f611726364
add network_merge_n_models option
2023-10-09 21:41:50 +09:00
Yuta Hayashibe
27f9b6ffeb
updated typos to v1.16.15 and fix typos
2023-10-01 21:51:24 +09:00
Kohya S
20e929e27e
fix to work iter_same_seed
2023-09-24 16:04:50 +09:00
Disty0
b64389c8a9
Intel ARC support with IPEX
2023-09-19 18:05:05 +03:00
Kohya S
6b1cf6c4fd
fix ControlNet with regional LoRA, add shuffle cap
2023-08-03 21:41:46 +09:00
Kohya S
7e474d21ca
fix recorded seed in highres fix
2023-07-30 16:48:52 +09:00
Kohya S
c4269b5efa
Merge branch 'main' into original-u-net
2023-06-17 21:48:57 +09:00
Kohya S
19dfa24abb
Merge branch 'main' into original-u-net
2023-06-16 20:59:34 +09:00
Kohya S
1e0b059982
fix same seed is used for multiple generation
2023-06-16 12:10:18 +09:00
Kohya S
18156bf2a1
fix same replacement multiple times in dyn prompt
2023-06-15 22:22:12 +09:00
Kohya S
f0bb3ae825
add an option to disable controlnet in 2nd stage
2023-06-15 20:56:12 +09:00
Kohya S
f2989b36c2
fix typos, add comment
2023-06-15 20:37:01 +09:00
Kohya S
624fbadea2
fix dynamic prompt with from_file
2023-06-15 19:19:16 +09:00
Kohya S
d4ba37f543
supprot dynamic prompt variants
2023-06-15 13:22:06 +09:00
Kohya S
449ad7502c
use original unet for HF models, don't download TE
2023-06-14 22:26:05 +09:00
ykume
9e1683cf2b
support sdpa
2023-06-11 21:26:15 +09:00
ykume
4d0c06e397
support both 0.10.2 and 0.17.0 for Diffusers
2023-06-11 18:54:50 +09:00
ykume
4e25c8f78e
fix to work with Diffusers 0.17.0
2023-06-11 16:57:17 +09:00
Kohya S
d4b5cab7f7
Merge branch 'main' into original-u-net
2023-06-07 07:42:27 +09:00
Kohya S
24823b061d
support BREAK in generation script
2023-06-06 21:53:58 +09:00
Kohya S
c0a7df9ee1
fix eps value, enable xformers, etc.
2023-06-03 21:29:27 +09:00
Kohya S
5db792b10b
initial commit for original U-Net
2023-06-03 19:24:47 +09:00
Kohya S
02bb8e0ac3
use xformers in VAE in gen script
2023-05-21 12:59:01 +09:00
Kohya S
1b4bdff331
enable i2i with highres fix, add slicing VAE
2023-05-10 23:09:25 +09:00
Kohya S
fdbdb4748a
pre calc LoRA in generating
2023-05-07 09:57:54 +09:00
Kohya S
a85fcfe05f
fix latent upscale not working if bs>1
2023-04-25 08:10:21 +09:00
Kohya S
884e6bff5d
fix face_crop_aug not working on finetune method, prepare upscaler
2023-04-22 10:41:36 +09:00
Kohya S
5c020bed49
Add attension couple+reginal LoRA
2023-04-06 08:11:54 +09:00
Kohya S
83c7e03d05
Fix network_weights not working in train_network
2023-04-03 22:45:28 +09:00