Installation¶
RL4CO is now available for installation on pip!
pip install rl4co
Local install and development¶
If you want to develop RL4CO or access the latest builds, we recommend you to install it locally with pip in editable mode:
git clone https://github.com/kaist-silab/rl4co && cd rl4co
pip install -e .
[Optional] Automatically install PyTorch with correct CUDA version
These commands will automatically install PyTorch with the right GPU version for your system:
pip install light-the-torch
python3 -m light_the_torch install -r --upgrade torch
Note:
condais also a good candidate for hassle-free installation of PyTorch: check out the PyTorch website for more details.
To get started, we recommend checking out our quickstart notebook or the minimalistic example.