Installation
NOTE: The installation instruction below assume that you have python installed on your machine and are using conda as your package/environment manager.
Option 1: Clone repo (recommended for developers)
from home dir,
git clone git@github.com:bnb32/RL-equation-solver.git
- Create
rl_solver
environment and install package Create a conda env:
conda create -n rl_solver
Run the command:
conda activate rl_solver
cd
into the repo cloned in 1.Prior to running
pip
below, make sure the branch is correct (install from main!)Install
rl_solver
and its dependencies by running:pip install .
(orpip install -e .
if running a dev branch or working on the source code)
- Create
To use pytorch with cuda make sure you have cuda installed and then run the following command:
pip install torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.0+cu117 -f https://download.pytorch.org/whl/torch_stable.html