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

v21.5.0 #561

Merged
merged 543 commits into from
Apr 7, 2023
Merged

v21.5.0 #561

merged 543 commits into from
Apr 7, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 14, 2023

  1. Removed call of sum()

    shirayu committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    8aed512 View commit details
    Browse the repository at this point in the history
  2. Add noise_offset

    kohya-ss committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    43c0a69 View commit details
    Browse the repository at this point in the history
  3. update readme

    kohya-ss committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    2aef287 View commit details
    Browse the repository at this point in the history
  4. fix typos

    kohya-ss committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    3d40066 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #190 from kohya-ss/dev

    Dev
    kohya-ss authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    e067d64 View commit details
    Browse the repository at this point in the history
  6. Update README.md

    kohya-ss authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    82713e9 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Configuration menu
    Copy the full SHA
    39aa390 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Configuration menu
    Copy the full SHA
    496c8cd View commit details
    Browse the repository at this point in the history
  2. add dtype

    kohya-ss committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    8590d5d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #189 from shirayu/improve_loss_track

    Show the moving average loss
    kohya-ss authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    914d150 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #196 from space-nuko/add-noise-offset-metadata

    Add noise offset to metadata
    kohya-ss authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    d01d953 View commit details
    Browse the repository at this point in the history
  5. fix name of loss for epoch

    kohya-ss committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    ffdfd5f View commit details
    Browse the repository at this point in the history
  6. update readme

    kohya-ss committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    3bc0d83 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #198 from kohya-ss/dev

    Dev
    kohya-ss authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    14d7b24 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Add '--lowram' argument

    Isotr0py committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    78d1fb5 View commit details
    Browse the repository at this point in the history
  2. fix git path

    vladmandic authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    dac2bd1 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2023

  1. Merge pull request #200 from Isotr0py/lowram

    Add '--lowram' argument
    kohya-ss authored Feb 19, 2023
    Configuration menu
    Copy the full SHA
    00bb8a6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #202 from vladmandic/main

    fix git path
    kohya-ss authored Feb 19, 2023
    Configuration menu
    Copy the full SHA
    9d0f973 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a76ad2d View commit details
    Browse the repository at this point in the history
  4. add lion optimizer support

    kohya-ss committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    048e7cd View commit details
    Browse the repository at this point in the history
  5. update readme

    kohya-ss committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    5c065ee View commit details
    Browse the repository at this point in the history
  6. Merge pull request #207 from kohya-ss/dev

    Dev
    kohya-ss authored Feb 19, 2023
    Configuration menu
    Copy the full SHA
    a9d29ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e45e272 View commit details
    Browse the repository at this point in the history
  8. Add optimizer to metadata

    space-nuko committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    4e5db58 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #208 from space-nuko/add-optimizer-to-metadata

    Add optimizer to metadata
    kohya-ss authored Feb 19, 2023
    Configuration menu
    Copy the full SHA
    08ae46b View commit details
    Browse the repository at this point in the history
  10. apply dadaptation

    BootsofLagrangian committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    045a3db View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d94c0d7 View commit details
    Browse the repository at this point in the history
  12. apply dadaptation

    BootsofLagrangian committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    b612d0b View commit details
    Browse the repository at this point in the history
  13. expand optimizer options and refactor

    Refactor code to make it easier to add new optimizers, and support alternate optimizer parameters
    
    -move redundant code to train_util for initializing optimizers
    - add SGD Nesterov optimizers as option (since they are already available)
    - add new parameters which may be helpful for tuning existing and new optimizers
    mgz-dev committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    b29c5a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. support original controlnet

    kohya-ss committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    014fd3d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #209 from BootsofLagrangian/dadaptation

    Dadaptation optimizer
    kohya-ss authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    a17d118 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    107fa75 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #212 from mgz-dev/optimizer-expand-and-refactor

    expand optimizer options and refactor
    kohya-ss authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    12d30af View commit details
    Browse the repository at this point in the history
  5. refactor get_scheduler etc.

    kohya-ss committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    663aad2 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Add Adafactor optimzier

    kohya-ss committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    9ab964d View commit details
    Browse the repository at this point in the history
  2. Add about optimizer

    kohya-ss committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    f2b300a View commit details
    Browse the repository at this point in the history
  3. update readme

    kohya-ss committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    125039f View commit details
    Browse the repository at this point in the history
  4. update readme

    kohya-ss committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    e13e503 View commit details
    Browse the repository at this point in the history
  5. update readme

    kohya-ss committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    7a0d2a2 View commit details
    Browse the repository at this point in the history
  6. update readme

    kohya-ss committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    f68a48b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #219 from kohya-ss/dev

    Dev
    kohya-ss authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    f0ef81f View commit details
    Browse the repository at this point in the history
  8. Update README.md

    kohya-ss authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    71b728d View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Add more missing metadata

    space-nuko committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    b39cf6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f403ac6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into dev

    kohya-ss committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    4c5c486 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7dd778 View commit details
    Browse the repository at this point in the history
  5. remove LoRA-ControlNet

    kohya-ss committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    d9184ab View commit details
    Browse the repository at this point in the history
  6. Merge pull request #221 from space-nuko/add-more-metadata

    Add more missing metadata
    kohya-ss authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    95b5aed View commit details
    Browse the repository at this point in the history
  7. fix typos

    kohya-ss committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    a3aa3b1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0eb01de View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9b13444 View commit details
    Browse the repository at this point in the history
  10. update change history

    kohya-ss committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    a3c0e4c View commit details
    Browse the repository at this point in the history
  11. Merge pull request #222 from kohya-ss/dev

    fix training instability issue, add metadata
    kohya-ss authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    39a70f1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c7a13c8 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #223 from kohya-ss/control_net

    support ControlNet
    kohya-ss authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    b22b0a5 View commit details
    Browse the repository at this point in the history
  14. Update README.md

    kohya-ss authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    f0ae7ee View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2023

  1. Configuration menu
    Copy the full SHA
    9993792 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a28f9ae View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    dd523c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    57c565c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8270765 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    efe4c98 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. add detail dataset config feature by extra config file (#227)

    * add config file schema
    
    * change config file specification
    
    * refactor config utility
    
    * unify batch_size to train_batch_size
    
    * fix indent size
    
    * use batch_size instead of train_batch_size
    
    * make cache_latents configurable on subset
    
    * rename options
    * bucket_repo_range
    * shuffle_keep_tokens
    
    * update readme
    
    * revert to min_bucket_reso & max_bucket_reso
    
    * use subset structure in dataset
    
    * format import lines
    
    * split mode specific options
    
    * use only valid subset
    
    * change valid subsets name
    
    * manage multiple datasets by dataset group
    
    * update config file sanitizer
    
    * prune redundant validation
    
    * add comments
    
    * update type annotation
    
    * rename json_file_name to metadata_file
    
    * ignore when image dir is invalid
    
    * fix tag shuffle and dropout
    
    * ignore duplicated subset
    
    * add method to check latent cachability
    
    * fix format
    
    * fix bug
    
    * update caption dropout default values
    
    * update annotation
    
    * fix bug
    
    * add option to enable bucket shuffle across dataset
    
    * update blueprint generate function
    
    * use blueprint generator for dataset initialization
    
    * delete duplicated function
    
    * update config readme
    
    * delete debug print
    
    * print dataset and subset info as info
    
    * enable bucket_shuffle_across_dataset option
    
    * update config readme for clarification
    
    * compensate quotes for string option example
    
    * fix bug of bad usage of join
    
    * conserve trained metadata backward compatibility
    
    * enable shuffle in data loader by default
    
    * delete resolved TODO
    
    * add comment for image data handling
    
    * fix reference bug
    
    * fix undefined variable bug
    
    * prevent raise overwriting
    
    * assert image_dir and metadata_file validity
    
    * add debug message for ignoring subset
    
    * fix inconsistent import statement
    
    * loosen too strict validation on float value
    
    * sanitize argument parser separately
    
    * make image_dir optional for fine tuning dataset
    
    * fix import
    
    * fix trailing characters in print
    
    * parse flexible dataset config deterministically
    
    * use relative import
    
    * print supplementary message for parsing error
    
    * add note about different methods
    
    * add note of benefit of separate dataset
    
    * add error example
    
    * add note for english readme plan
    
    ---------
    
    Co-authored-by: Kohya S <[email protected]>
    fur0ut0 and kohya-ss authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    8abb864 View commit details
    Browse the repository at this point in the history
  2. fix typos

    kohya-ss committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    ed19a92 View commit details
    Browse the repository at this point in the history
  3. shuffle at debug_dataset

    kohya-ss committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    089a63c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1d7d43 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04af36e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c95943b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e9f37c4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    52ca6c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    83bfb54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e1aa5f View commit details
    Browse the repository at this point in the history
  3. add help for keep_tokens

    kohya-ss committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    c3024be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    859f836 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    09f575f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2d24074 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5602e0e View commit details
    Browse the repository at this point in the history
  8. update README

    kohya-ss committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    74f317a View commit details
    Browse the repository at this point in the history
  9. update README

    kohya-ss committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    08fcc7b View commit details
    Browse the repository at this point in the history
  10. Merge pull request #246 from kohya-ss/dev

    add dataset config file, generating images in training etc.
    kohya-ss authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    45945f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. refactor and bug fix for too large sv_ratio

    - code refactor to be able to re-use same function for dynamic extract lora
    - remove clamp
    - fix issue where if sv_ratio is too high index goes out of bounds
    mgz-dev committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    80be6fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4396350 View commit details
    Browse the repository at this point in the history
  3. add support to extract lora with resnet and 2d blocks

    Modified resize script so support different types of LoRA networks (refer to Kohaku-Blueleaf module implementation for structure).
    mgz-dev committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    214ed09 View commit details
    Browse the repository at this point in the history
  4. Add region control for LoRA

    kohya-ss committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    fe4f444 View commit details
    Browse the repository at this point in the history
  5. make new_rank limit max rank, fix zero matrices

    -new_rank arg changed to limit the max rank of any layer.
    -added logic to make sure zero-ed layers do not create large lora dim
    mgz-dev committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    4a4450d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4d9292e View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

  1. Configuration menu
    Copy the full SHA
    2b6e9d8 View commit details
    Browse the repository at this point in the history
  2. Update documentation

    kohya-ss committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    db8c79c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd39e5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ba6d74 View commit details
    Browse the repository at this point in the history
  5. updating documents

    kohya-ss committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    1c00764 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2ae33db View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    46aee85 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    772ee52 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Merge pull request #255 from Isotr0py/dev

    Add network_args to metadata if using another network
    kohya-ss authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    c2a8290 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    573aa8b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #261 from camenduru/main

    metadata |= to metadata.update
    
    Thank you! I forget to fix this.
    kohya-ss authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    0cacefc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5bb571c View commit details
    Browse the repository at this point in the history
  5. expand LoRA to all Conv2d

    kohya-ss committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    19386df View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d5ba29 View commit details
    Browse the repository at this point in the history
  7. accept empty caption #258

    kohya-ss committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    225c533 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    7b0af4f View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. fix for multi gpu training

    ddPn08 committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    87846c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8929bf3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ce8465 View commit details
    Browse the repository at this point in the history
  4. Update train_util.py

    rvhfxb authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    82aac26 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c4b4d1c View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. add lr_scheduler_type etc

    Isotr0py committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    eb68892 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad443e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b885c6f View commit details
    Browse the repository at this point in the history
  4. fix default conv alpha to 1

    kohya-ss committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    e7051d4 View commit details
    Browse the repository at this point in the history
  5. fix wrong typing

    Isotr0py committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    ab05be1 View commit details
    Browse the repository at this point in the history
  6. support conv2d 3x3 LoRA

    kohya-ss committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    51249b1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aa317d4 View commit details
    Browse the repository at this point in the history
  8. update readme

    kohya-ss committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    cf2bc43 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #272 from kohya-ss/dev

    support conv2d-3x3, update documents etc
    kohya-ss authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    dd05d99 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Merge pull request #243 from mgz-dev/dynamic-dim-lora-resize

    Enable ability to resize lora dim based off sv ratios
    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    1932c31 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' into dev

    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    458173d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #247 from ddPn08/dev

    fix for multi gpu training
    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    00a9d73 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c4a596d View commit details
    Browse the repository at this point in the history
  5. Append sys path for import_module

    This will be better if we run the scripts we do not run the training script from the current directory.  This is reasonable as some other projects will use this as a subfolder, such as https://github.com/ddPn08/kohya-sd-scripts-webui. I can not run the script without adding this.
    mio7690 authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    68cd874 View commit details
    Browse the repository at this point in the history
  6. fix multi gpu

    Isotr0py committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    7544b38 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'dev' into dev

    Isotr0py authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    e3b2bb5 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #269 from rvhfxb/patch-2

    Allow to delete images after getting latents
    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    e355b5e View commit details
    Browse the repository at this point in the history
  9. fix to work with dim>320

    kohya-ss committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    4ad8e75 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    75d1883 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    618592c View commit details
    Browse the repository at this point in the history
  12. Merge pull request #276 from mio2333/main

    Append sys path for import_module
    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    2652c9a View commit details
    Browse the repository at this point in the history
  13. update documents

    kohya-ss committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    c78c51c View commit details
    Browse the repository at this point in the history
  14. restore comment

    kohya-ss committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    b177460 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #278 from kohya-ss/dev

    Dev
    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    b80431d View commit details
    Browse the repository at this point in the history
  16. fix device error

    kohya-ss committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    8b25929 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0b38e66 View commit details
    Browse the repository at this point in the history
  18. Merge pull request #283 from kohya-ss/dev

    fix device error
    kohya-ss authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    7c1cf7f View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. Configuration menu
    Copy the full SHA
    44d4cfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e24a43a View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Fixed an issue where max_train_steps was not set correctly when max_t…

    …rain_epochs was specified and gradient_accumulation_steps was set to 2 or more.
    tsukimiya committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    5dad64b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    370ca9e View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Merge pull request #241 from Linaqruf/main

    Load training arguments from .yaml, and other small changes
    kohya-ss authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    563a4dc View commit details
    Browse the repository at this point in the history
  2. format with black

    kohya-ss committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    c3f9eb1 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. Configuration menu
    Copy the full SHA
    83e102c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' into dev

    kohya-ss authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    ec7f9ba View commit details
    Browse the repository at this point in the history
  3. Merge pull request #271 from Isotr0py/dev

    Add '--lr_scheduler_type' and '--lr_scheduler_args' argument
    kohya-ss authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    8f08feb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64d85b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1214760 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #288 from mio2333/main

    sample images with weight and no length limit
    kohya-ss authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    cfb19ad View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f7babd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    140b4fa View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    48c1be3 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #290 from orenwang/main

    fix exception on training model in diffusers format
    kohya-ss authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    c86bf21 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    de95431 View commit details
    Browse the repository at this point in the history
  12. update readme

    kohya-ss committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    c219600 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #305 from kohya-ss/dev

    config file, lr scheduler, weighted prompt for sample gen etc.
    kohya-ss authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    d526f1d View commit details
    Browse the repository at this point in the history
  14. Update README.md

    kohya-ss authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    4323531 View commit details
    Browse the repository at this point in the history
  15. Fixed an issue where max_train_steps was not set correctly when max_t…

    …rain_epochs was specified and gradient_accumulation_steps was set to 2 or more.
    tsukimiya committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    a167a59 View commit details
    Browse the repository at this point in the history
  16. Merge remote-tracking branch 'origin/hotfix/max_train_steps' into hot…

    …fix/max_train_steps
    
    # Conflicts:
    #	train_network.py
    tsukimiya committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    9d4cf8b View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Extract parser setup to helper function

    - Allows users who `import` the scripts to examine the parser programmatically
    robertsmieja committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    eb66e5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a265225 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. fix no npz with full path

    kohya-ss committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    cb08fa0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into dev

    kohya-ss committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    cca3804 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1816ac3 View commit details
    Browse the repository at this point in the history
  4. fix different reso in batch

    kohya-ss committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    6d9f3bc View commit details
    Browse the repository at this point in the history
  5. Merge pull request #292 from tsukimiya/hotfix/max_train_steps

    Fix: simultaneous use of gradient_accumulation_steps and max_train_epochs
    kohya-ss authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    5aa5a07 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #306 from robertsmieja/main

    Extract parser setup to helper function
    kohya-ss authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    1645698 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7b324bc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    88751f5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2d86f63 View commit details
    Browse the repository at this point in the history
  10. fix do not starting script

    kohya-ss committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    4f92b62 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    193674e View commit details
    Browse the repository at this point in the history
  12. update readme

    kohya-ss committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    2c5949c View commit details
    Browse the repository at this point in the history
  13. Merge pull request #310 from kohya-ss/dev

    faster latents caching etc.
    kohya-ss authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    aee343a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    795a6bd View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2023

  1. Configuration menu
    Copy the full SHA
    64c9232 View commit details
    Browse the repository at this point in the history
  2. implement token warmup

    u-haru committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    a9b26b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Configuration menu
    Copy the full SHA
    447c56b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbadc40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3c7d71 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    518a18a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Configuration menu
    Copy the full SHA
    143c26e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b89b2a View commit details
    Browse the repository at this point in the history
  3. format by black

    kohya-ss committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    b2c5b96 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e203270 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2023

  1. Configuration menu
    Copy the full SHA
    5ec9099 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    292cdb8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c80da6 View commit details
    Browse the repository at this point in the history
  4. lora以外も対応

    u-haru committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    4dc1124 View commit details
    Browse the repository at this point in the history
  5. print削除

    u-haru committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    5a3d564 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4b34a9 View commit details
    Browse the repository at this point in the history
  7. Implement XTI

    Jakaline-dev committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    a35d7ef View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Configuration menu
    Copy the full SHA
    4c06bfa View commit details
    Browse the repository at this point in the history
  2. update resize_lora.py (fix out of bounds and index)

    Fix error where index may go out of bounds when using certain dynamic parameters.
    
    Fix index and rank issue (previously some parts of code was incorrectly using python index position rather than rank, which is -1 dim).
    mgz-dev committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    c9b157b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #322 from u-haru/feature/token_warmup

    タグ数を徐々に増やしながら学習するオプションの追加、persistent_workersに関する軽微なバグ修正
    kohya-ss authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    4f42f75 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6732df9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #308 from AI-Casanova/min-SNR

    Efficient Diffusion Training via Min-SNR Weighting Strategy
    kohya-ss authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    a18558d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #328 from mgz-dev/resize_lora-fixes

    update resize_lora.py (fix out of bounds and index)
    kohya-ss authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    559a1ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1489152 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Reduce peak RAM usage

    guaneec authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    3cdae0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    066b1bb View commit details
    Browse the repository at this point in the history
  3. add ja comment

    kohya-ss committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    43a08b4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    238f01b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    895b0b6 View commit details
    Browse the repository at this point in the history
  6. update readme

    kohya-ss committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    5fa20b5 View commit details
    Browse the repository at this point in the history
  7. fix typo

    kohya-ss committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    99eaf1f View commit details
    Browse the repository at this point in the history
  8. Merge pull request #333 from kohya-ss/dev

    min snr weighting etc.
    kohya-ss authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    49b29f2 View commit details
    Browse the repository at this point in the history
  9. Update README.md

    kohya-ss authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    0138a91 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Configuration menu
    Copy the full SHA
    4f70e5d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into dev

    kohya-ss committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    c838efc View commit details
    Browse the repository at this point in the history
  3. update readme

    kohya-ss committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    472f516 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #339 from kohya-ss/dev

    fix an issue with num_workers=0
    kohya-ss authored Mar 28, 2023
    Configuration menu
    Copy the full SHA
    b996f5a View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. format by black

    kohya-ss committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    bf3674c View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main'

    Jakaline-dev committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    b0c33a4 View commit details
    Browse the repository at this point in the history
  3. disabled sampling (for now)

    Jakaline-dev committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    24e3d4b View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Merge pull request #327 from jakaline-dev/main

    P+: Extended Textual Conditioning in Text-to-Image Generation
    kohya-ss authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    935d477 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d91dc0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb53a77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d6faa9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #332 from guaneec/ddp-lowram

    Reduce peak RAM usage
    kohya-ss authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    6c28dfb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    31069e1 View commit details
    Browse the repository at this point in the history
  7. update readme

    kohya-ss committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    5fc80b7 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #349 from kohya-ss/dev

    P+, reduce ram usage etc.
    kohya-ss authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    d68ba2f View commit details
    Browse the repository at this point in the history
  9. fix not working

    kohya-ss committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    e76ea7c View commit details
    Browse the repository at this point in the history
  10. Merge branch 'main' into dev

    kohya-ss committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    cd5e3ba View commit details
    Browse the repository at this point in the history
  11. Merge pull request #350 from kohya-ss/dev

    fix gen not working
    kohya-ss authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    ea1cf4a View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    8cecc67 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #357 from kohya-ss/dev

    Fix device issue in load_file, reduce vram usage
    kohya-ss authored Mar 31, 2023
    Configuration menu
    Copy the full SHA
    c93cbbc View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. format by black

    kohya-ss committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    1cd0777 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4627b38 View commit details
    Browse the repository at this point in the history
  3. fix conv2d3x3 is not merged

    kohya-ss committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    770a561 View commit details
    Browse the repository at this point in the history
  4. update readme

    kohya-ss committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    18d69d8 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #360 from kohya-ss/dev

    fix for merge_lora.py
    kohya-ss authored Apr 1, 2023
    Configuration menu
    Copy the full SHA
    f037b09 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    d0d8bc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d4cacb View commit details
    Browse the repository at this point in the history
  3. Add -u short option

    jstayco committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    fd603cb View commit details
    Browse the repository at this point in the history
  4. Improve container environment detection

    Improve container environment detection, improve library linking in containers, ensure we exit after calling gui.sh to avoid any conditions where code continues running.
    jstayco committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    4836cc3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77e762a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    71f5965 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Merge pull request #535 from jstayco/gui_sh_dynamic_location_fix

    gui.sh more location independent, better docker environment detection/handling, setup.sh -u option added to skip launching GUI in docker environment
    bmaltais authored Apr 4, 2023
    Configuration menu
    Copy the full SHA
    10c9e85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54a2041 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    7b87edf View commit details
    Browse the repository at this point in the history
  2. Merge commit 'f037b09c2de13df549290b7c8d4d4a22ab165c36' into '2eddd64…

    …b90c8b30636f5b1b7f6c934653df277d9'
    Cauldrath committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    9a14c15 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4cf86a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f4f84c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Merge pull request #551 from Cauldrath/sd-scripts-history

    Merge history from kohya-ss/sd-scripts
    bmaltais authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    87687d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f8e6fb View commit details
    Browse the repository at this point in the history
  3. align with other run_cmds

    Oceanswave committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    95d590c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #556 from Oceanswave/master

    Fix for git-based captioning on posix systems
    bmaltais authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    769768c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3af1367 View commit details
    Browse the repository at this point in the history
  6. Update gui.sh

    the outer quotes are unnecessary, brackets do the job
    derVedro authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    fa8fd1a View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Merge pull request #558 from derVedro/patch-2

    gui.sh will now be able to handle spaces and other ugly things in the path
    bmaltais authored Apr 7, 2023
    Configuration menu
    Copy the full SHA
    c4e91a2 View commit details
    Browse the repository at this point in the history
  2. v21.5.0

    bmaltais committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    8e582ca View commit details
    Browse the repository at this point in the history