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.4.tar.gz (61.1 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.4-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jaxonmodels-0.5.4.tar.gz
Algorithm Hash digest
SHA256 4787ea60cb2c9dff2a06d5005e4df35a19f93bb65015c3913512c4e332ec131d
MD5 b356a9472a6a3ba0ded4423a47faf521
BLAKE2b-256 1f738c64a79b0317ac92d843f8df97418261f82dbe35f4096cf566ee0bc96f5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jaxonmodels-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fa59a17eccdbff676278e42aaa457d0a25b9127e2f8d84d424291a1de51754c1
MD5 061bfa4febdb264205245b88e7a1e162
BLAKE2b-256 bfc6fd91c85bdd81165a99c2a4fa095ff4f56a285a702cc30e2a51cff6bc4777

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