Skip to main content

toto-models

GitHub | Toto 2.0 Report | Toto 2.0 Blog | Model Collection | BOOM Dataset

toto-models is the recommended way to install Datadog's Toto time series models. It is an umbrella package that pulls in toto-2 and its dependencies so you don't have to manage them individually.

Installation

pip install toto-models

To also install Toto 1.0 (for fine-tuning or exogenous variable support, not yet available in 2.0):

pip install "toto-models[v1]"

Quick Start

import torch
from toto2 import Toto2Model

model = Toto2Model.from_pretrained("Datadog/Toto-2.0-22m")
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = model.to(device).eval()

# Input shape: (batch, n_variates, time_steps)
target = torch.randn(1, 1, 512, device=device)
target_mask = torch.ones_like(target, dtype=torch.bool)
series_ids = torch.zeros(1, 1, dtype=torch.long, device=device)

# Returns quantiles of shape (9, batch, n_variates, horizon)
quantiles = model.forecast(
    {"target": target, "target_mask": target_mask, "series_ids": series_ids},
    horizon=96,
    decode_block_size=768,
    has_missing_values=False,
)

For full documentation, see the toto-2 package or the GitHub repository.

Citation

@misc{khwaja2026toto20timeseries,
      title={Toto 2.0: Time Series Forecasting Enters the Scaling Era},
      author={Emaad Khwaja and Chris Lettieri and Gerald Woo and Eden Belouadah and Marc Cenac and Guillaume Jarry and Enguerrand Paquin and Xunyi Zhao and Viktoriya Zhukov and Othmane Abou-Amal and Chenghao Liu and Ameet Talwalkar and David Asker},
      year={2026},
      eprint={2605.20119},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2605.20119},
}

License

Apache-2.0. See LICENSE for details.

Release files for toto-models 1.0.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 toto-models 1.0.0
File Size Uploaded
toto_models-1.0.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for toto-models 1.0.0
File Interpreter ABI Platform
toto_models-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 kB

Release files / toto_models-1.0.0.tar.gz

Download URL toto_models-1.0.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
344fcbd79b3cc2dd216f4489c04ee17ee80ffbfcaddce31d3376e2f7dfcb1f74
BLAKE2b-256 checksum
How to use checksums
066b3c036fe538076d1d3458fbe0213d969a3c6e6243cabaafb4cdae84185489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.

Transparency log

Release files / toto_models-1.0.0-py3-none-any.whl

Download URL toto_models-1.0.0-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c77cb79f18e195909a3926a0279f4e28b21b653ce8e65ee384f9f28125208d4
BLAKE2b-256 checksum
How to use checksums
0372bc2640cf64bf31f5e366804e040b682d2b583cefd3e767a8eb7d88a4808f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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