WIP
- NF4 model loading
- QLoRA with bitsandbytes
- Flash Attention support
- Aspect ratio bucketing
- SDXL
- AuraFlow
- Lumina Image 2.0
- Flux & Flex (WIP)
- CogView4 (WIP)
- FractalGen (TODO)
- Wan 2.1 (TODO)
uv sync --extra build
uv sync --all-extras
# uv sync --extra compile --extra flash-attn --extra xformers --extra triton
# at least compile is required for training
-
https://github.com/kohya-ss/sd-scripts
- Heavily inspired by this repository.
-
https://github.com/Alpha-VLLM/Lumina-Image-2.0
- Model implementation
-
https://github.com/huggingface/peft
- Peft logic and implementation
-
https://github.com/ostris/ai-toolkit
- Traning cycle and API design
-
https://github.com/NovelAI/novelai-aspect-ratio-bucketing
- Aspect ratio bucketing
-
https://github.com/bitsandbytes-foundation/bitsandbytes
- Quantization