TimeSeriesFoundationModel¶
- class autogluon.cloud.TimeSeriesFoundationModel(model_id: str, **kwargs)[source]¶
Foundation model for time series forecasting (Chronos, etc.).
- Parameters:
model_id – ID of the foundation model from the model registry.
cloud_output_path –
S3 location where intermediate artifacts are stored. Accepts:
s3://bucket— a unique timestamped subfolderag-<timestamp>is appended.s3://bucket/prefix— used verbatim. Re-running with the same prefix will overwrite previously written artifacts.None(default) — use the bucket saved in~/.autogluon/cloud.yaml(set byautogluon.cloud.bootstrap()/autogluon.cloud.register()) and append a timestamped subfolder. Raises if no bucket is configured.
role – ARN of the SageMaker execution role used to run training and inference jobs. If
None, falls back torole_arnin~/.autogluon/cloud.yaml(set byautogluon.cloud.bootstrap()/autogluon.cloud.register()), and finally tosagemaker.get_execution_role().hyperparameters – Default hyperparameters applied to inference and (when supported) training.
model_artifact_uri – S3 URI of a pre-bundled
model.tar.gzproduced bycache_model_artifact(). When set, deploys skip the runtime HuggingFace download and load weights from the bundled artifact.backend – Cloud backend to use.
Methods
Download model weights from HuggingFace, bundle them with the FM serve script into a SageMaker-compatible
model.tar.gz, and upload to S3.Deploy model to a real-time endpoint.
Restore from
to_dict()output.Restore from a
to_json()string.Run batch prediction for time series.
Serialize the model identity.
Serialize
to_dict()output as a JSON string.