Skip to main content

Umbrella package for Datadog Toto time series models

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toto_models-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toto_models-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file toto_models-1.0.0.tar.gz.

File metadata

  • Download URL: toto_models-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for toto_models-1.0.0.tar.gz
Algorithm Hash digest
SHA256 344fcbd79b3cc2dd216f4489c04ee17ee80ffbfcaddce31d3376e2f7dfcb1f74
MD5 702e4ed10b911cc557b7cb1e770ab54e
BLAKE2b-256 066b3c036fe538076d1d3458fbe0213d969a3c6e6243cabaafb4cdae84185489

See more details on using hashes here.

Provenance

The following attestation bundles were made for toto_models-1.0.0.tar.gz:

Publisher: pypi-publish-toto-models.yml on DataDog/toto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file toto_models-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: toto_models-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for toto_models-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c77cb79f18e195909a3926a0279f4e28b21b653ce8e65ee384f9f28125208d4
MD5 54b9c6e7f00e3bb8bd06e52c0d5883c3
BLAKE2b-256 0372bc2640cf64bf31f5e366804e040b682d2b583cefd3e767a8eb7d88a4808f

See more details on using hashes here.

Provenance

The following attestation bundles were made for toto_models-1.0.0-py3-none-any.whl:

Publisher: pypi-publish-toto-models.yml on DataDog/toto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page