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

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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

6 days ago