Skip to main content

Train and Deploy AutoGluon in the Cloud

PyPI Python Versions GitHub license Continuous Integration

AutoGluon-Cloud Documentation | AutoGluon Documentation

AutoGluon-Cloud lets you train and deploy state-of-the-art ML models in the cloud in a few lines of code. Run AutoGluon on Amazon SageMaker without worrying about infrastructure, dependencies, or a heavy local ML environment. It supports two workflows:

💾 Installation & setup

pip install autogluon.cloud

Then provision the IAM role and S3 bucket AutoGluon-Cloud needs to run on AWS:

from autogluon.cloud import bootstrap

bootstrap()

See the Setup tutorial for the full walkthrough, including how to register an existing role and bucket instead.

⚙️ Train your own model

Train an AutoGluon predictor on your data and serve it from a SageMaker endpoint — same API as local AutoGluon, all heavy lifting on AWS. Full walkthrough: tabular, time series.

from autogluon.cloud import TabularCloudPredictor

# `train_data` and `test_data` can be a local path, S3 URL, or pandas DataFrame
train_data = "https://autogluon.s3.amazonaws.com/datasets/Inc/train.csv"
test_data = "https://autogluon.s3.amazonaws.com/datasets/Inc/test.csv"

# Train
cloud_predictor = TabularCloudPredictor()
cloud_predictor.fit(
    train_data=train_data,
    predictor_init_args={"label": "class"},  # passed to TabularPredictor()
    predictor_fit_args={"time_limit": 120},  # passed to TabularPredictor.fit()
)

# Real-time inference endpoint
cloud_predictor.deploy()
result = cloud_predictor.predict_real_time(test_data)
cloud_predictor.cleanup_deployment()

# Batch prediction
result = cloud_predictor.predict(test_data)

🚀 Run a pretrained foundation model

Skip training entirely — deploy a pretrained model like Chronos-2 to SageMaker and get zero-shot predictions out of the box. Full walkthrough: time series.

from autogluon.cloud import TimeSeriesFoundationModel

# `data` can be a local path, S3 URL, or pandas DataFrame
data = "https://autogluon.s3.amazonaws.com/datasets/timeseries/m4_hourly_tiny/train.csv"

model = TimeSeriesFoundationModel("chronos-2")

# Batch prediction — no training required
predictions = model.predict(
    data=data,
    target="target",
    prediction_length=24,
)

# Real-time inference endpoint
endpoint = model.deploy()
predictions = endpoint.predict(
    data=data,
    target="target",
    prediction_length=24,
)
endpoint.delete_endpoint()

Metadata

Release files for autogluon.cloud 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autogluon.cloud 0.5.0
File Size Uploaded Provenance Actions
autogluon_cloud-0.5.0.tar.gz 101.8 kB Without provenance Details for autogluon_cloud-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autogluon.cloud 0.5.0
File Interpreter ABI Platform Actions
autogluon_cloud-0.5.0-py3-none-any.whl Python 3 none any Details for autogluon_cloud-0.5.0-py3-none-any.whl

Total release size: 230.2 kB

Release files / autogluon_cloud-0.5.0.tar.gz

Download URL autogluon_cloud-0.5.0.tar.gz
Size 101.8 kB
Tags Source
SHA-256 checksum
How to use checksums
84845de964301802c58c5f10710ae29cf82b0863b96c8ead1be35de24deaa4b0
BLAKE2b-256 checksum
How to use checksums
e35be3f71424abab536793ca54ed374c5d2fc3e6c80b162ac59d932dd99d0b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / autogluon_cloud-0.5.0-py3-none-any.whl

Download URL autogluon_cloud-0.5.0-py3-none-any.whl
Size 128.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4858e588ef28cddd44899b2ee6db9791acd940bafd71c1f1bea8376c8c989e94
BLAKE2b-256 checksum
How to use checksums
c3ce12c6720b02c68764c1a9a6c098133de995ca3b254336cbf3e323c850e418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for autogluon.cloud 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page