Add ability to trigger a save from the ui which whill make the trainer save on the next step

This commit is contained in:
Jaret Burkett
2026-05-26 08:38:49 -06:00
parent 2aa60e4ca5
commit 68e9b38220
6 changed files with 91 additions and 6 deletions

View File

@@ -38,6 +38,7 @@ model Job {
pid Int?
job_type String @default("train") // 'train', 'caption'
job_ref String? // can be used for anything for special jobs, like dataset path for caption jobs
save_now Boolean @default(false) // if true, the job will be saved on the next step
@@index([status])
@@index([gpu_ids])