Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vermouth1992/hipc21
https://github.com/vermouth1992/hipc21
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vermouth1992/hipc21
- Owner: vermouth1992
- License: apache-2.0
- Created: 2021-06-29T23:53:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T23:20:52.000Z (about 3 years ago)
- Last Synced: 2023-03-03T03:41:42.794Z (almost 2 years ago)
- Language: C++
- Size: 1.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# High Performance Parallel Reinforcement Learning Implementation in C++
## Dependencies
We manage all the dependencies using Anaconda for the most simplicity
- nlohmann_json
- spdlog
- fmt
- curl
- pybind11
- flask```bash
conda install nlohmann_json spdlog fmt curl pybind11 flask -c conda-forge
```- Install Pytorch from [here](https://pytorch.org/get-started/locally/)
If your Pytorch is installed with GPU support, you also need to install the following packages
- cudatoolkit-dev
- CuDNN```bash
conda install cudnn cudatoolkit-dev==${CUDA_VERSION} -c conda-forge
```- gym-remote
```bash
cd envs
pip install -e .
```Make sure the CUDA_VERSION matches the one you installed your Pytorch
## Build
Before building, make sure your Python is pointing to the Anaconda environment using
```bash
which python
```Then, execute
```bash
mkdir build;
cd build;
cmake ..
make -j 8
```To compile with FPGA support, use
```bash
cmake .. -DFPGA=ON
```## Running