equinox  by patrick-kidger

JAX library for neural networks and scientific computing

created 4 years ago
2,444 stars

Top 19.4% 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

2 days ago

Responsiveness

1 day

Pull Requests (30d)
9
Issues (30d)
14
Star History
117 stars in the last 90 days

Explore Similar Projects

Starred by George Hotz George Hotz(Author of tinygrad; Founder of the tiny corp, comma.ai), Patrick von Platen Patrick von Platen(Core Contributor to Hugging Face Transformers and Diffusers), and
4 more.

jaxtyping by patrick-kidger

0.6%
1k
Typing library for array shapes/dtypes
created 3 years ago
updated 3 months ago
Starred by Charlie Marsh Charlie Marsh(Founder of Astral; Author of Ruff, uv), Jiayi Pan Jiayi Pan(Author of SWE-Gym; AI Researcher at UC Berkeley), and
11 more.

flax by google

0.2%
7k
NN library for JAX, designed for flexibility in neural network research
created 5 years ago
updated 23 hours ago
Feedback? Help us improve.