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 .
Release files for brax-jumpy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brax_jumpy-0.1.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brax_jumpy-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / brax_jumpy-0.1.0.tar.gz
| Download URL | brax_jumpy-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a3696190e8b6203f8cf74f4eb4d6e9b647b72a0d7547aefdee168e441dea6a1
|
|
BLAKE2b-256 checksum How to use checksums |
beb3a1364b9b26d4183f2c3e8338667457503149ae48e8db7024f54a46d2f0ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / brax_jumpy-0.1.0-py2.py3-none-any.whl
| Download URL | brax_jumpy-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2fe7e93449ea6ccb3be78bebc8be167e7bd0cd0abcc298b541ae325154dc5d0f
|
|
BLAKE2b-256 checksum How to use checksums |
2a1b0f940702e948598f675d11c5558ba077677f6197cad2e3d2c9b3e4a92461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|