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.2.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.2-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxonmodels-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 316ac9a49a60c5d32b5e81eddf1186f364ab5fcd453f6c967d35b5c89c524219
MD5 26562409968193c891d029994126de0e
BLAKE2b-256 f07455da1c4cae2a6ba6ffe79d50d5f015c1140f8ea015a438cbef3503dac04d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxonmodels-0.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c5cffe1e3eae8ff028690297ff34f73950367ce23aad314edbbc44446faa0e5
MD5 5f5238c8caece8d48f1e035bf29cacb3
BLAKE2b-256 27b31768cd06cdca68cdda42fa1e38ba2bc42a3282d166d4e973854da19a0a56

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