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.
TL;DR
- Size: Tested on a 50B-node commerce graph with 175.5B edges (reverse edges included). 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 also run on CPU or Apple silicon. 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: 2-hop retrieval at 5.3 s per million seeds vs 46.9 s for prepared DuckDB.
- Worst: 63.26% test accuracy vs 63.93% for in-memory PyG, 0.67 points lower.
What problem does Kumo Engine solve?
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.
How does DiskGraph work?
Kumo Engine converts tables into a graph once, at ingest. The README lists 5 design choices:
- Links resolved at ingest: Minimal perfect hashing maps each primary key to a compact integer ID. Following a link becomes a lookup, not a join.
- Bounded context: Each hop samples a capped number of related records.
- Newest-first storage: Links are stored per relationship, newest first. A binary search finds the prediction time.
- Ordered reads: Large batches are sorted by disk position, so reads move through files in order.
- Larger than memory: Graph files are read-only and memory-mapped. The OS caches hot pages and reads the rest on demand.
