save_checkpoint
Download a run's checkpoint file or entire checkpoints directory to preserve training artifacts after VM shutdown; for Hugging Face jobs, retrieve them from the run's Hub repo.
Instructions
Download a run's checkpoint(s) to the local machine so they survive VM shutdown.
filename: a single file in the run's checkpoints/ dir; if blank, the whole checkpoints/ dir is zipped on the runtime and downloaded. For a Hugging Face job the checkpoints come from the run's Hub repo instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_name": "<run_name>"
},
"name": "save_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| run_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |