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

brax_jumpy-0.1.0.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

brax_jumpy-0.1.0-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

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