Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v22.0.0 #1559

Merged
merged 46 commits into from
Oct 1, 2023
Merged

v22.0.0 #1559

Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
9d678a6
Update resize_lora.py
Symbiomatrix Aug 15, 2023
80aca1c
Add ip_noise_gamma metadata
rockerBOO Sep 5, 2023
e33c007
Update resize_lora.py
artificialguybr Sep 11, 2023
a0e05fa
Update resize_lora.py
artificialguybr Sep 11, 2023
0ecfd91
fix VAE becomes last one
kohya-ss Sep 13, 2023
90c4714
add support model without position_ids
kohya-ss Sep 13, 2023
d337bbf
get pool from CLIPVisionModel in img2img
kohya-ss Sep 13, 2023
db7a28a
fix to work highres_fix_latents_upscaling
kohya-ss Sep 18, 2023
b64389c
Intel ARC support with IPEX
Disty0 Sep 19, 2023
b99cd2a
Update getDeviceIdListForCard
Disty0 Sep 20, 2023
d5be812
update bitsandbytes for 0.41.1 and fixed bugs with generate_controlne…
sdbds Sep 24, 2023
33e90cc
Merge pull request #815 from jvkap/patch-1
kohya-ss Sep 24, 2023
55886a0
add .pt and .pth for available extension
kohya-ss Sep 24, 2023
8052bcd
format by black
kohya-ss Sep 24, 2023
f8af6f9
Add Chinese zh-CN
boombbo Sep 24, 2023
6681799
revert formatting
kohya-ss Sep 24, 2023
1f169ee
Merge pull request #760 from Symbiomatrix/bugfix1
kohya-ss Sep 24, 2023
f2491ee
change block name doesn't contain '.' at end
kohya-ss Sep 24, 2023
54500b8
Merge pull request #830 from kohya-ss/dev2
kohya-ss Sep 24, 2023
624edf4
Merge pull request #825 from Disty0/dev
kohya-ss Sep 24, 2023
d846431
Merge branch 'dev' into sdxl
kohya-ss Sep 24, 2023
3757855
rename train_lllite_alt to train_lllite
kohya-ss Sep 24, 2023
d39f1a3
Merge pull request #808 from rockerBOO/metadata
kohya-ss Sep 24, 2023
477b526
fix sai metadata for sdxl closes #824
kohya-ss Sep 24, 2023
20e929e
fix to work iter_same_seed
kohya-ss Sep 24, 2023
7e736da
update versions of accelerate and diffusers
kohya-ss Sep 24, 2023
28272de
update readme
kohya-ss Sep 24, 2023
9861516
Merge pull request #831 from kohya-ss/dev
kohya-ss Sep 24, 2023
1e395ed
Merge branch 'main' into sdxl
kohya-ss Sep 24, 2023
14aa292
Support concat LoRA
laksjdjf Sep 28, 2023
209eafb
IPEX attention optimizations
Disty0 Sep 28, 2023
8e117f9
Merge pull request #841 from Disty0/dev
kohya-ss Oct 1, 2023
365a06b
Merge pull request #839 from laksjdjf/sdxl
kohya-ss Oct 1, 2023
35a1d68
Merge pull request #844 from kohya-ss/dev
kohya-ss Oct 1, 2023
6bd6cd9
update doc
kohya-ss Oct 1, 2023
81419f7
Fix to work training U-Net only LoRA for SD1/2
kohya-ss Oct 1, 2023
4cc9196
fix placing of requires_grad_ of U-Net
kohya-ss Oct 1, 2023
9315524
Merge pull request #846 from kohya-ss/dev
kohya-ss Oct 1, 2023
c918489
update readme
kohya-ss Oct 1, 2023
49c2428
Merge pull request #847 from kohya-ss/sdxl
kohya-ss Oct 1, 2023
75e888d
Update WNADB and presets
bmaltais Oct 1, 2023
77ad807
Merge branch 'main' of https://github.com/kohya-ss/sd-scripts into dev2
bmaltais Oct 1, 2023
459b8bf
Merge pull request #1542 from Bobotikk/zh-CN
bmaltais Oct 1, 2023
b4ce7e0
Add zh--CN localisation
bmaltais Oct 1, 2023
383f4af
Add support for finetuning presets
bmaltais Oct 1, 2023
2107534
Add finetune preset from AI_Now
bmaltais Oct 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add .pt and .pth for available extension
  • Loading branch information
kohya-ss committed Sep 24, 2023
commit 55886a01168bcd921145ab19f4635bf987acc472
4 changes: 2 additions & 2 deletions networks/resize_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ def resize_lora_model(lora_sd, new_rank, save_dtype, device, dynamic_method, dyn


def resize(args):
if args.save_to is None or not (args.save_to.endswith('.ckpt') or args.save_to.endswith('.safetensors')):
raise Exception("The --save_to argument must be specified and must be a .ckpt or .safetensors file.")
if args.save_to is None or not (args.save_to.endswith('.ckpt') or args.save_to.endswith('.pt') or args.save_to.endswith('.pth') or args.save_to.endswith('.safetensors')):
raise Exception("The --save_to argument must be specified and must be a .ckpt , .pt, .pth or .safetensors file.")


def str_to_dtype(p):
Expand Down