Jraph (pronounced “giraffe”) is a lightweight JAX library developed by Google DeepMind for building and experimenting with graph neural networks (GNNs). It provides an efficient and flexible framework for representing, manipulating, and training models on graph-structured data. The core of Jraph is the GraphsTuple data structure, which enables users to define graphs with arbitrary node, edge, and global attributes, and to batch variable-sized graphs efficiently for JAX’s just-in-time compilation. The library includes a comprehensive set of utilities for batching, padding, masking, and partitioning graph data, making it ideal for distributed and large-scale GNN experiments. Jraph also comes with a model zoo—a collection of forkable reference implementations of common message-passing GNN architectures, such as Graph Networks, Graph Convolutional Networks, and Graph Attention Networks.

Features

  • Lightweight GraphsTuple data structure for flexible graph representation
  • Distributed message-passing support for massive graphs across multiple devices
  • Utilities for batching, masking, and padding to handle variable-sized graphs
  • Modular model zoo of reusable graph neural network architectures
  • Educational Colab tutorials and large-scale dataset examples (e.g., OGBG-MOLPCBA)
  • Fully JAX-compatible for jit compilation, pmap parallelization, and scalability

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Jraph

Jraph Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jraph!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Neural Network Libraries

Registered

2025-10-09