From 5c5c8f83ca1db801829f4742dbd6fab24ab3345b Mon Sep 17 00:00:00 2001 From: Bandhav Veluri Date: Mon, 7 Dec 2020 19:36:36 -0800 Subject: [PATCH] Updated the clone command for cosim build --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa0a3cf808..de6d6a50df 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,18 @@ This work aims to port PyTorch to HammerBlade. ### How to build PyTorch to use COSIM This assumes that you have a working HB Cosimulation installed through `bsg_bladerunner`. Then: - Enable `devtoolset-8` or any toolchain that supports C++14. + + On CentOS, this is usually done with: + + scl enable devtoolset-8 bash + - Set following variable to point to `bsg_bladerunner` clone: export BRG_BSG_BLADERUNNER_DIR= - Clone hb-pytorch repo: - git clone -b hb-device git@github.com:cornell-brg/hb-pytorch.git + git clone git@github.com:cornell-brg/hb-pytorch.git - Create python virtual environment: