From e65d98479bde3a80eb3ae3e41837680cbfffd489 Mon Sep 17 00:00:00 2001 From: Wenbing Li <10278425+wenbingl@users.noreply.github.com> Date: Tue, 1 Dec 2020 10:51:50 -0800 Subject: [PATCH] Update README.md (#30) * Update README.md * Update README.md * Update README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9a510ab..e248f006 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,20 @@ This repository provides a library of add-on custom operators for [ONNX Runtime] # Getting started Windows: - Install Visual Studio with C++ development tools +- Prepare Python env and install the pip packages in the requirements.txt if Python support is needed. - Copy build.bat to mybuild.bat and edit as needed. You may need to change "Enterprise" to "Community" depending on your Visual Studio version. - Run mybuild.bat -- cd into `out/Windows/RelWithDebInfo` and run `pip install -e .` -- Run `python test/test_pyops.py` and run the repo root + +Linux: +- Install gcc with C++ support, cmake +- Prepare Python env and install the pip packages in the requirements.txt if Python support is needed. + +Installation +- cd into `out//RelWithDebInfo` and run `pip install -e .` + +Test: +- cd into `out//RelWithDebInfo` and run `./ortcustomops_test` +- cd into the repo root and run `pytest test` if the Python support enabled. # Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a