Hey everyone!
I've been spending quite some time building an open-source project called Rill, and I wanted to share what I'm working on.
GitHub: https://github.com/Joy-Majumder/Rill
PyPI: https://pypi.org/project/rill-gnn/
What's Rill?
Rill is an attempt to build high-performance graph machine learning infrastructure with Rust at its core and Python as the interface.
The initial focus is graph data loading and sampling for Graph Neural Networks (GNNs).
If you've worked with GNNs, you probably know that handling graph data isn't always straightforward. Neighborhood sampling, moving graph features around, memory overhead, and preparing batches can become significant parts of the training pipeline.
I became interested in exploring whether Rust could help make some of these operations more efficient without making the experience difficult for Python and PyTorch users.
What's powering it?
Some of the technologies and concepts I'm exploring:
* Rust — performance-oriented core implementation
* PyO3 — Rust and Python interoperability
* Rayon — parallel execution
* PyTorch — integration with the ML ecosystem
* Zero-copy — reducing unnecessary data movement
* Graph data loading and sampling — the initial workload focus
The project also aims to fit into the existing PyTorch Geometric ecosystem rather than reinventing the entire GNN framework.
What I want Rill to become
I don't want Rill to be just another GNN framework.
My bigger goal is to build useful infrastructure underneath graph ML workflows: efficient graph storage, sampling, feature access, and data-loading primitives.
There is still a lot to improve, and I'm treating this as a long-term engineering project rather than something that's already finished.
I'm especially interested in feedback about architecture, memory management, Rust/Python interoperability, benchmarking methodology, and what researchers actually need from graph infrastructure.
A note about AI assistance
I want to be transparent: Rill was developed with significant assistance from AI coding tools. Architecture, design decisions, and research direction are human-driven, while implementation, testing, benchmarking, and documentation involved collaborative AI-assisted development.
I remain responsible for reviewing the code, validating results, and maintaining the project.
I'd love to hear your thoughts
If you've worked with Rust, PyTorch, graph neural networks, or performance-critical data pipelines:
* What would you improve in this approach?
* What problems do you face with existing graph data-loading tools?
* What features would make infrastructure like this genuinely useful?
And if you find the project interesting, feel free to check out the repository. If you like what I'm building, a GitHub star would mean a lot. It helps other developers discover the project and motivates me to keep improving it.
Thanks for reading! <3
GitHub: https://github.com/Joy-Majumder/Rill