GraphBlasters
Rust-native GraphBLAS sparse linear algebra for CPUs, GPUs, and Serverless Cloud.
A Rust-native GraphBLAS-compatible compiler and runtime (graphblas-rs) for multicore CPUs and NVIDIA GPUs—available via GraphBlasters Serverless Cloud (Python/Arrow) and Commercial Rust Licensing.
Key Highlights
- Full GraphBLAS operations (mxm, mxv, vxm, eWiseAdd/Mult, apply, select, reduce, transpose) on CSR/CSC/hypersparse/bitmap/dense storage
- Bit-identical results differentially tested against SuiteSparse:GraphBLAS and LAGraph (BFS, SSSP, PageRank, Connected Components, Triangles)
- GraphBlasters Serverless Cloud: zero-setup pay-as-you-go over HTTP/2 + Apache Arrow IPC with X-Ray Pipeline Studio (pip install graphblasters)
- NVIDIA CUDA GPU extension via cuSPARSE and Commercial Rust OEM licensing for databases and air-gapped deployments
Overview
GraphBlasters (graphblas-rs) is a Rust-native, GraphBLAS-compatible sparse linear algebra engine for multicore CPUs and NVIDIA GPUs. Graph algorithms are expressed as linear algebra over semirings, while the compiler/runtime selects optimal storage formats, kernels, and execution devices automatically.
Two Ways to Deploy
1. GraphBlasters Serverless Cloud
Zero infrastructure setup, pay-as-you-go execution over HTTP/2 + Apache Arrow IPC, complete with an Account Dashboard & X-Ray Pipeline Studio:
import graphblasters as gb
gb.connect(api_key="gb_live_...", base_url="https://api.graphblasters.io")
res = gb.run(edges="s3://bucket/edges.parquet", algorithm="leiden")
2. Commercial Rust Library Licensing
Embed the native grb Rust engine directly in commercial applications, graph databases, appliances, and air-gapped environments (CPU, NVIDIA CUDA GPU Extension, and Enterprise/OEM tiers). Contact info@geoknoesis.com for licensing details.
use grb::prelude::*;
let a = Matrix::<f64>::from_triplets(3, 3, [(0, 1, 2.0), (1, 2, 1.5), (0, 2, 5.0)])?;
let c = grb::mxm(&a, &a).semiring(MinPlus::new()).execute(Exec::Cpu)?;
assert_eq!(c.get(0, 2), Some(3.5));