Skip to main content
POST
POST /v1/training/jobs/{job_id}/save-weights Saves the job’s LoRA weights and optimizer state as weights/<name>. You can load it back into the same job, or start a new job from it. To sample or download weights, save them with POST /v1/training/jobs/{job_id}/save-weights-for-sampler instead. The save runs in order with the job’s other calls. A GLiDE (fastino/GLiDE) job saves all its weights and optimizer state, or with soup the weighted mean of saved states.

Request

string
required
Your Fastino API key.
string
required
Interactive job ID.
string
required
1–128 characters from A-Z, a-z, 0-9, ., _, and -.
integer | null
Delete the checkpoint automatically after this many seconds, from 3600 (1 hour) to 315360000 (10 years). Omit it or send null to keep the checkpoint until you delete it. Live checkpoints count toward storage usage.
boolean
default:"false"
Replace a state checkpoint with the same name.
object
String key-value metadata stored with the checkpoint.
object[]
GLiDE jobs only: save instead the weighted mean of 2 to 8 training states, without optimizer state. Saving a soup doesn’t change the job’s weights: to evaluate or serve it, first load it with load-weights and "optimizer": false.

Response

string
The save future.
string
weights/<name>.
string
Full checkpoint path. Pass it as from_checkpoint when you create a job.