An implementation of PMACE framework using JAX
Clone or download the repository:
git clone git@github.com:qiuchenzhai/pmace_jax
Install the conda environment and package
Option 1: Clean install from dev_scripts
*****You can skip all other steps if you do a clean install.****
To do a clean install, use the command:
cd dev_scripts source clean_install_all.sh
Option 2: Manual install
Create conda environment:
Create a new conda environment named
pmace_jax
using the following commands:conda create --name pmace_jax python=3.10 conda activate pmace_jax pip install -r requirements.txt
Anytime you want to use this package, this
pmace_jax
environment should be activated with the following:conda activate pmace_jax
Install pmace_jax package:
Navigate to the main directory
pmace_jax/
and run the following:pip install .
To allow editing of the package source while using the package, use
pip install -e .
Run any of the available demo scripts with something like the following:
python demo/<demo_file>.py