Commit graph

41 commits

Author SHA1 Message Date
shahasad
f94fdad861
Fixes on the dotnet end-to-end test scripts to get it running on linux (#376)
* fixed typo in runtest.sh

* some fixes

* some fixes

* some fixes in the runtest.sh

* added test data url

* fixes on the dotnet test scripts

* fix on prior mistake regarding installation of apt-transport-https

* added verbosity in the test run for easy debugging

* updated comment in the runtest.sh
2019-01-24 13:14:29 -08:00
jignparm
0a21226b09 comment out 16-bit float models in C# (#351) 2019-01-18 14:16:53 -08:00
jignparm
b3f0d0b659
added unit test to guard against native API changes (#337)
* added unit test to guard against native API changes

* Removed cuda and mkldnn from API checks

* Updated per some code comments
2019-01-16 16:53:06 -08:00
jignparm
7e3923b9b3
Fix for non-wide characters in strings for linux - for c#-native interop (#326)
* Fix for non-wide characters in strings for linux - for c#-native interop

* update some unit tests

* added unicode and utf-8 encoding explicitly for file names
2019-01-15 01:41:32 -08:00
Edward Chen
677918cd9a Added generation of C# project properties file containing actual build directory. 2019-01-14 16:02:13 -08:00
Shah Asaduzzaman (ASAD)
c955cd8278 changed csharp runtime folder name to win from win10 2019-01-14 16:01:57 -08:00
Changming Sun
ef5679949a
Fix a c# build issue when mkldnn is not enabled (#321) 2019-01-14 14:22:02 -08:00
shahasad
8a7b6761de
changed nativeLib name from onnxruntime.dll to onnxruntime, for cross platform (#275) 2019-01-03 19:52:21 -08:00
Ryan Hill
6a090985fb More C API changes (#259)
* More API changes, remove 'Inference' from function names. Remove enum values. Make Status match other types.

* Switch to bool instead of int, and remove stdbool
2018-12-28 14:53:19 -08:00
shahasad
29d03ffb08
Add end-to-end test to run on the nuget package (#252)
* added end-to-end nuget package test

* reset the changes in OnnxRuntime.CSharp.proj

* revert the testdata directory path

* revert inference tests proj file

* added script for running end-to-end tests

* fix in the runtest.bat

* added error checking in runtest

* fixed paths in the test project

* added runtest.sh

* fix protoc path

* updated executable attributes for the runtest scripts

* added some log to debug protoc failures

* removed the protoc and duplicate test code, reuse unit-test code for end-to-end test

* copy always

* fix working dir paths in runtest.sh

* added a build.py flag to download test data without running the c++ tests

* added a script for running the test under docker

* added script for docker run of the test
2018-12-27 15:22:46 -08:00
jignparm
a43382e390
Jignparm/csharp gpu (#221)
* Minor updates to exception message

* update models folder to new location

* update copy to preservenewest

* reenable pretrained test

* added some debugging info for build

* update pretrained test, and tensor proto definition
2018-12-20 09:58:03 -08:00
Pranav Sharma
39f47f86ee
Adding the include folder for the C Windows pkg. (#198)
* Adding the include folder for the C Windows pkg.

* Add import lib to the pkg

* Disable csharp pretrained tests temporarily
2018-12-18 21:04:42 -08:00
jignparm
d4131a31d9
Disable csharp pretrained tests temporarily (#207) 2018-12-18 21:35:23 +00:00
Ryan Hill
773114a4f1
More C header naming changes (#202)
* More Ort prefix changes for consistency

* Fix C# methods

* More C# fixes
2018-12-18 11:39:46 -08:00
jignparm
0287019c1d C# Gpu : Minor updates to exception message (#201)
* Minor updates to exception message

* update models folder to new location

* update copy to preservenewest
2018-12-18 00:30:27 -08:00
jignparm
5fd9024139
[WIP] Initial checking for CSharp GPU support (#176)
* Initial checking for CSharp GPU support

* Enabled C# for GPU build

* Update Onnxruntime to Ort

* Add runtime check for cuda dlls for windows

* Update pretrained model test, for models where name!=model.onnx

* lowered tolerance for float checks to pass new models

* ignore extra ._resnet34v2.onnx file in pretrained test
2018-12-17 21:18:48 +00:00
Ryan Hill
11b369a864
Abbreviate ONNXRuntime as Ort in all of our public APIs (#175)
Applies to all public headers and macros, plus many internal ones. There are still some internal things with OnnxRuntime in the name, but this fixes all public functions & macros.
2018-12-14 14:54:23 -08:00
Changming Sun
0aaaf4663d Update data download script (#171)
* Add cache dir

* update

* disable csharp

* update

* Revert "disable csharp"

This reverts commit e1a80f3272f7e7881f3081a91467756d2769fdf4.

* add output

* update
2018-12-13 14:46:59 -08:00
jignparm
6bfb195184
Jignparm/csharp test difftypes (#126)
* Added tests for C# types

* added multithread c# test

* Added pretrained tests

* Added function to load data from PB file

* added exec task for protoc
2018-12-08 01:34:08 +00:00
shahasad
a09a3d3aa5
Add build targets and props file for legacy csharp project support (#127)
* added the x64 condition in the targets file

* need the reference node for managed dll

* address review comments

* fix the dll path

* added back Link
2018-12-07 12:15:11 -08:00
shahasad
5cec70df4b added the redirected URL to nuget package icon (#125) 2018-12-06 22:21:44 -08:00
jignparm
9b9cb32f88
Jignparm/csharp test difftypes (#122)
* Added tests for C# types

* added multithread c# test
2018-12-07 05:17:31 +00:00
shahasad
f1c66a4aae
Updated CSharp package description (#75)
* Updated CSharp package description

* capitalize Runtime
2018-12-03 13:54:58 -08:00
shahasad
c55663860e
fixed metadata element -- use PackageProjectUrl instead of ProjectUrl (#67) 2018-11-30 11:01:47 -08:00
shahasad
bcc8f621ea
updated nuget package metadata for MS compliance (#66) 2018-11-30 09:35:20 -08:00
shahasad
7780fd6cd9 fix bug -- failing on non float tensor output types (#58)
* fixed the missing implementation of output tensor construction based on type checking

* cleanup

* cleanup
2018-11-29 08:15:18 -08:00
Scott McKay
97dc949e3f Fix some more C# unit test issues.
Ignore bin and obj directories under /csharp
2018-11-29 17:38:51 +10:00
Scott McKay
2486336355 Update error messages C# tests check for. 2018-11-29 16:31:10 +10:00
Shah Asaduzzaman
6f65a03939 some cleanup 2018-11-28 15:21:17 -08:00
Shah Asaduzzaman
c1613aa28e Fixes in the NuGet package meatada. Include sourcelink 2018-11-28 15:09:51 -08:00
Shah Asaduzzaman (ASAD)
be1be9fa94 explicitly specify outputpath in the test project 2018-11-28 01:10:37 -08:00
Shah Asaduzzaman (ASAD)
f638031f02 make test explicitly anyCPU 2018-11-28 00:13:56 -08:00
Shah Asaduzzaman (ASAD)
1a03f44938 make the test project explicitly x64 platform to get working 2018-11-28 00:09:35 -08:00
Shah Asaduzzaman (ASAD)
29f9e89226 merged the latest csharp folder changes from VSTS repo @313681f9 2018-11-27 19:01:28 -08:00
Shah Asaduzzaman (ASAD)
e477e7563b typo in last commit 2018-11-26 00:18:14 -08:00
Shah Asaduzzaman (ASAD)
4f0ec77f6e Merge branch 'dev/shahasad/enable-dll-and-csharp-in-windows-ci-build' into dev/shahasad/merge-latest-few-changes-on-csharp-api 2018-11-26 00:14:58 -08:00
Shah Asaduzzaman (ASAD)
33537055cb make mkldnn.dll optional 2018-11-26 00:13:32 -08:00
Shah Asaduzzaman (ASAD)
ba6123db57 fix the exceptions 2018-11-25 23:44:39 -08:00
Shah Asaduzzaman (ASAD)
f454826b93 updated the files with the latest ones from Lotus VSTS repo 2018-11-25 22:46:21 -08:00
Pranav Sharma
7aef8a1cca Sync with internal master. 2018-11-22 20:56:43 -08:00
Pranav Sharma
89618e8f1e Initial bootstrap commit. 2018-11-19 16:48:22 -08:00