Commit Graph

26 Commits (23b70c8f16cccdc391263639af1acdb9dfc933f0)

Author SHA1 Message Date
bmaltais 23b70c8f16
Core improvements batch1 (#3294)
* Refactor and Improve Core Components

This commit includes several improvements to the core components of the Kohya_ss GUI:

1.  **Refactored `check_torch()` in `setup/setup_common.py`**:
    *   Broke down the function into smaller, more focused functions for better readability and maintainability.
    *   Simplified the logic for detecting different hardware backends (CUDA, ROCm, Intel OneAPI).

2.  **Improved Error Handling in `setup/setup_common.py`**:
    *   Made error messages more user-friendly and informative by providing context and suggestions.
    *   Ensured consistent logging of errors.
    *   Enhanced error reporting for external processes like Git and pip/uv.

3.  **Enhanced Documentation for `config.toml`**:
    *   Updated the "Custom Path Defaults" section in `README.md` with more details on customizing `config.toml`.
    *   Provided clearer examples of common configurations.

4.  **Reviewed and Updated Dependencies**:
    *   Removed several unused dependencies from `pyproject.toml` (`altair`, `fairscale`, `imagesize`, `invisible-watermark`, `pytorch-lightning`, `voluptuous`).
    *   Updated various dependencies to their latest stable and compatible versions.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-06-19 08:07:05 -04:00
bmaltais 6357ce868b Update python verstion to 3.11 2025-06-16 07:10:02 -04:00
bmaltais 451f84d4ae Update release number 2025-06-15 10:23:04 -04:00
bmaltais 5264f5f6fe Update accelerate 2025-05-26 21:02:15 -04:00
bmaltais e6adcc355a Revert change 2025-05-26 20:58:30 -04:00
bmaltais ebcd203a82 Install cu128 for all 2025-05-26 20:18:59 -04:00
bmaltais 8c8f15b1ad Update uv requirements 2025-05-26 20:11:52 -04:00
bmaltais 5ab63e488d Update requirements file for 50X0 support 2025-05-26 07:11:25 -04:00
bmaltais 757f4c15cf Updated to support 50X0 cards 2025-05-25 20:05:11 -04:00
bmaltais f56fb0f59f Update how uv is installed on windows 2025-05-25 19:16:58 -04:00
bmaltais e3f7975352 Fix issue with library in project 2025-05-03 20:21:35 -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
bmaltais e79f0416fb Fix issue with v_param when SDXL is selected 2025-04-05 08:47:35 -04:00
bmaltais 1c7ab4d4f3 Add support for LoRA-GGPO 2025-03-30 14:41:40 -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 6ce4751aa4 Another fix gradio ASGI issue 2025-03-28 16:01:36 -04:00
bmaltais 144b5db964 Update requirements 2025-03-28 15:27:39 -04:00
bmaltais 7ad8dc8a18 Update uv requirements 2025-03-28 10:24:34 -04:00
bmaltais b6a438592d Fix issue with bat script 2025-03-28 09:31:03 -04:00
bmaltais 319b11b54b Fix for uv on windows 2025-01-17 08:13:26 -05:00
Bernard Maltais b018959cac Update uv config for linux 2025-01-17 07:55:25 -05:00
bmaltais c521ec6bcf Start work to migrate from pip to uv 2025-01-16 10:07:59 -05:00