kohya_ss/setup
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
..
check_local_modules.py Refactor setup (#1030) 2023-06-21 15:09:18 -04:00
create_user_files.py Refactor setup (#1030) 2023-06-21 15:09:18 -04:00
debug_info.py Update some typos 2024-02-15 10:29:00 +08:00
docker_setup.py chore(docker): rewrite Dockerfile 2024-02-18 09:58:59 +08:00
setup_common.py Core improvements batch1 (#3294) 2025-06-19 08:07:05 -04:00
setup_linux.py Add support for quiet output for linux setup 2024-11-07 10:33:29 -05:00
setup_runpod.py Update requirements for linux 2024-10-26 11:11:20 -04:00
setup_windows.py Update requirements syntax (for windows) 2024-10-26 10:29:42 -04:00
update_bitsandbytes.py Refactor setup (#1030) 2023-06-21 15:09:18 -04:00
validate_requirements.py fix(validate_requirements): correct typo 2025-06-02 19:39:03 +08:00