Rill – Exploring Rust-powered infrastructure for Graph Machine Learning

2026-12-01来源 Rust Users ForumEnglish

Hey everyone!

I've been working on an open-source project called Rill, and I'd love to get some feedback from the Rust community.

GitHub: GitHub - Joy-Majumder/Rill: Rust-backed neighbor sampling for PyTorch. · GitHub
PyPI: rill-gnn · PyPI

What is Rill?

Rill is an attempt to build Rust-powered infrastructure for Graph Machine Learning (Graph ML).

The initial focus is graph data loading and neighbor sampling for Graph Neural Network (GNN) workloads.

When working with GNNs, data processing can become an important part of the training pipeline. Neighborhood sampling, feature access, memory management, and batch preparation are areas I'm particularly interested in exploring.

I wanted to investigate how Rust could help with these systems-level operations while keeping the interface accessible to Python and PyTorch developers.

Technical approach

The current technology direction includes:

  • Rust: Core implementation

  • PyO3: Rust/Python interoperability

  • Rayon: Parallel execution

  • PyTorch: Integration with the existing ML ecosystem

  • Zero-copy: Exploring ways to reduce unnecessary data movement

The intention is to complement the PyTorch Geometric ecosystem rather than build another complete GNN framework.

Long-term direction

Beyond data loading and sampling, I'd like to explore graph storage, feature access, memory-efficient processing, and scalable graph infrastructure.

Rill is still evolving, so I'm not presenting it as a finished solution. There's a lot of engineering and validation ahead.

Why I'm sharing it here

I'd particularly appreciate feedback from Rust developers who have experience with:

  • Performance-oriented Rust libraries

  • PyO3 and Python bindings

  • Parallel processing and memory management

  • Data structures and graph algorithms

  • Building libraries for scientific computing

I'm also interested in hearing about architectural decisions I should reconsider before the project grows further.

One transparency note: Rill was developed with significant assistance from AI coding tools. The architecture, design decisions, and research direction are human-driven, with AI-assisted implementation, testing, benchmarking, and documentation. I remain responsible for reviewing the code and validating results.

If you're interested in the intersection of Rust and machine learning, I'd love to hear your thoughts.

Thanks for reading!

1 post - 1 participant

Read full topic

原文:https://www.a8q9.cn/en/article/rill-exploring-rust-powered-infrastructure-for-graph-machine-learning-06d3f3.html

相关文章