Skip to main content

JAX models for deep learning

Project description

Jaxonmodels

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

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.2.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

jaxonmodels-0.2.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxonmodels-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for jaxonmodels-0.2.0.tar.gz
Algorithm Hash digest
SHA256 648de00dc8bc750b6983996aeea133b401bd6be42abbfd44b0aec679b84f197c
MD5 2af7f627895163366425d962a8f8f53a
BLAKE2b-256 9174a543b31bf4757a03653a8fda4cfad89677b6e262cabfea0967143a7f79b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxonmodels-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for jaxonmodels-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 950ad2ba7b89425d553cfa9b833ddb2ebcdbd1291f8c387357b494f3985575a3
MD5 fb1458bc336af15acedf0c94b329275b
BLAKE2b-256 0bbaf95170cb5ad3404e3b65e4d6a9784690bab12373d1eb4516b0a001453e41

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