Proposed file structure rework and required file changes#1
Merged
kohya-ss merged 1 commit intokohya-ss:mainfrom Dec 19, 2022
Merged
Proposed file structure rework and required file changes#1kohya-ss merged 1 commit intokohya-ss:mainfrom
kohya-ss merged 1 commit intokohya-ss:mainfrom
Conversation
Owner
|
Looks good! Thank you for restructuring! |
AI-Casanova
referenced
this pull request
in AI-Casanova/sd-scripts
Feb 14, 2023
kohya-ss
pushed a commit
that referenced
this pull request
May 1, 2025
…_precision Fix: try aligning dtype of matrixes when training with deepspeed and mixed-precision is set to bf16 or fp16
lRemixl
pushed a commit
to lRemixl/sd-scripts-T5
that referenced
this pull request
Apr 17, 2026
Implement zero conditioning dropout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have restructured things in the following folders:
finetune: folder for finetune specific python code
library: folder for common python code
tools: utilities that benefir both train_db.py and fine_tune.py users
I added a setup.py file that will register the library folder as a python library so it can be used by all other python code within the contect of the venv
I updated the requirements_db_finetune.txt with missing modules to be able to properly run both train_db.py and fine_tune.py
I updated the .gitignore to ignore folders created when registering the library as a python library.