Skip to main content

Structured Data Models

Python 3.11+ License: Apache 2.0 Contributions Welcome Docs

A GPU-native library of foundation models, tensor subclasses, and data processors for structured data.

  • Models: Reference implementations of structured data foundation models, including tabular models (TabICLv2, KumoTabular, etc), relational models (KumoRelational), and time series models (Chronos2, KumoForecast, TimesFM3, KumoAnomaly, etc), built on a unified interface with room for future model families.
  • Tensor semantics: PyTorch-compatible tensor types for numerical, categorical, datetime, text, and relational data.
  • Data processing: Composable, extensible, and GPU-accelerated preprocessing and postprocessing for structured data workflows.
  • Synthetic data generation: Distributions over synthetic training datasets, including SCM priors for KumoTabular.

Installation

The structured-data-models package is available from Python 3.11 and PyTorch 2.7 onwards. Install from PyPI:

pip install structured-data-models

Alternatively, install from main via:

pip install git+https://github.com/NVIDIA/structured-data-models.git

Model Families

Tabular Foundation Models:

Relational Foundation Models:

Time Series Forecasting Foundation Models:

Time Series Anomaly Detection Foundation Models:

Quick Tour

from sklearn.datasets import load_breast_cancer

import sdm

df = load_breast_cancer(as_frame=True).frame

# A lossless, fully tensorized representation of the raw data on GPU:
table = sdm.TableTensor.from_pandas(
    df=df,
    stypes=sdm.infer_stypes(df, overrides={"target": "categorical"}),
    device="cuda",
)

# Access to a variety of pre-trained structured data models:
model = sdm.models.KumoTabular(device="cuda")

# Default in-context learning forward pass:
model(
    x_context=table[:300].drop_columns("target"),
    y_context=table[:300, "target"],
    x_query=table[300:].drop_columns("target"),
    num_estimators=8,
)

# Fit + Predict forward pass via key/value caching for fast inference:
model.fit(
    x=table[:300].drop_columns("target"),
    y=table[:300, "target"],
    num_estimators=8,
)
model.predict(table[300:].drop_columns("target"))
model.clear()

Additional examples are available in examples/. Benchmarks for reproducing reported results live in benchmark/.

Notice and Disclaimer

This software automatically retrieves, accesses or interacts with external materials. Those retrieved materials are not distributed with this software and are governed solely by separate terms, conditions and licenses. You are solely responsible for finding, reviewing and complying with all applicable terms, conditions, and licenses, and for verifying the security, integrity and suitability of any retrieved materials for your specific use case. This software is provided "AS IS", without warranty of any kind. The author makes no representations or warranties regarding any retrieved materials, and assumes no liability for any losses, damages, liabilities or legal consequences from your use or inability to use this software or any retrieved materials. Use this software and the retrieved materials at your own risk.

License

The NVIDIA-authored source code is licensed under the Apache License 2.0. Third-party software and separately distributed model assets are documented in THIRD_PARTY_LICENSES.md:

Metadata

Release files for structured-data-models 0.3.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 structured-data-models 0.3.0
File Size Uploaded Provenance Actions
structured_data_models-0.3.0.tar.gz 4.6 MB With provenance Details for structured_data_models-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for structured-data-models 0.3.0
File Interpreter ABI Platform Actions
structured_data_models-0.3.0-py3-none-any.whl Python 3 none any Details for structured_data_models-0.3.0-py3-none-any.whl

Total release size: 5.1 MB

Release files / structured_data_models-0.3.0.tar.gz

Download URL structured_data_models-0.3.0.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
3f514e760ce55171631e010e83a3c02e3a684d5908f8853fb5057a00a389d3a4
BLAKE2b-256 checksum
How to use checksums
9f5ffb9831e5940bc5cc7fbb6cd1516b655567faf6472c84f140d673d716f81c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Release files / structured_data_models-0.3.0-py3-none-any.whl

Download URL structured_data_models-0.3.0-py3-none-any.whl
Size 483.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7e397fd312be980dfcd4a6c7b30bd99ab588171e1f0b0bd4c7d74b5645e291c
BLAKE2b-256 checksum
How to use checksums
bed33cb8754bae8b7b49a519725eb00a6bad72287f6f38c9a4ac03fc58f55db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Security for structured-data-models 0.3.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for structured_data_models-0.3.0.tar.gz

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 Nov 20, 2026.

Transparency log

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.

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