Commit History

Refactor logging in run_training function of app.py to accumulate log messages in a buffer before yielding, improving output consistency and readability during training execution.
0538a11

yeq6x commited on

Add dependency installation for musubi-tuner in app.py during startup. Implement best-effort upgrade for pip, setuptools, and wheel, and handle optional Torch extras for editable installation. Fallback to plain install if editable fails, ensuring smoother setup process.
c888ffa

yeq6x commited on

Fix indentation in app.py for control_upload_sets enumeration in run_training function, improving code readability and structure.
4f98208

yeq6x commited on

Enhance image upload handling in app.py by implementing PNG conversion during file saving and adding prefix/suffix options for metadata creation. Update UI to include fields for main and control image prefixes/suffixes, improving user experience and flexibility in image processing.
8ece4a2

yeq6x commited on

Add normalization function for filename keys in app.py and update GPU decorator for run_training function
be11537

yeq6x commited on

Refactor UI in app.py to clearly separate mandatory control_0 image uploads from optional control images. Control_0 uploads are now displayed outside of the accordion for improved user guidance, while optional controls are organized within a closed accordion by default.
3915e6f

yeq6x commited on

Update run_training function in app.py to enforce mandatory control_0 image uploads, improving error handling and user guidance. Modify UI to reflect that control_0 images are required, enhancing clarity for users during image uploads.
dc4e3c7

yeq6x commited on

Refactor run_training function in app.py to return tuples for error and log messages, enhancing clarity in output handling. Update UI to remove user input for models_root, output_dir_base, and dataset_config, which are now resolved at runtime. Implement logic to locate the latest LoRA file for download after training completion.
81ee3f1

yeq6x commited on

Enhance app.py by adding an override option for run name in the _prepare_script function and updating the run_training function to use an auto-generated dataset directory name. Modify UI to reflect changes from dataset_name to output_name for better clarity in user input.
6d7d2b1

yeq6x commited on

Refactor run_training function in app.py to simplify parameters and enhance control image handling. Update UI for image uploads and ensure at least one control folder is provided for training. Adjust data root resolution to auto-decide based on user input.
0a92c44

yeq6x commited on

Reorder startup functions in app.py to ensure musubi-tuner is cloned before downloading models. This change maintains the intended execution flow during application startup.
3357f66

yeq6x commited on

Enhance app.py with new functions for handling data uploads and directory management. Implement data root resolution and control set preparation for training. Update main execution flow to accommodate new upload handling and directory structure.
bb0426b

yeq6x commited on

Refactor app.py to support runtime-resolved paths for musubi-tuner and models directories. Implement fallback mechanisms for directory creation and cloning operations. Update UI components to reflect new runtime paths.
3ae9658

yeq6x commited on

Update default paths in app.py and download_qwen_image_models.py to use /data and /auto directories. Adjust metadata generation script to reflect new working directory structure.
630a29d

yeq6x commited on

Enhance training functionality with ZeroGPU support and UI adjustments. Added options to override max epochs and save frequency, and implemented GPU request handling for Spaces compatibility.
177760c

yeq6x commited on

Add musubi-tuner integration: clone repository at startup and set default directory and repo URL
6160205

yeq6x commited on

Add import for spaces module in app.py
71e1e3a

yeq6x commited on

Implement initial project structure and setup
701afe3

yeq6x commited on

initial commit
23aed19

yeq6x commited on