NVIDIA Open-Sources Kumo Engine to Train GNNs Directly on Relational Databases
NVIDIA has released Kumo Engine as an open-source engine for training predictive models directly on relational data. Licensed under Apache 2.0, Kumo Engine stores linked tables as an on-disk graph and, for each entity, samples related records up to the prediction time. Its Rust-based core, DiskGraph, reads those neighborhoods from local NVMe SSDs rather than RAM, enabling training on graphs far larger than memory. The current PyPI release is kumo-engine 1.2.0.
TL;DR
- Scale: Tested on a 50B-node commerce graph with 175.5B edges (including reverse edges). Its 2.6 TiB index exceeded the machine's 1 TiB RAM.
- Runs on: Linux with local NVMe and an NVIDIA GPU for production. Small datasets can also run on CPU or Apple silicon. Requires Python 3.11+.
- Performance: 2.4x to 8.9x faster warm neighborhood retrieval than prepared DuckDB 2.0.0 at 2 to 4 hops.
- Best case: 2-hop retrieval at 5.3 seconds per million seeds, versus 46.9 seconds for prepared DuckDB.
- Worst case: 63.26% test accuracy, compared to 63.93% for in-memory PyTorch Geometric (PyG)β0.67 percentage points lower.
What Problem Does Kumo Engine Solve?
Most enterprise data lives in relational databases, but training graph neural networks (GNNs) typically requires extracting and transforming that data into a graph structure that fits in memory. This process is often slow, memory-bound, and disconnected from the database's native format. Kumo Engine bridges this gap by treating relational tables as a graph directly on disk, eliminating the need for costly in-memory graph construction and enabling GNN training on datasets that exceed available RAM.
How It Works
Kumo Engine represents linked tables as an on-disk graph. For each entity (e.g., a user or product), it samples related records up to a specified prediction time, preserving temporal causality. The Rust core, DiskGraph, retrieves these neighborhoods from local NVMe SSDs, which offer high throughput and low latency. This design allows training on graphs with billions of nodes and edges using commodity hardware, while still leveraging NVIDIA GPUs for model training.
Performance and Trade-offs
In benchmarks, Kumo Engine demonstrated significant speedups for neighborhood retrieval compared to prepared DuckDB 2.0.0, especially for 2- to 4-hop queries. However, accuracy was slightly lower than in-memory PyG (63.26% vs. 63.93%), highlighting a trade-off between scalability and model performance. The engine is best suited for scenarios where data size exceeds memory capacity and fast, on-disk graph sampling is critical.
Getting Started
Kumo Engine is available on PyPI and GitHub. It requires Python 3.11+ and runs on Linux with local NVMe storage and an NVIDIA GPU for production workloads. Small datasets can be tested on CPU or Apple silicon. For more details, refer to the official repository.
This article was originally published on December 3, 2026, by Michal Sutter on MarkTechPost.
via MarkTechPost
