onnxruntime/csharp
Valery Chernov b327e89efa
Standalone TVM Executor Provider (#10019)
* squashed commit for standalone tvm execution provider

* critical fix for correct python build with stvm ep

* get tuning log file from ep options. It has priority over AUTOTVM_TUNING_LOG

* updates and fixes

* update parsing of stvm provider options

* add support of external data for onnx model

* add conditional dump of subgraphs

* remove unused code

* get input tensor shapes through provider options. get output shapes for fixed input ones by TVM API

* support AUTO_TVM tuning log file inside ORT. Selector for Ansor and Auto_TVM is provider option (tuning_type)

* add fp16

* add functionality of conversion of model layout to NHWC if need. Necessary parameter was added to STVM provider options

* fix license text in header. fix log format

* small fixes

* fix issues from flake8

* remove model proto construction from GetCapability

* reserve memory for vector of DLTensors

* add simple tutorial for STVM EP

* STVM docs

* jroesch/tvm -> apache/tvm

* remove dead code, unneccessary logs and comments

* fix in readme

* improve tutorial notebook

* tvm update

* update STVM_EP.md

* fix default value

* update STVM_EP.md

* some TODOs for the future development

* shorten long lines

* add hyperlink to STVM_EP.md

* fix Linux CI error

* fix error in csharp test

Co-authored-by: Jared Roesch <jroesch@octoml.ai>
Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
Co-authored-by: KJlaccHoeUM9l <wotpricol@mail.ru>
2021-12-15 16:59:20 -08:00
..
sample Update Xamarin sample code (#9925) 2021-12-07 16:18:58 +10:00
src Standalone TVM Executor Provider (#10019) 2021-12-15 16:59:20 -08:00
test Standalone TVM Executor Provider (#10019) 2021-12-15 16:59:20 -08:00
testdata Add Python checks pipeline (#7032) 2021-08-09 10:37:05 -07:00
tools/Microsoft.ML.OnnxRuntime.PerfTool Remove netcoreapp2.1 target as it is EOL and out of support. Attempting to use it with VS now causes unit test run failures. (#9603) 2021-10-29 11:11:22 +10:00
.clang-format Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
Directory.Build.props.in Conditionally export execution provider apis in chsarp (#1724) 2019-09-09 11:17:44 -07:00
Nuget.CSharp.config
OnnxRuntime.CSharp.proj Limit inclusion of Xamarin mobile target frameworks. (#9834) 2021-11-23 11:29:53 +10:00
OnnxRuntime.CSharp.sln Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
OnnxRuntime.DesktopOnly.CSharp.sln Limit inclusion of Xamarin mobile target frameworks. (#9834) 2021-11-23 11:29:53 +10:00
OnnxRuntime.snk Copy System.Numerics.Tensors sources from dotnet/corefx into onnxruntime (#1605) 2019-08-15 17:28:47 -07:00
readme.txt Limit inclusion of Xamarin mobile target frameworks. (#9834) 2021-11-23 11:29:53 +10:00

The main solution file is OnnxRuntime.CSharp.sln. This includes desktop and Xamarin mobile projects.
OnnxRuntime.DesktopOnly.CSharp.sln is a copy of that with all the mobile projects removed. This is 
due to there being no way to selectively exclude a csproj from the sln if Xamarin isn't available. 

If changes are required, either update the main solution first and copy the relevant changes across,
 or copy the entire file and remove the mobile projects (anything with iOS, Android or Droid in the name).