diff --git a/README-ja.md b/README-ja.md index 51935728..e04934aa 100644 --- a/README-ja.md +++ b/README-ja.md @@ -8,25 +8,25 @@ クリックすると展開します - [はじめに](#はじめに) - - [スポンサー](#スポンサー) - - [スポンサー募集のお知らせ](#スポンサー募集のお知らせ) - - [更新履歴](#更新履歴) - - [サポートモデル](#サポートモデル) - - [機能](#機能) + - [スポンサー](#スポンサー) + - [スポンサー募集のお知らせ](#スポンサー募集のお知らせ) + - [更新履歴](#更新履歴) + - [サポートモデル](#サポートモデル) + - [機能](#機能) - [ドキュメント](#ドキュメント) - - [学習ドキュメント(英語および日本語)](#学習ドキュメント英語および日本語) - - [その他のドキュメント](#その他のドキュメント) - - [旧ドキュメント(日本語)](#旧ドキュメント日本語) + - [学習ドキュメント(英語および日本語)](#学習ドキュメント英語および日本語) + - [その他のドキュメント](#その他のドキュメント) + - [旧ドキュメント(日本語)](#旧ドキュメント日本語) - [AIコーディングエージェントを使う開発者の方へ](#aiコーディングエージェントを使う開発者の方へ) - [Windows環境でのインストール](#windows環境でのインストール) - - [Windowsでの動作に必要なプログラム](#windowsでの動作に必要なプログラム) - - [インストール手順](#インストール手順) - - [requirements.txtとPyTorchについて](#requirementstxtとpytorchについて) - - [xformersのインストール(オプション)](#xformersのインストールオプション) + - [Windowsでの動作に必要なプログラム](#windowsでの動作に必要なプログラム) + - [インストール手順](#インストール手順) + - [requirements.txtとPyTorchについて](#requirementstxtとpytorchについて) + - [xformersのインストール(オプション)](#xformersのインストールオプション) - [Linux/WSL2環境でのインストール](#linuxwsl2環境でのインストール) - - [DeepSpeedのインストール(実験的、LinuxまたはWSL2のみ)](#deepspeedのインストール実験的linuxまたはwsl2のみ) + - [DeepSpeedのインストール(実験的、LinuxまたはWSL2のみ)](#deepspeedのインストール実験的linuxまたはwsl2のみ) - [アップグレード](#アップグレード) - - [PyTorchのアップグレード](#pytorchのアップグレード) + - [PyTorchのアップグレード](#pytorchのアップグレード) - [謝意](#謝意) - [ライセンス](#ライセンス) @@ -50,15 +50,26 @@ Stable Diffusion等の画像生成モデルの学習、モデルによる画像 ### 更新履歴 +- **Version 0.10.2 (2026-03-30):** + - `networks/resize_lora.py`が`torch.svd_lowrank`に対応し、大幅に高速化されました。[PR #2240](https://github.com/kohya-ss/sd-scripts/pull/2240) および [PR #2296](https://github.com/kohya-ss/sd-scripts/pull/2296) woct0rdho氏に深く感謝します。 + - デフォルトは有効になっています。`--svd_lowrank_niter`オプションで反復回数を指定できます(デフォルトは2、多いほど精度が向上します)。0にすると従来の方法になります。詳細は `--help` でご確認ください。 + - LoKr/LoHaをSDXL/Animaでサポートしました。[PR #2275](https://github.com/kohya-ss/sd-scripts/pull/2275) + - 詳細は[ドキュメント](./docs/loha_lokr.md)をご覧ください。 + - マルチ解像度データセット(同じ画像を複数のbucketサイズにリサイズして使用)がSD/SDXLの学習でサポートされました。[PR #2269](https://github.com/kohya-ss/sd-scripts/pull/2269) また、マルチ解像度データセットで同じ解像度の画像が重複して使用される事象への対応を行いました。[PR #2273](https://github.com/kohya-ss/sd-scripts/pull/2273) + - woct0rdho氏に感謝します。 + - [ドキュメント英語版](./docs/config_README-en.md#behavior-when-there-are-duplicate-subsets) / [ドキュメント日本語版](./docs/config_README-ja.md#重複したサブセットが存在する時の挙動) をご覧ください。 + - Animaでfp16で学習する際の安定性が向上しました。[PR #2297](https://github.com/kohya-ss/sd-scripts/pull/2297) ただし、依然として不安定な場合があるようです。問題が発生する場合は、詳細をIssueでお知らせください。 + - その他、細かいバグ修正や改善を行いました。 + - **Version 0.10.1 (2026-02-13):** - - [Anima Preview](https://huggingface.co/circlestone-labs/Anima)モデルのLoRA学習およびfine-tuningをサポートしました。[PR #2260](https://github.com/kohya-ss/sd-scripts/pull/2260) および[PR #2261](https://github.com/kohya-ss/sd-scripts/pull/2261) - - 素晴らしいモデルを公開された CircleStone Labs、および PR #2260を提出していただいたduongve13112002氏に深く感謝します。 - - 詳細は[ドキュメント](./docs/anima_train_network.md)をご覧ください。 + - [Anima Preview](https://huggingface.co/circlestone-labs/Anima)モデルのLoRA学習およびfine-tuningをサポートしました。[PR #2260](https://github.com/kohya-ss/sd-scripts/pull/2260) および[PR #2261](https://github.com/kohya-ss/sd-scripts/pull/2261) + - 素晴らしいモデルを公開された CircleStone Labs、および PR #2260を提出していただいたduongve13112002氏に深く感謝します。 + - 詳細は[ドキュメント](./docs/anima_train_network.md)をご覧ください。 - **Version 0.10.0 (2026-01-19):** - - `sd3`ブランチを`main`ブランチにマージしました。このバージョンからFLUX.1およびSD3/SD3.5等のモデルが`main`ブランチでサポートされます。 - - ドキュメントにはまだ不備があるため、お気づきの点はIssue等でお知らせください。 - - `sd3`ブランチは当面、`dev`ブランチと同期して開発ブランチとして維持します。 + - `sd3`ブランチを`main`ブランチにマージしました。このバージョンからFLUX.1およびSD3/SD3.5等のモデルが`main`ブランチでサポートされます。 + - ドキュメントにはまだ不備があるため、お気づきの点はIssue等でお知らせください。 + - `sd3`ブランチは当面、`dev`ブランチと同期して開発ブランチとして維持します。 ### サポートモデル diff --git a/README.md b/README.md index 88b58359..6e889a82 100644 --- a/README.md +++ b/README.md @@ -7,23 +7,23 @@ Click to expand - [Introduction](#introduction) - - [Supported Models](#supported-models) - - [Features](#features) - - [Sponsors](#sponsors) - - [Support the Project](#support-the-project) + - [Supported Models](#supported-models) + - [Features](#features) + - [Sponsors](#sponsors) + - [Support the Project](#support-the-project) - [Documentation](#documentation) - - [Training Documentation (English and Japanese)](#training-documentation-english-and-japanese) - - [Other Documentation (English and Japanese)](#other-documentation-english-and-japanese) + - [Training Documentation (English and Japanese)](#training-documentation-english-and-japanese) + - [Other Documentation (English and Japanese)](#other-documentation-english-and-japanese) - [For Developers Using AI Coding Agents](#for-developers-using-ai-coding-agents) - [Windows Installation](#windows-installation) - - [Windows Required Dependencies](#windows-required-dependencies) - - [Installation Steps](#installation-steps) - - [About requirements.txt and PyTorch](#about-requirementstxt-and-pytorch) - - [xformers installation (optional)](#xformers-installation-optional) + - [Windows Required Dependencies](#windows-required-dependencies) + - [Installation Steps](#installation-steps) + - [About requirements.txt and PyTorch](#about-requirementstxt-and-pytorch) + - [xformers installation (optional)](#xformers-installation-optional) - [Linux/WSL2 Installation](#linuxwsl2-installation) - - [DeepSpeed installation (experimental, Linux or WSL2 only)](#deepspeed-installation-experimental-linux-or-wsl2-only) + - [DeepSpeed installation (experimental, Linux or WSL2 only)](#deepspeed-installation-experimental-linux-or-wsl2-only) - [Upgrade](#upgrade) - - [Upgrade PyTorch](#upgrade-pytorch) + - [Upgrade PyTorch](#upgrade-pytorch) - [Credits](#credits) - [License](#license) @@ -47,6 +47,17 @@ If you find this project helpful, please consider supporting its development via ### Change History +- **Version 0.10.2 (2026-03-30):** + - `networks/resize_lora.py` has been updated to use `torch.svd_lowrank`, resulting in a significant speedup. Many thanks to woct0rdho for [PR #2240](https://github.com/kohya-ss/sd-scripts/pull/2240) and [PR #2296](https://github.com/kohya-ss/sd-scripts/pull/2296). + - It is enabled by default. You can specify the number of iterations with the `--svd_lowrank_niter` option (default is 2, more iterations will improve accuracy). Setting it to 0 will revert to the previous method. Please check `--help` for details. + - LoKr/LoHa is now supported for SDXL/Anima. See [PR #2275](https://github.com/kohya-ss/sd-scripts/pull/2275) for details. + - Please refer to the [documentation](./docs/loha_lokr.md) for details. + - Multi-resolution datasets (using the same image resized to multiple bucket sizes) are now supported in SD/SDXL training. We also addressed the issue of duplicate images with the same resolution being used in multi-resolution datasets. See [PR #2269](https://github.com/kohya-ss/sd-scripts/pull/2269) and [PR #2273](https://github.com/kohya-ss/sd-scripts/pull/2273) for details. + - Thanks to woct0rdho for the contribution. + - Please refer to the [English documentation](./docs/config_README-en.md#behavior-when-there-are-duplicate-subsets) / [Japanese documentation](./docs/config_README-ja.md#重複したサブセットが存在する時の挙動) for details. + - Stability when training with fp16 on Anima has been improved. See [PR #2297](https://github.com/kohya-ss/sd-scripts/pull/2297) for details. However, it still seems to be unstable in some cases. If you encounter any issues, please let us know the details via Issues. + - Other minor bug fixes and improvements were made. + - **Version 0.10.1 (2026-02-13):** - [Anima Preview](https://huggingface.co/circlestone-labs/Anima) model LoRA training and fine-tuning are now supported. See [PR #2260](https://github.com/kohya-ss/sd-scripts/pull/2260) and [PR #2261](https://github.com/kohya-ss/sd-scripts/pull/2261). - Many thanks to CircleStone Labs for releasing this amazing model, and to duongve13112002 for submitting great PR #2260.