equinox  by patrick-kidger

JAX library for neural networks and scientific computing

Created 4 years ago
2,652 stars

Top 17.8% on SourcePulse

GitHubView on GitHub
Project Summary

Equinox provides a PyTorch-like API for building neural networks and performing scientific computing within the JAX ecosystem. It targets JAX users seeking a more integrated and feature-rich experience for model definition and manipulation, offering advantages in PyTree compatibility and advanced transformation capabilities.

How It Works

Equinox models are defined as standard Python classes inheriting from eqx.Module, which registers them as JAX PyTrees. This design choice allows models to seamlessly integrate with JAX's core transformations like jit, grad, and vmap without custom wrappers or serialization. The library emphasizes composability, enabling complex model architectures and custom transformations by leveraging JAX's functional programming paradigm.

Quick Start & Requirements

Highlighted Details

  • PyTorch-like syntax for intuitive model definition.
  • Models are PyTrees, ensuring seamless JAX compatibility.
  • Offers advanced features beyond core JAX, such as PyTree manipulation and runtime error handling.
  • Designed for composability with other JAX ecosystem libraries.

Maintenance & Community

  • Primary contributor: Patrick Kidger.
  • Project is available on conda-forge.
  • Related libraries in the JAX ecosystem are listed for context.

Licensing & Compatibility

  • License: Not explicitly stated in the README, but the project is open-source.
  • Compatibility: Fully compatible with JAX and its ecosystem.

Limitations & Caveats

The README does not specify licensing details, which may require further investigation for commercial use. While it aims for broad compatibility, advanced JAX features might necessitate a deeper understanding of JAX's PyTree system.

Health Check
Last Commit

6 days ago

Responsiveness

1 day

Pull Requests (30d)
10
Issues (30d)
15
Star History
117 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Roy Frostig Roy Frostig(Coauthor of JAX; Research Scientist at Google DeepMind), and
8 more.

penzai by google-deepmind

0.1%
2k
JAX research toolkit for neural network building, editing, and visualization
Created 1 year ago
Updated 4 months ago
Feedback? Help us improve.