Update README.md (#30)
* Update README.md * Update README.md * Update README.md
This commit is contained in:
Родитель
559015501e
Коммит
e65d98479b
14
README.md
14
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/<OS_NAME>/RelWithDebInfo` and run `pip install -e .`
|
||||
|
||||
Test:
|
||||
- cd into `out/<OS_NAME>/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
|
||||
|
|
Загрузка…
Ссылка в новой задаче