Skip to content

Proposed file structure rework and required file changes#1

Merged
kohya-ss merged 1 commit intokohya-ss:mainfrom
bmaltais:main
Dec 19, 2022
Merged

Proposed file structure rework and required file changes#1
kohya-ss merged 1 commit intokohya-ss:mainfrom
bmaltais:main

Conversation

@bmaltais
Copy link
Copy Markdown
Contributor

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.

@kohya-ss kohya-ss merged commit d9bb4aa into kohya-ss:main Dec 19, 2022
@kohya-ss
Copy link
Copy Markdown
Owner

Looks good! Thank you for restructuring!

kohya-ss pushed a commit that referenced this pull request Dec 20, 2022
AI-Casanova referenced this pull request in AI-Casanova/sd-scripts Feb 14, 2023
AI-Casanova referenced this pull request in AI-Casanova/sd-scripts Apr 8, 2023
kohya-ss pushed a commit that referenced this pull request May 15, 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants