inference

models.pull

Download an inference model locally.

strata inference models pull

wire inference_models_pull

Resolves a catalog name or model spec and downloads the model artifact into the local model directory, returning the resolved local path. Honors `STRATA_MODELS_DIR` for the destination and `STRATA_HF_ENDPOINT` and `STRATA_HF_TOKEN` (or `HF_TOKEN`) for gated HuggingFace repositories. Downloading requires network access and a build with the local execution feature; cloud-only builds return `inference.unsupported_operation`.

To see the complete help for this command, run:

strata inference models pull --help

Parameters

NameTypeRequiredDescription
modelstringyesModel spec or catalog name.

Returns

PullModelOutput

  • dataPullModelOutput
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

CodeRetryCommit outcome
failed_precondition.engine.runtime_closednevernot_started
not_found.engine.branchnevernot_applicable
inference.download_disabledafter_state_changenot_applicable
inference.missing_modelafter_state_changenot_applicable
inference.download_failedsame_requestnot_applicable
inference.download_verification_failedafter_state_changenot_applicable
inference.io_failureunknownnot_applicable
inference.registry_corruptnevernot_applicable
← All 11 Inference commands

agents: this page as markdown → /docs/reference/inference/models/pull.md