Skip to content

NVIDIA Kumo

NVIDIA Kumo includes several prediction models and the tools that prepare or serve their inputs. Kumo Tabular predicts from one table. Kumo Relational uses related tables. Kumo Forecast and Kumo Anomaly address time series. Kumo Engine trains task-specific models. These paths have different input and compute requirements. NVIDIA overview.

The documentation and package versions below were checked on October 26, 2026. This page uses NVIDIA’s Structured Data Models library, abbreviated SDM.

Kumo Tabular was pretrained on artificial tables generated from structural causal models. Classification and regression use separate trained models. This pretraining teaches statistical prediction; it does not make a prediction on observational data a causal effect estimate. NVIDIA technical article.

At inference, an encoder alternates attention across columns and within rows. It compresses each row into a representation. A second transformer relates query representations to labeled context rows. Classification returns class probabilities; regression returns 999 quantiles. The library provides small, medium, and large variants, with large as the default. Model API.

The default recipe converts categorical features to a numerical representation and applies feature transforms. The core model’s numerical input type therefore does not mean the public interface only accepts numerical source columns. Mark column semantics explicitly, especially when an integer represents a category or an identifier. Model recipe, column semantics.

The published pretraining reaches 60,000 rows and 100 columns. Those dimensions describe training coverage, not a universal inference ceiling. Accuracy can deteriorate outside that coverage or under distribution shift. One classification pass supports ten classes; the library extends this through error-correcting output codes. Text, images, and timestamps need suitable feature conversion. Training coverage and limitations.

SDM 0.2.1 requires Python 3.11 or later and PyTorch 2.7 or later. NVIDIA-authored library code uses Apache 2.0. Kumo Tabular weights use OpenMDW 1.1, which permits commercial use subject to its terms. The weight repository is public and did not require authentication for this example. Package release, SDM setup, weight license.

NVIDIA documents a small-model CPU example. Larger workloads need a separate memory assessment; model size alone does not determine context memory. The example below uses two CPU threads and a container limit of 4 GiB. It requires no GPU. Package installation and the initial weight download need internet access; the subsequent inference run has no network access. CPU example documentation.

The companion folder is benchtoinsights-code/guides/machine-learning/tabular_foundation/nvidia_kumo/. It contains synthetic_fixture.csv, its generator, the extracted page script, and a container with locked dependencies. The fixture has invented numerical features and a binary target. It represents no patients or experimental samples.

The fixed partition reserves 60 of 240 rows for evaluation. The remaining 180 rows supply context. Neither row_id nor the partition label enters the model. The estimator count and baseline settings are fixed before evaluation. This is an execution example, not a hyperparameter search or comparative benchmark.

From that companion folder, build the image and run the captured example.

Terminal window
podman build -t bti-kumo-tabular:2026_10_26 -f container/Containerfile container
bash run.sh

The image uses SDM 0.2.1, PyTorch 2.9.0 on CPU, pandas 2.3.3, and scikit-learn 1.7.2. It caches only the small classifier from the v1.0.1 weight release, at revision 3c3e10bbdb590ace29e7026847f92db3c603096d.

First, prepare feature tensors and context targets. The query targets stay in the original frame until the evaluation step.

from pathlib import Path
import numpy as np
import pandas as pd
import sdm
import torch
from sklearn.dummy import DummyClassifier
from sklearn.ensemble import HistGradientBoostingClassifier
from sklearn.metrics import brier_score_loss, log_loss, roc_auc_score
torch.set_num_threads(2)
torch.manual_seed(26)
frame = pd.read_csv("synthetic_fixture.csv")
feature_names = [f"feature_{i}" for i in range(6)]
context = frame.loc[frame["partition"] == "context"]
query = frame.loc[frame["partition"] == "query"]
assert set(context["row_id"]).isdisjoint(query["row_id"])
assert set(context["target"]) == {0, 1}
x_context = sdm.TableTensor.from_pandas(
context[feature_names],
stypes={name: "numerical" for name in feature_names},
device="cpu",
)
x_query = sdm.TableTensor.from_pandas(
query[feature_names],
stypes={name: "numerical" for name in feature_names},
device="cpu",
)
y_context = sdm.TableTensor.from_pandas(
context[["target"]], stypes={"target": "categorical"}, device="cpu"
)
print(f"Context rows: {len(context)}")
print(f"Query rows: {len(query)}")
print(f"Features: {len(feature_names)}")
Context rows: 180
Query rows: 60
Features: 6

The small classifier reads the context and query features. Selecting task="classification" avoids a second download for regression. No optimizer updates its weights in this example.

model = sdm.models.KumoTabular(
task="classification", size="small", device="cpu"
)
with torch.inference_mode():
prediction = model(
x_context=x_context,
y_context=y_context,
x_query=x_query,
num_estimators=2,
)
# Select the positive class by its label rather than its column position.
probability = prediction["1"].numerical.squeeze(-1).numpy()
assert probability.shape == (len(query),)
assert np.isfinite(probability).all()
assert ((probability >= 0) & (probability <= 1)).all()
np.testing.assert_allclose(
prediction.numerical.sum(dim=-1).numpy(), 1.0, atol=1e-6
)
print(f"Finite probabilities: {len(probability)}")
Finite probabilities: 60

Evaluate the probabilities against two baselines on the same query rows. The dummy model estimates the class frequency in the context. The gradient boosting model uses fixed settings and fits only the context rows. Lower log loss and Brier score indicate better probability predictions; higher ROC AUC indicates better ranking.

scores = {"Kumo small": probability}
baselines = {
"Class prior": DummyClassifier(strategy="prior"),
"Histogram boosting": HistGradientBoostingClassifier(
max_iter=100, max_leaf_nodes=7, random_state=26
),
}
for name, baseline in baselines.items():
baseline.fit(context[feature_names], context["target"])
positive_index = list(baseline.classes_).index(1)
scores[name] = baseline.predict_proba(query[feature_names])[
:, positive_index
]
rows = []
for name, values in scores.items():
rows.append({
"model": name,
"roc_auc": roc_auc_score(query["target"], values),
"log_loss": log_loss(query["target"], values),
"brier": brier_score_loss(query["target"], values),
})
metrics = pd.DataFrame(rows).set_index("model")
Path("outputs").mkdir(exist_ok=True)
metrics.to_csv("outputs/metrics.csv")
predictions = query[["row_id", "target"]].copy()
for name, values in scores.items():
predictions[name] = values
predictions.to_csv("outputs/predictions.csv", index=False)
print(metrics.round(4).to_string(index_names=False))
roc_auc log_loss brier
Kumo small 0.9189 0.3624 0.1019
Class prior 0.5000 0.6794 0.2432
Histogram boosting 0.8777 0.5151 0.1751

These scores describe one invented fixture and one fixed split. They do not measure general performance, clinical validity, or superiority to TabPFN, which was not run. A Brier score alone also does not establish calibration across probability ranges. Use larger independent data and calibration plots for that question. Follow the evaluation procedure before a substantive model comparison.

Relational prediction and task-specific training

Section titled “Relational prediction and task-specific training”

Kumo Relational combines row representations with relational message passing. It receives context rows, query rows, and related tables. Its weights have their own OpenMDW 1.1 release and third-party notices. Keys, relationships, and available history matter here; a single flat array omits that structure. NVIDIA relational model card.

The relational client sends prediction requests to a deployed NVIDIA NIM server. Installing the client does not deploy that server. A self-hosted endpoint needs supported GPU infrastructure. NVIDIA’s hosted catalog uses bearer authentication; the documented client uses a different header, so the hosted path requires the REST examples or a compatible gateway. This page makes no endpoint request and does not verify endpoint entitlement or cost. Deployment and connection.

Kumo Engine 1.0.0 instead trains a model for a defined task. NVIDIA documents Python 3.12 setup paths, compatible GPU dependencies, and local SSD scratch storage. These requirements do not apply to the small CPU example above. No Engine training or deployment was executed here. Engine prerequisites.

The Engine package declares Apache 2.0 and additional third-party licenses in its license expression. That package declaration does not establish permission for a hosted NIM service. Check the selected service’s terms separately. Engine package metadata.

Kumo Forecast and Kumo Anomaly have separate setup paths and model terms. The overview identifies both as intended for research and development. Their time-series tasks fall outside this tabular example. NVIDIA model selection.

Their model cards list Apache 2.0, separately from the OpenMDW terms for Tabular and Relational. An intended-use statement and a license are different records. Forecast model card, Anomaly model card.

  • KumoTabular API

    The model reference defines the context and query inputs, model size, and numerical representation. It connects the public table interface to the encoder used during inference.

  • NVIDIA SDM user guide

    The official guide links the small-model CPU example and input preparation documentation. Its clinical dataset differs from the invented fixture in this lesson.

  • Kumo Tabular weight license at the pinned revision

    OpenMDW 1.1 states the conditions for use and redistribution of model materials. The agreement separately states that generated outputs carry no obligations under that agreement.