> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use https://docs.fastino.ai/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Create managed config jobs with POST /v1/training/jobs using base_model. For custom training loops, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# 加载训练权重

> 从状态名称或此作业的 tinker:// 路径向交互式作业排队加载。设置 optimizer 可恢复优化器状态，然后轮询 future_id。

`POST /v1/training/jobs/{job_id}/load-weights`

将该任务的某个 `weights/<name>` 检查点恢复到同一任务中，例如回滚一次不理想的更新。若要在新任务中继续，请将其路径作为 `from_checkpoint` 传给 [`POST /v1/training/jobs/create-model`](/cn/api-reference/training-jobs/interactive/create-model)。

<ParamField header="X-API-Key" type="string" required>
  您的 Fastino API 密钥。
</ParamField>

<ParamField path="job_id" type="string" required>
  交互式任务 ID。
</ParamField>

<ParamField body="path" type="string" required>
  该任务保存的状态检查点名称，或其 `tinker://<job_id>/weights/<name>` 路径。
</ParamField>

<ParamField body="optimizer" type="boolean" default="false">
  同时恢复优化器状态。
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.fastino.ai/v1/training/jobs/$TRAINING_JOB_ID/load-weights" \
    -H "X-API-Key: $FASTINO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"path": "step-000100", "optimizer": true}'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "future_id": "FUTURE_ID",
    "job_id": "SESSION_ID:train:0",
    "type": "load"
  }
  ```
</ResponseExample>

| 状态 | 含义 |
| - | - |
| `400` | `path` 指向其他任务的检查点或 sampler 检查点，或者任务已停止。 |
| `404` | 任务不存在或属于其他团队。 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.