Skip to main content

Common backend for JAX or numpy.

Project description

Jumpy

Jumpy is a common backend for JAX or numpy:

  • A jumpy function returns a JAX outputs if given a JAX inputs
  • A jumpy function returns a JAX outputs if jitted
  • Otherwise a jumpy function returns numpy outputs

Jumpy lets you write framework agnostic code that is easy to debug by running as raw numpy, but is just as performant as JAX when jitted.

Installing Jumpy

To install Jumpy from pypi:

python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install brax-jumpy

Alternatively, to install Jumpy from source, clone this repo, cd to it, and then:

python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -e .

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

jax_jumpy-0.0.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

jax_jumpy-0.0.2-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file jax_jumpy-0.0.2.tar.gz.

File metadata

  • Download URL: jax_jumpy-0.0.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for jax_jumpy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c790240c577e8e2b5ae66174e0be48acebff1e9db135e041f44b55aa24007d66
MD5 a86fac341312eaeab2b4ef234fdf8e5a
BLAKE2b-256 c4214ea9d88a25e03b28c0cd361b2931bb1781772b85423cf4299135e0a32087

See more details on using hashes here.

File details

Details for the file jax_jumpy-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: jax_jumpy-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for jax_jumpy-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aa6459e9f8939fd17b03977a96917c24a56b1930d14fea6741bf93af9aa3ec0d
MD5 1bafdd66e5e431dd868c60185ce2de71
BLAKE2b-256 61793239f7232466c8978c96cc1054da4b4c2dc3cb490fe8d52856ad2fe4b64a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page