Skip to main content

Checkpoints and recovery

Console Checkpoints shows a dedicated Visibility column with Private, Internal or Public for each saved checkpoint, using the same neutral labels as Runners and Recipes. Each row retains its own access policy.

Choose the right checkpoint​

Sampler weights and optimizer-complete training state are different artifacts. checkpoint_type and the saved metadata tell you which one you have and whether it can resume training.

Checkpoint paths​

Checkpoint ANS URIs in Console fields link to the referenced checkpoint detail in the current workspace and project. The adjacent copy button preserves the complete recorded URI. Missing or inaccessible references show their error; they do not select a different checkpoint.

Existing envloop:// and tinker:// locators retain their resource identity and access controls. Use the checkpoint resource APIs to list, inspect and download authorized files; no interactive client factory is required.

The Console shows three names for a checkpoint:

  1. Checkpoint Name is model_revision_label, the revision of its bound ANS URI, for example recipe-train-qwen35-0.8b-sft-gpu-0123456789abcdef. A checkpoint without a bound URI (uploading or historical) shows its save name instead.
  2. Save Point is checkpoint_name, the trainer's save name. Saves are named for the optimizer step they hold: step-200 for sampler weights, step-200-state for resumable training state saved at the same step. The last save of a Train Job that succeeded is marked final (final: true).
  3. Checkpoint ID is resource_id, for example asset_…. The same ID is returned as asset_id and is used in detail links and lifecycle requests. The ID is opaque. Existing Checkpoint ID links still resolve.

ANS URI is the returned primary uri, for example envloop://model/envloop/Qwen3.5-0.8B@recipe-train-qwen35-0.8b-sft-gpu-0123456789abcdef/step-200. Each save has its own revision; a step-named save adds its save name as the last segment. model_uri exposes the same bound identity. Copy returned values; clients do not calculate model names.

The platform freezes model revision, recipe and producer evidence and persists the identity after content verification. Uploading or historical unbound checkpoints have uri=null with an explanation. The Console disables unavailable file and copy actions. Previously issued Job/session URIs and historical model aliases remain readable under their existing permissions, TTL and durability checks. CLI/SDK downloads, compatible training parents and inference inputs accept the bound ModelRef. Copies retain the original model identity and have independent resource IDs, storage and TTL. Select a Job or Trial (trial_id) when multiple holders make a reference ambiguous.

New checkpoint producers must supply a complete frozen model revision and verifiable content evidence before allocation/publication. Native managed training currently lacks this provider evidence and rejects new submissions; accepted historical Jobs keep their receipts, reads and cleanup.

Checkpoint details keep identity fields above the Overview and Files tabs. Overview shows lineage; Files uses the shared directory tree, breadcrumbs and read-only text preview. JSON, JSONL, Markdown and other supported text files are previewed directly through the authenticated platform API. Files larger than the configured limit (1 MiB by default) have no preview. Text wraps by default. Binary weights use CLI download. Uploading checkpoints have no file actions until publication completes. A detail URL with ?tab=files opens Files directly.

Find and download a checkpoint​

Runner training can register a durable checkpoint in ANS when the Profile's job_profile explicitly includes "publication": {"checkpoint": "register"}. It requires a declared checkpoint_dir and Checkpoint Write (a Key from el auth login has it for a Developer or Admin). Registration follows successful training and resource cleanup, preserves the returned ModelRef, and references the original weights. For a registered checkpoint, client.checkpoints.download(asset_id, "./checkpoint") or el checkpoint download ASSET_ID --output ./checkpoint downloads the complete directory using short GET URLs after authorization and verifies size/SHA-256. Matching SDK/server versions are required. Signed URLs are temporary credentials; do not share them.

el checkpoint list --job-id JOB_ID --json
el checkpoint download CHECKPOINT_ASSET_ID --output ./checkpoint

Select the asset_id of the returned Checkpoint. An exact ID keeps the owning Project fixed for detail, preview, and download, even when another Project has a copy at the same URI. If the owner withdraws sharing, the ID returns 404. When you look up a bare ANS URI, your Project’s copy takes precedence. The HTTP download route accepts either uri or resource_id and returns 422 INVALID_CHECKPOINT_REFERENCE for conflicting selectors.

Upload checkpoint files​

Publish local files with an artifact manifest that declares every file's path, size and SHA-256:

el checkpoint create --ref envloop://artifacts/example/my-checkpoint --file manifest.json --directory ./checkpoint --json

The CLI derives an immutable revision from the manifest and uploads file bytes directly to R2, including small files. The API handles authorization, upload plans and completion metadata. Publication completes only after the platform verifies the content. If direct storage is unavailable, the command fails without sending weights through the API. Use matching client and server versions, and retain the returned Asset ID and upload recovery information. This upload does not claim a training Job or Trial as its producer.

--model ORG/NAME --revision REVISION registers Hugging Face metadata and does not upload local files.

Model category tags​

Checkpoint tags are string key/value pairs. Use {"decision-model": "true"} to classify a decision model, or the string "false" to explicitly decline that classification. A missing key means unknown. Tags do not prove that weights have been downloaded, grant model access, or define a serving API: the frozen Inference Recipe declares its actual operations.

Hugging Face registration reads the model card at the requested full commit SHA and automatically imports an explicit decision-model classification. Missing or unreadable card tags leave the category unknown. On the first registration, your explicit tags take priority; decision-model:false overrides automatic classification.

el checkpoint create --model example/decision-model --revision FULL_COMMIT_SHA --tags decision-model:true --json

Replace the model and FULL_COMMIT_SHA with the public model and its complete source commit. Local uploads and Train Recipe publication accept the same --tags option. Classification is explicit for those paths; a finance language-generation model is not automatically a decision model.

When registering the same model revision again, omitting tags preserves the saved mapping. Explicit entries that already have the same values are idempotent; adding a key or changing a saved value returns ASSET_PIN_CONFLICT. Repeat registration does not refresh old tags from a newer model card.

Publish checkpoints from a Train Recipe​

A Runner that enables worker checkpoint publication lets its Recipe upload completed saves before exiting. The Job freezes the destination model and revision; each save is named checkpoint-N, where N is its measured training step. The platform supplies a short-lived Trial credential limited to checkpoint writes in the Job's project. The Recipe uses that connection directly and never needs a user Key or an interactive login.

After writing train-result.json and closing its checkpoint files, the Recipe runs:

el checkpoint create --result "$ENVLOOP_OUTPUT_DIR/train-result.json" --directory "$ENVLOOP_OUTPUT_DIR" --json

The client uploads files directly to R2 using temporary credentials scoped to one checkpoint directory. It completes the publication and records published: {uri, data_id, manifest_sha256} for each save in the training result. The Train Job succeeds only when every declared save has a committed server receipt with the same project, Job, Trial, frozen model/revision and step. A successful process exit alone is insufficient. The platform verifies publication metadata without copying the checkpoint weights through the controller.

Use the returned URI or Asset ID to inspect and download the checkpoint with el checkpoint get and el checkpoint download. Keep the receipt with the training result. A saved checkpoint and the Trial's final state are separate evidence: a failed or cancelled Trial may have committed an earlier save.

For tagged publication, operation.upload.state=metadata_pending means the file bytes are committed but the requested tags are not yet saved. Keep and query the same operation_id to retry metadata completion; do not upload the files again or create another publication. A ready asset with the requested tags confirms completion; any returned operation must have status succeeded. metadata_conflict reports ASSET_PIN_CONFLICT; retrying cannot change the checkpoint's saved tags.

Resume explicitly​

Train Jobs can start a new run from compatible adapter weights as described below. It does not resume the earlier optimizer state or step count.

A Qwen/Qwen3.8-27B text SFT Job can instead start a new run from the weights of an earlier one: pass the earlier Job's checkpoint.uri (envloop://model/envloop/MODEL@REVISION) as parent_checkpoint (options). The parent must be a succeeded Train Job your project can read (visibility) with the same base model and lora_rank. The new run gets its own Job and checkpoint; the optimizer, learning-rate schedule and step count start fresh, and the parent is not modified. The adapter is stored in BF16, so each round re-rounds the weights.

Inference​

Normal inference APIs remain supported. Check adapter compatibility and authorized serving resources; creating an endpoint allocates resources. The removed interactive sampler has no compatibility route.

Retention​

Download important files before their retention period ends. To delete a remote checkpoint, use the returned resource_id with el checkpoint delete RESOURCE_ID --wait, after preserving the files you need.

A listing is metadata, not a weight backup. Keep the exact returned path and resource_id; typed tinker:// locators name training runs and are not interchangeable with a Job ID. Use pagination with the same Job or Trial filters. Downloads verify declared sizes and SHA-256, refresh the same authorization once after an object 403, rehash existing files before reuse and refuse symlinks. Never forward a platform Key to a signed storage URL.

Authorized checkpoint resource operations remain available without a training factory: weights info, copying, TTL, archive/download and deletion. The retained HTTP resource routes live under /v1/jobs/tinker/api/v1/ and read only your project's checkpoints; these operations cannot create or advance a training session. Visibility is set with PUT /v1/checkpoints/{checkpoint_id}/visibility (see Visibility and sharing); the Tinker publish routes are not served. A copy has its own storage and TTL. Deletion or TTL expiry immediately hides the checkpoint and stops counting its bytes toward storage usage. Physical removal finishes separately; inspect its cleanup Operation. Active references can block deletion. Use the HTTP reference and existing project permissions.

Select Download in the checkpoint list or file view to copy an el checkpoint download command. Run it in a terminal configured for the selected workspace and project, and change the destination directory as needed. The CLI obtains temporary object authorization and checks file sizes and SHA-256. The Console does not request or display signed storage links; text previews return bounded content through the platform.

Keep a recovery record​

A checkpoint separates training, artifact delivery and deployment. Keep its exact returned path, checkpoint_type, completed step, base model/revision, rank, data recipe and verification receipt. Do not construct a path from a Job ID or compare different typed URI strings for equality. Use the listing's resource_id for retention/deletion and the returned path for download; match Job, Trial and checkpoint metadata rather than display names.

In the Console, Experiment → Jobs → Checkpoints provides read-only metadata and downloads. Use Assets → Checkpoints, filtered by the Job, to manage retention, visibility or copies when your permissions allow it. Submit and stop Jobs through the CLI or SDK.

from envloop import Client

with Client.remote() as client:
page = client.checkpoints.list(job_id="YOUR_JOB_ID", limit=25)
print([item["asset_id"] for item in page["items"]])
verified = client.checkpoints.download(
"YOUR_CHECKPOINT_ASSET_ID", "./verified-checkpoint")
print(verified)

Keep the verified file receipt. Continue listing with next_cursor and the same filters; an ambiguous display name needs the full path. Retry publication reads rather than starting training again. Interrupted downloads can reuse existing regular files only after size and SHA-256 verification; mismatches must be downloaded again. Use a different directory for another checkpoint.

Assets state and permissions​

For a new weights-initialized Qwen run, record the new optimizer/schedule/step origin explicitly. Restore external data order, filters, dataset revision/checksum, batch settings, tokenizer/template and shuffle state separately; a checkpoint cannot reconstruct a data stream. Do not claim exactly-once updates after a network timeout. Optimizer-complete resume, load_state and old session factories remain removed.

Authorized members can read shared registered project checkpoints. Copying or changing visibility requires its own authorization and does not transfer mutation rights. If a copy response is uncertain, inspect its existing Operation and reuse the original idempotency key for the identical retry. A physical copy has independent storage and TTL.

Visibility and sharing​

Each saved checkpoint of a Job, and each name of a checkpoint you uploaded with el checkpoint, has a visibility, returned with every checkpoint and asset entry:

ValueWho can resolve, download and copy it by its URI
private (default)Only the project that owns it
internalEvery project in the same workspace
publicEvery signed-in caller

Change a Job checkpoint with PUT /v1/checkpoints/{checkpoint_id}/visibility, or any checkpoint asset entry with PUT /v1/workspaces/{workspace_id}/projects/{project_id}/assets/{asset_id}/visibility, using the body {"visibility": "internal", "expected_acl_revision": 0}, where expected_acl_revision is the acl_revision you last read. Switching between private and internal needs checkpoints.write in the owning project. Setting or removing public is a platform administrator decision; other callers receive 403 VISIBILITY_PUBLIC_REQUIRES_ADMIN. A stale expected_acl_revision returns 409 VISIBILITY_CONFLICT; read the checkpoint again and retry. Another project's checkpoint answers 404. In the Console, open the checkpoint and choose Change visibility. A Job that already started with a checkpoint keeps it when visibility changes later. Hugging Face model registrations are metadata only: each project registers its own, and they are not shared.

GET /v1/checkpoints/resolve?uri=…, GET /v1/checkpoints/download?uri=…, POST /v1/checkpoints/copy, the Assets reads of a checkpoint and Train Job checkpoint inputs look for the URI in this order, and the first match wins:

  1. Your project, whatever its visibility.
  2. Other projects of your workspace whose checkpoint is internal.
  3. public checkpoints in any workspace.

Your own copy always takes precedence. When several projects at the same level hold different content under one URI, the request returns 409 CHECKPOINT_REVISION_AMBIGUOUS: copy the checkpoint you need into your project or ask an owner to make theirs private. A shared result names its owning workspace_id and project_id; it has no resource_id, because only the owning project manages retention and deletion. A private checkpoint of another project answers 404, exactly like a missing one.

A Train Job reads a shared checkpoint input (for example parent_checkpoint, a Runner checkpoint input or a named Profile checkpoint) from the project selected this way, and keeps that project when the Job restarts. An Inference Job's spec.inputs.checkpoint is resolved the same way: the endpoint reads the shared checkpoint from its owning project, and its inputs.checkpoint.owner names that project. A Job or endpoint that already uses a shared checkpoint keeps it if the owner later makes it private; new Jobs and endpoints can no longer select it. el checkpoint list lists your checkpoints and those other projects share with you.

While another project's endpoint uses your checkpoint, deleting it (or letting its TTL expire) is refused with 409 RESOURCE_IN_USE, exactly as for your own endpoints; expiry runs once the reference is gone. Such a dependency lists only the endpoint ID with its workspace_id and project_id. Use the shared copy’s asset_id for download. Copy selects its source by URI in the destination Project’s context.

Retention and deletion​

Training compute, checkpoint storage, adapters and inference replicas have separate lifetimes. Finishing training does not delete its checkpoint; deleting an endpoint does not delete its adapter or checkpoint. Explicitly retain an artifact enrolled in a supported temporary scope before cleanup.

Check dependent resources before deletion: remove an unwanted endpoint, then its unreferenced adapter, then its checkpoint. Deletion uses resource_id, not a display name:

el checkpoint delete YOUR_CHECKPOINT_RESOURCE_ID --wait

Storage usage excludes a checkpoint after deletion is requested or TTL expires. Physical cleanup can finish later; inspect the cleanup Operation and keep a verified local backup when needed.

Common recovery problems​

ProblemNext action
Not found or ambiguousCheck project, full path, Job or Trial filter and pagination
Expired/deletedInspect TTL and use another retained checkpoint; no factory can restore removed files
Files unavailableCheck durable publication and the original Job; retry reads, not training
Size/hash mismatchPreserve the failure and verify a fresh download before use
Parent rejectedCheck that the parent is a successful Train Job your project can read (own, internal or public), with the same model, recipe and rank, and is durable
Serving rejectedCheck actual tensor/target compatibility against the serving profile
Delete blockedInspect active adapter references and cleanup errors

Next: Monitoring and Train and deploy.

External model metadata​

An external model marked Metadata only records a pinned upstream model reference. It has no producing Train Job or locally downloaded weights. Its detail page groups fields under Overview and shows the pinned revision, registration evidence and Hugging Face link under Source. Registration does not grant access to gated models or verify weight files; download and checkpoint lifecycle controls are unavailable for these entries.