Files
Kohya-ss-sd-scripts/.gitignore
Kohya S ba72f3b665 feat: Add LoHa/LoKr network support for SDXL and Anima
- networks/network_base.py: shared AdditionalNetwork base class with architecture auto-detection (SDXL/Anima) and generic module injection
- networks/loha.py: LoHa (Low-rank Hadamard Product) module with HadaWeight custom autograd, training/inference classes, and factory functions
- networks/lokr.py: LoKr (Low-rank Kronecker Product) module with factorization, training/inference classes, and factory functions
- library/lora_utils.py: extend weight merge hook to detect and merge LoHa/LoKr weights alongside standard LoRA

Linear and Conv2d 1x1 layers only; Conv2d 3x3 (Tucker decomposition) support will be added separately.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 21:50:50 +09:00

14 lines
127 B
Plaintext

logs
__pycache__
wd14_tagger_model
venv
*.egg-info
build
.vscode
wandb
CLAUDE.md
GEMINI.md
.claude
.gemini
MagicMock
references