Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 385 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 385 Bytes

torchcchio

  1. Setup environment
python3 -m venv venv
source venv/bin/activate
pip3 install torch --index-url https://download.pytorch.org/whl/cpu
pip3 install pin
  1. Build
export CMAKE_PREFIX_PATH=$(python3 -c 'import torch;print(torch.utils.cmake_prefix_path)'):$(python3 -m cmeel cmake)
mkdir build && cd build
cmake ..
make
  1. Run
./main