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.0.tar.gz (60.9 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.0-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxonmodels-0.5.0.tar.gz
  • Upload date:
  • Size: 60.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jaxonmodels-0.5.0.tar.gz
Algorithm Hash digest
SHA256 453b8c62c981406558e823997a441569a10e0043d8e9a111a57938fdd1c4630d
MD5 8f338b3f89b54ffbbe07ac72707af966
BLAKE2b-256 d6be20365b528f4ce7ba07dc3ff837fce745066f567554c3e6cf71039c7b052c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxonmodels-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jaxonmodels-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad5fce2298f3cbdb80221a76828f2a86103a7f41d3a2bccdcd410de1acf2d800
MD5 1a43f7d97b3d8f7ab002d33f869e192b
BLAKE2b-256 cb30ec9f35ed98260552c717578725cdcb5e78da9ccc0ce37f89ca8774fde189

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