Newsroom Wire

12-03 16:52⏱ 3 min read

NVIDIA Open-Sources Kumo Engine to Train GNNs on Relational Databases

NVIDIA has open-sourced NVIDIA Kumo Engine, an engine for training predictive models directly on relational data.Kumo Engine is an Apache 2.0 accelerator that stores linked tables as an on-disk graph.

For each entity, it samples related records up to the prediction time.Its Rust core, DiskGraph, reads those neighborhoods from local NVMe SSDs instead of RAM.The current PyPI release is kumo-engine 1.2.0.

Most enterprise data lives in connected tables. Customers link to orders, and orders link to products.

Classic ML pipelines flatten those tables first. Engineers write joins and aggregates like “orders in the last 30 days.” The model then sees only that summary.

Graph learning keeps the structure. Each row becomes a node and each foreign key becomes an edge. The hard part is scale. One prediction needs a record’s whole neighborhood, across several hops. That lookup must also be time-correct, so no future data leaks into training.

Kumo Engine converts tables into a graph once, at ingest. The README lists 5 design choices:

All figures below are self-reported by NVIDIA on its benchmark page.

Context generation. The test used a synthetic commerce graph with 50B nodes and 175.5B edges. It ran on an AWS i4i.32xlarge with 128 vCPUs, 1 TiB RAM and striped NVMe. Warm retrieval, in seconds per million seeds:

The reference results in the repo match these numbers. An earlier run against DuckDB 1.5.6 showed a wider gap. Kumo took 5, 19 and 39 seconds. DuckDB took 4.0, 5.3 and 6.5 minutes. NVIDIA says DuckDB 2.0.0 was 2x to 8x faster than 1.5.6.

Training. On a 111M-node citation graph, Kumo Engine trained 15 epochs in 41 min 14 s. A matched in-memory PyG setup took 64 min 13 s. Both ran on 1 A10G GPU. Training memory was 17 to 37 GiB for Kumo versus about 166 GiB for PyG. Test accuracy was 63.26% versus 63.93%.

End to end. On the 50B dataset, raw Parquet to trained model took 5.2 hours. A hand-built DuckDB feature pipeline took 9.9 hours. NVIDIA notes the model families differ, so this is a workflow comparison.

The workflow is Python. You define tables, keys and time columns, then link them into a graph. You write the target as a predictive query:

PREDICT COUNT(orders.*, 0, 30, days) > 0 FOR EACH users.user_id

The engine then builds labeled training tables, samples context, trains a built-in temporal GNN and runs batch prediction. It handles classification, regression, forecasting and recommendation tasks.

The base package reads local CSV and Parquet. Optional extras add S3, GCS, Azure Data Lake, BigQuery, Snowflake and Databricks. It also integrates with MLflow and SageMaker. A bundled agent skill teaches coding agents the API. Install it with python -m kumo.engine.skills.

Check out the GitHub repo, documentation and benchmarks. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…