Commit Graph

3293 Commits (94ff5231fad3c37ddb32401ad8101e649b198b0e)

Author SHA1 Message Date
bmaltais 94ff5231fa Update style 2025-05-26 08:50:23 -04:00
google-labs-jules[bot] 5b5278d6e7 Refactor: Differentiate section backgrounds for visual separation
This commit updates `assets/style.css` to enhance visual distinction between UI sections in both light and dark themes, per your feedback.

Key changes:
- Restored original light theme background colors for UI sections, each having a unique subtle grey/off-white shade.
- Implemented new, distinct dark grey background shades for each UI section in the dark theme, ensuring they are visually separable.
- Updated hover effects for all sections in both themes to complement their unique background colors.
- Re-applied the modernized button styling (blue primary, teal accent) and associated text colors from a previous revision for overall theme consistency.

This approach provides clearer visual boundaries between different parts of the UI while maintaining a harmonious color scheme.
2025-05-26 12:37:01 +00:00
google-labs-jules[bot] ccf82f96ac Refactor: Harmonize CSS colors for light and dark themes
I've updated the color scheme in `assets/style.css` to create a more harmonious and consistent visual experience for you across both light and dark themes.

Key changes include:
- I defined a new color palette with primary, secondary, accent, and neutral colors.
- I revised light theme colors for backgrounds, buttons, and text to use the new palette.
- I adjusted dark theme colors to complement the light theme and ensure readability, using darker backgrounds and lighter text from the palette.
- I refined hover effects for better visual feedback in both themes.
- I ensured good contrast and accessibility with the new color choices.
2025-05-26 12:23:30 +00:00
bmaltais f56fb0f59f Update how uv is installed on windows 2025-05-25 19:16:58 -04:00
bmaltais 451f051d52
Update kohya_gui/blip2_caption_gui.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-25 18:10:24 -04:00
bmaltais 59b4bb6977 Removing unneeded file 2025-05-25 18:07:20 -04:00
bmaltais f91cee6c7a Getting ready for v25.1.0 release 2025-05-25 17:52:02 -04:00
bmaltais c4247408fe
Feat/add max grad norm dreambooth (#3251)
* I've added a `max_grad_norm` parameter to the Dreambooth GUI.

This change adds support for the `max_grad_norm` parameter to the Dreambooth training GUI.

- The `max_grad_norm` option is now available in the 'Basic' training parameters section.
- The value you set in the GUI for `max_grad_norm` is passed to the training script via the generated TOML configuration file, similar to its existing implementation in the LoRA GUI.

* Fix mising entry for max_grad_norm

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-25 17:44:03 -04:00
陳鈞 93a06c7fc3
docs: doc uv install method is fine for Docker use (#3247)
- Update the uv installation instructions removing Docker from the list of exceptions and affected notes.

We have now switched to using uv for building docker image.
Both uv and pip are effective options for the docker environment, and I believe there is no need to highlight either method when making a selection.
I have left the Runpod as is because I do not have experience with Runpod.

Signed-off-by: CHEN, CHUN <jim60105@gmail.com>
2025-05-25 14:56:09 -04:00
bmaltais e1a769da5c
The message is fine as is. (#3250)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-25 14:54:31 -04:00
bmaltais 3ed552b08c Update scripted installation of uv 2025-05-25 14:39:08 -04:00
bmaltais 528de60aac Update to latest sd-scripts 2025-05-24 10:48:11 -04:00
bmaltais 1121544c48
Refactor README.md to clarify uv vs pip usage (#3246)
This commit significantly restructures the README.md to provide clearer documentation for using `uv` and `pip` for installation, upgrades, and launching the GUI.

A new 'Installation Methods' section has been added to centralize the explanation of `uv` and `pip`, outlining their differences and recommended use cases.

Existing sections ('Installation', 'Upgrading', 'Starting GUI Service') have been refactored to:
- Remove redundant instructions.
- Clearly refer to the 'Installation Methods' section.
- Distinguish between `uv`-specific scripts (e.g., `gui-uv.bat`) and `pip`-specific scripts (e.g., `gui.bat`).

The goal of these changes is to reduce confusion and make it easier for you to choose and follow the installation path that best suits your needs.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-23 20:38:33 -04:00
陳鈞 44cca1c367
build(docker): switch from pip to uv for package management (#3229)
- Upgrade base image from Python 3.10 to Python 3.11 slim on Debian Bullseye.
- Replace manual PyTorch and dependencies installation with uv environment management and installation.
- Add installation of large dependencies (torch, triton, tensorflow, onnxruntime-gpu) explicitly to optimize image layer caching.
- Switch from pip to uv for package management and dependency synchronization.
- Replace pillow with pillow-simd on amd64 architecture using uv-managed pip for performance improvements.
- Adjust environment variables to use the virtual environment under /venv instead of local user installs.
- Create /venv directory with appropriate permissions and copy the virtual environment from build stage.
- Modify CMD to add --noverify flag when launching kohya_gui.py.
- Remove requirements_linux_docker.txt file, consolidating dependency management into uv and pyproject.toml.

Signed-off-by: CHEN, CHUN <jim60105@gmail.com>
2025-05-23 20:34:27 -04:00
bmaltais f28f96b111
Docs: Comprehensive README overhaul (#3245)
This commit significantly revamps the README.md to improve clarity,
organization, and completeness for you.

Key changes include:
- Enhanced project introduction: Clearly defines project purpose and key features.
- Improved structure:
    - Moved detailed installation guides (Docker, Runpod, Novita) and specific
      troubleshooting (Tesla V100) to separate files in `docs/`.
    - Standardized formatting for notes, warnings, and important messages.
- Content updates and additions:
    - Added a "Prerequisites" section.
    - Expanded the "LoRA" section with links to detailed documentation.
    - Updated "SDXL training" and "Masked loss" sections, removing obsolete notes.
    - Added "Contributing" guidelines and a "License" section.
    - Incorporated badges for GitHub stars, forks, license, and issues.
    - Removed the outdated "ToDo" section.
- Link verification: Ensured internal links are correct and external links
  are properly formatted.
- Change History: Condensed the verbose v25.0.0 entry for better readability.

These changes aim to provide a more user-friendly and informative entry
point for the Kohya's GUI project.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-23 20:27:23 -04:00
bmaltais e3f7975352 Fix issue with library in project 2025-05-03 20:21:35 -04:00
bmaltais c30249f633 Fix logic issues 2025-05-03 11:20:08 -04:00
bmaltais d8bf6eff04 Fix some logic issues in lora handling 2025-05-03 11:11:41 -04:00
bmaltais 35354b1b0a Update lycoris release 2025-05-03 10:46:27 -04:00
bmaltais dc78079ca5 Updates for linux support 2025-05-03 10:24:57 -04:00
bmaltais 9442940cea Update to python 3.11 as version for the gui
Add deepspeed support under linux
2025-05-03 09:29:42 -04:00
dependabot[bot] b68dcec677
Bump crate-ci/typos from 1.31.1 to 1.31.2 (#3208)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.31.1 to 1.31.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.31.1...v1.31.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.31.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-02 20:23:02 -04:00
JoeYang1412 e69834cd6f
Update CUDA and PyTorch configuration in Dockerfile (#3195) 2025-05-02 20:21:51 -04:00
bmaltais 950ee5e7b5 Update sd-scripts 2025-05-02 07:44:40 -04:00
bmaltais 3ad2a273ef Merge branch 'master' into dev 2025-04-22 21:20:04 -04:00
bmaltais f3e1cb8f41 Update to latest sd-scripts 2025-04-22 21:19:28 -04:00
bmaltais 2c06b29057 Merge branch 'master' into dev 2025-04-21 20:12:14 -04:00
bmaltais 21d0f75fb2 Update sd-scripts 2025-04-21 20:11:11 -04:00
bmaltais f4ad0ec51c Sync latest sd-scripts 2025-04-19 10:25:48 -04:00
bmaltais 0a6ec135c5 Merge branch 'master' into dev 2025-04-19 10:25:04 -04:00
dependabot[bot] 7ddcf5004f
Bump crate-ci/typos from 1.30.0 to 1.31.1 (#3153)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.30.0 to 1.31.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.30.0...v1.31.1)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-19 10:23:11 -04:00
Ryan 9d500d99c2
Apple Silicone Support (This time not on Master) (#3174)
* Adding some changes to support current apple silicone

Adding a note that MPS is detected in validation, and a current set of packages that offer MPS torch acceleration

* Adding MPS support for blip2
2025-04-19 10:22:53 -04:00
tdtrumble 71ebffaafb
Update lycoris_locon_extract.py, updated imports (#3184) 2025-04-19 10:21:48 -04:00
bmaltais b4ea70b72d Update to latest sd-scripts 2025-04-06 12:49:02 -04:00
bmaltais e79f0416fb Fix issue with v_param when SDXL is selected 2025-04-05 08:47:35 -04:00
bmaltais 8f2476115e Add pytorch_optimizer.CAME to optimizer list. 2025-03-30 14:44:24 -04:00
bmaltais 1c7ab4d4f3 Add support for LoRA-GGPO 2025-03-30 14:41:40 -04:00
bmaltais f2efdcf207 Update to latest sd-scripts release 2025-03-30 11:07:02 -04:00
bmaltais dadcbc5aa0 Merge branch '3147-learning-settings-that-were-available-in-v2417-are-no-longer-available-in-v2503' into dev 2025-03-30 10:53:54 -04:00
bmaltais eabfc4f93c Fix issue with local variable 'do_not_set_learning_rate' referenced before assignment 2025-03-30 10:48:29 -04:00
bmaltais 955c4bd5e9 Update README 2025-03-30 10:47:44 -04:00
bmaltais dca0aef2c6 Update requirements for uv 2025-03-29 15:31:22 -04:00
bmaltais bb5492850a Update installation instructions 2025-03-29 10:58:54 -04:00
bmaltais b9028e8710
v25.0.3
- Upgrade Gradio, diffusers and huggingface-hub to latest release to fix issue with ASGI.
- Add a new method to setup and run the GUI. You will find two new script for both Windows (gui-uv.bat) and Linux (gui-uv.sh). With those scripts there is no need to run setup.bat or setup.sh anymore.
2025-03-28 17:46:38 -04:00
bmaltais 7b527e303e Update release and README 2025-03-28 17:44:36 -04:00
bmaltais 6ce4751aa4 Another fix gradio ASGI issue 2025-03-28 16:01:36 -04:00
bmaltais f5c3881050 Update README with information about alternative uv based method to run the GUI 2025-03-28 15:51:56 -04:00
bmaltais b7b44ba805 Merge branch 'sd3-flux.1-uv' into dev 2025-03-28 15:30:06 -04:00
bmaltais 144b5db964 Update requirements 2025-03-28 15:27:39 -04:00
bmaltais 5a2dc0abb4 Merge branch 'master' into sd3-flux.1-uv 2025-03-28 15:19:39 -04:00