Skip to main content

JAX models for deep learning in Equinox

Project description

Jaxonmodels

🚨 This library is still under HEAVY development and won't reach version 1.0.0 in a long time!

This library consists of deep learning model implementations in JAX using Equinox as the neural network library.

The goal of this library is to provide simple, yet performant and easy to understand implementations with the aim to give exactly the same output as their Pytorch counterparts. As such, great emphasis is placed on making sure that the layers and the models behave accordingly.

Using statedict2pytree we can also load the Pytorch model weights into the JAX models.

Some models will have inadvertently repeated code, but this is fine so long as the model remains self contained for the most part.

Implemented Models

These models have been implemented:

  • AlexNet
  • CLIP
  • EfficientNet
  • ResNet
  • ViT
  • Mamba
  • ConvNext
  • Swin Transformer
  • Siglip (in progress)
  • VQ-VAE
  • ESMC
  • ESM3

Contributing

If you have a model that you would like to include, then just open up a PR. It should contain your model and ideally a few tests showcasing that the model (and its components) behave like their Pytorch versions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaxonmodels-0.5.5.tar.gz (61.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaxonmodels-0.5.5-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file jaxonmodels-0.5.5.tar.gz.

File metadata

  • Download URL: jaxonmodels-0.5.5.tar.gz
  • Upload date:
  • Size: 61.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for jaxonmodels-0.5.5.tar.gz
Algorithm Hash digest
SHA256 025088e025ffc843b4bf558bba273b565714ac5e15686839694623e7ca5b55f6
MD5 508f6594f24920232b91ef8ab5878e18
BLAKE2b-256 8fc11bda65e1150c53016bee98bd217b19d811b209e08010b768dbca8160103f

See more details on using hashes here.

File details

Details for the file jaxonmodels-0.5.5-py3-none-any.whl.

File metadata

File hashes

Hashes for jaxonmodels-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 16fd2ccccd210ea1a5be03bc747610f287db11ea96d3b1d50373e65e2c571a35
MD5 8c18362720001d1e02c24d0753bb5c3d
BLAKE2b-256 9b602eae1f02b7e0a581c7b5d78c73cb555bf2524950242a7f3ceea65f9b53e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page