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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
model | string | yes | Model spec or catalog name. |
Returns
PullModelOutput.
Errors
failed_precondition.engine.runtime_closednot_found.engine.branchinference.download_disabledinference.missing_modelinference.download_failedinference.download_verification_failedinference.io_failureinference.registry_corrupt
Invocation
- CLI:
strata inference models pull - Wire type:
inference_models_pull