OneTrainer icon indicating copy to clipboard operation
OneTrainer copied to clipboard

Added automation tab with folder and mustache support

Open gnewtzie opened this issue 9 months ago • 1 comments

Found myself constantly going in and changing the same values over and over as i create a lot of lora's with the same settings.

The new tab support pointing at a folder and for each folder it will run to completion and then start the next one. Each folder get's it's only copy of the config, concepts and samples files with the values replaced if necessary.

You can name the folder with dashes to support multiple mustache replacements throughout the settings.

Specifically it supports the workspace / cache / modeloutput / concepts / samples folder replacements.

An example would be /directory/{{V1}}{{V2}.safetensors in the model output and then name the folder "foo:bar" to get /directory/foobar.safetensors in the final config which is used as the "function_train_config". The original becomes a template. you can turn it off an on in the automation tab.

gnewtzie avatar May 17 '24 20:05 gnewtzie