This repository provides learning algorithms using JAX, built on top of Equinox and Optax.
- Python 3.10
You may simply install this package using pip.
cd ${JAX_LEARNING_PATH}
pip install -e .
Running wandb
local instance:
- Install Docker
- Install Weights & Biases Local docker image:
docker pull wandb/local
- Start docker container
docker run --rm -d -v wandb:/vol -p 8080:8080 --name wandb-local wandb/local
- You can now reach the dashboard via http://localhost:8080
- If you are setting this up for the first time, create a license from Deployer and add it to the local instance. Create an account on the local instance and copy the API key.
- Login to the local instance:
wandb login --host=http://localhost:8080
. Use the copied API key from step 5 if necessary.
- Docker: https://www.docker.com/
- Weights & Biases Local: https://github.com/wandb/local
We use Black code formatter as our standard.
Run black jax_learning
to format the full codebase.
Please consider citing this repository if you use/extend this codebase in your work:
@misc{jax_learning,
author = {Chan, Bryan},
title = {JAX Learning},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/chanb/jax_learning}},
}