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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxonmodels-0.5.1.tar.gz
  • Upload date:
  • Size: 61.0 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.1.tar.gz
Algorithm Hash digest
SHA256 46dd2f25627f87b51ecacd8f8bb777263f1e7f3af8d9ed00aed2a00afa3b9a3a
MD5 87f4dbf87a90ec5f6c5449feba101a33
BLAKE2b-256 e8d5948476d07c2f57ee925a1768f8bb1bac84a9f0c81c363d9287e39d5e9908

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxonmodels-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 55.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a3fa9c4ccb88b4b203a598749dc8c7031fc2e8089ad823b2f977cf419bb460
MD5 74e24ad1943b234936c7751e8b546cce
BLAKE2b-256 725977ea8fa33cb7190c586c6171a5682dc988efdaafde3c1f1499210c098de4

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