Commit Graph

461 Commits

Author SHA1 Message Date
filipstrand
ab3d7abdd2 Update readme to be up-to-date with the newest features 2025-03-05 08:00:01 +01:00
filipstrand
f75593b1dc New: Add In-Context-LoRA feature 2025-03-05 07:55:21 +01:00
filipstrand
c8c35ac8c9 Add ability to download LoRAs automatically from Huggingface 2025-03-05 07:55:21 +01:00
filipstrand
5ec7ab5b41 Renaming: Remove 'init' prefix for a more general interface 2025-03-05 07:30:46 +01:00
Filip Strand
552eb6a3bb
Merge pull request #136 from DanaCase/clear_prompt_cache
clear prompt cache for training
2025-03-05 07:30:16 +01:00
Filip Strand
ceea386361
Merge pull request #135 from DanaCase/test_low_ram
Update arg parser test fixture
2025-03-05 07:23:51 +01:00
Dana Case
96ba683181 clear prompt cache for training 2025-03-04 15:14:22 -08:00
Dana Case
50734795b9 add general arguments to train as well 2025-03-03 19:21:01 -08:00
Dana Case
bf1e366e43 formatting 2025-03-03 18:54:49 -08:00
Filip Strand
c552efe659
Merge pull request #131 from ssakar/memory_saver
Memory usage optimizations
2025-03-02 22:52:57 +01:00
Serkan Sakar
6006806e6d
Merge branch 'filipstrand:main' into memory_saver 2025-03-02 19:38:53 +01:00
Serkan Sakar
f65286e1fb add memory saver to controlnet 2025-03-02 19:28:19 +01:00
Filip Strand
d1a5f55378
Merge pull request #133 from filipstrand/pre-test-cleanup
Pre test cleanup
2025-03-01 22:26:26 +01:00
filipstrand
06f336c714 Pre test cleanup 2025-03-01 22:10:10 +01:00
Filip Strand
d3ce9b67ec
Merge pull request #132 from filipstrand/add-option-to-override-saved-images
Add option to override saved images
2025-03-01 21:47:49 +01:00
filipstrand
09430350f1 Override previously saved test images 2025-03-01 21:37:03 +01:00
filipstrand
d80b6e520f Add option to override saved images 2025-03-01 21:34:26 +01:00
Serkan Sakar
50752f58f4 Memory usage optimizations 2025-02-28 20:43:01 +01:00
filipstrand
8e5e09f7d8 Allow latest mlx 2025-02-19 08:09:34 +01:00
filipstrand
b733452878 Temporarily cap mlx at <0.23.0 until tests pass 2025-02-17 20:42:43 +01:00
Filip Strand
dca6c0acea
Merge pull request #126 from filipstrand/img2img-special-case
Img2img special case fix
2025-02-14 10:41:02 +01:00
filipstrand
821238284a Fix: Handle edge case for img2img 2025-02-14 05:21:35 +01:00
filipstrand
74173f543e Let before-loop callback accept latents and let StepwiseHandler include initial latent 2025-02-14 05:21:18 +01:00
Filip Strand
0417852a9b
Merge pull request #125 from filipstrand/more-quantization
More quantization options
2025-02-12 23:05:08 +01:00
filipstrand
3cecfae75b Refactor model config 2025-02-12 22:27:34 +01:00
filipstrand
f21710eb7e Update reference test images (minor changes due to updated quantization call) 2025-02-12 22:27:34 +01:00
filipstrand
4563bdd34b Update licence 2025-02-12 22:27:34 +01:00
filipstrand
a26277a7dd Require mlx >= v0.22.0 2025-02-12 22:27:34 +01:00
filipstrand
e3b2a65aa6 Allow 3-bit and 6-bit quantization (mlx > v0.21.0) 2025-02-12 22:27:34 +01:00
filipstrand
09d75e46b8 Add PromptCache: Small optimization for repeated generations with same prompt 2025-02-12 22:27:34 +01:00
Filip Strand
2d481e77b2
Merge pull request #124 from filipstrand/refactor-and-add-callback-mechanism
Refactor and add callback mechanism
2025-02-10 18:53:52 +01:00
filipstrand
3601baf75e Implement general callback mechanism 2025-02-09 15:27:06 +01:00
filipstrand
e4af40e4ee Refactor: Remove ConfigControlnet 2025-02-09 14:37:23 +01:00
filipstrand
22f98fc5a4 Refactor: Add separate Flux initializer 2025-02-09 14:37:23 +01:00
Filip Strand
8f82549f43
Merge pull request #122 from filipstrand/transformer-refactor
Transformer refactor
2025-02-02 19:13:45 +01:00
filipstrand
b5db14b3c6 Add descriptive comments for attention computations 2025-02-02 19:12:07 +01:00
filipstrand
0485cf07c2 Refactor: Transformer blocks 2025-02-02 19:12:07 +01:00
filipstrand
0d9a5d626f Refactor: Transformer & Flux 2025-02-02 19:12:07 +01:00
filipstrand
fa99cf0cc8 Refactor: Controlnet transformer & Flux controlnet 2025-02-02 16:45:27 +01:00
filipstrand
010610e33b Remove comments 2025-01-28 00:04:35 +01:00
Filip Strand
d34e60365d
Merge pull request #121 from filipstrand/training-on-non-sequential-block-layers
Training on non sequential block layers
2025-01-27 23:54:33 +01:00
filipstrand
f94edc4c3b Some fixes: Removed time in plotting, fix off-by-one error in training spec, update y-axis on loss plot 2025-01-27 23:48:03 +01:00
Alessandro
401da9fd75 Rebased on main (by filipstrand) 2025-01-27 23:15:27 +01:00
Filip Strand
cb93e1aaf6
Merge pull request #120 from anthonywu/renamer-uv-script-tool
Batch Image Renamer tool as an isolated uv run script
2025-01-27 22:23:18 +01:00
Anthony Wu
9053bcd6d8 Batch Image Renamer tool as an isolated uv run script 2025-01-22 13:25:59 -08:00
Filip Strand
4bea7b9668
Merge pull request #118 from anthonywu/run-n-seeds-auto-seeds
support multiple seeds batch generation
2025-01-22 19:58:51 +01:00
Filip Strand
fbf994a83e
Merge pull request #119 from filipstrand/support_variable_number_of_transformer_blocks
Support variable numbers of transformer blocks
2025-01-22 19:39:38 +01:00
filipstrand
807b243e56 Support variable numbers of transformer blocks 2025-01-22 08:18:39 +01:00
Anthony Wu
af01fab7d5 support multiple seeds batch generation 2025-01-21 18:14:24 -08:00
filipstrand
6fbbc9e5f7 Update missing model config lookup 2025-01-19 23:23:19 +01:00