mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-30 19:21:39 +00:00
Update full fine tune example to only train transformer blocks.
This commit is contained in:
@@ -74,6 +74,10 @@ config:
|
|||||||
# quantize: true
|
# quantize: true
|
||||||
# you can quantize just the T5 text encoder here to save vram
|
# you can quantize just the T5 text encoder here to save vram
|
||||||
quantize_te: true
|
quantize_te: true
|
||||||
|
# only train the transformer blocks
|
||||||
|
only_if_contains:
|
||||||
|
- "transformer.transformer_blocks."
|
||||||
|
- "transformer.single_transformer_blocks."
|
||||||
sample:
|
sample:
|
||||||
sampler: "flowmatch" # must match train.noise_scheduler
|
sampler: "flowmatch" # must match train.noise_scheduler
|
||||||
sample_every: 250 # sample every this many steps
|
sample_every: 250 # sample every this many steps
|
||||||
|
|||||||
Reference in New Issue
Block a user