Yi Zhang
777c474f61
skip quantized model C# tests on GPU ( #13782 )
...
### Description
Skip quantized model C# tests on GPU too.
### Motivation and Context
It looks the current test result isn't reasonable.
https://github.com/onnx/models/issues/581
Once we update the image, the quantized model [test data will be
generated with
VNNI](ba629906dd ),
the CI would be broken.
2022-12-01 12:33:20 +08:00
Dmitri Smirnov
0e2087acff
Add extension method to compensate for Contains() absence ( #13466 )
...
### Description
The targeted framework does not contain `Contains(string, orginal)`.
Add extension method to compensate in following the suggestion
[here](https://learn.microsoft.com/en-us/dotnet/api/system.string.contains?view=net-7.0 ).
### Motivation and Context
Packaging pipeline fails.
2022-10-27 10:00:47 -07:00
Yi Zhang
143725604e
Skip some models failed in Windows CPU C# tests ( #13395 )
...
### Description
For models from model zoo, in C# tests of Windows CPU CI
skip models whose name contains int8 or qdq.
skip some models (VGG16, VGG19) in x86 workflow
### Motivation and Context
These models always failed in Windows CPU C# tests
(https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=789442&view=results )
### verified
https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=789861&view=results
C# tests passed
2022-10-22 13:54:24 +08:00
Yi Zhang
bb16ee712e
skip 2 models in C# test ( #13384 )
...
### Description
<!-- Describe your changes. -->
### Motivation and Context
these 2 models are also skipped in gtest
fc12abf6b1/onnxruntime/test/providers/cpu/model_tests.cc (L119-L122)
2022-10-21 09:01:34 +08:00
Yi Zhang
3c08f24efc
uset SearchOption for dotframework ( #13321 )
...
### Description
As Title
### Motivation and Context
dotcore has EnumerationOptions but dotnetframewok hasn't
**netframework-4.6.1**
https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.enumeratedirectories?view=netframework-4.6.1#system-io-directory-enumeratedirectories(system-string-system-string-system-io-searchoption)
**net-5.0**
https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.enumeratedirectories?view=net-5.0
It breaks C#.net framework step in Packaging Pipeline
Testing workflow
https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=238516&view=results
2022-10-14 10:22:05 -07:00
Yi Zhang
0d672e9112
Enable C# test load models with more complex directories. ( #13251 )
...
### Description
Currently, C# test only load models with the directory structure as
`{modelroot}->{opsetXX}->{modelname}->{.onnx}`
In this PR, C# test can load models from
`{modelroot}->{model-source}->{opsetXX}->{modelname}->{.onnx}`
### Motivation and Context
There're multiple sources of testing models.
1. model zoo (Not in official image)
2. 1st party models
3. models with contrib-ops
4. others.
It'd better to insert a mid-directory for new sources.
**This PR is compatible with current models.**
From
https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=776643&view=logs&j=6df8fe70-7b8f-505a-8ef0-8bf93da2bac7&t=e7d9f128-b630-5ee6-a99e-2fca70d04619&l=79
the test result is same as master build `Passed: 583, Skipped: 14,
Total: 597`
**model zoo models (mounted in ..\models\zoo) could be loaded**
And from this test workflow, it can load both existing models and models
from model zoo.
https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=777018&view=logs&j=6df8fe70-7b8f-505a-8ef0-8bf93da2bac7&t=e7d9f128-b630-5ee6-a99e-2fca70d04619
Skipping failed models will be in other PRs
2022-10-12 13:53:58 +08:00
Chun-Wei Chen
6246662b1d
[Dup] Fix SAME_UPPER/SAME_LOWER (auto_pad attribute) in ConvTranspose ( #12537 )
...
* Fix SAME_UPPER/SAME_LOWER (auto_pad attribute) in ConvTranspose
* Bump ONNX 1.10.2 globally
* load ONNX_VERSION from VERSION_NUMBER
* /
* revert deprecate warning in ORT 1.12
* add a comment about why removing cntk_simple_seg
* correct the implem in DML as well
2022-08-22 15:35:34 -07:00
Wei-Sheng Chin
0ee0b8cf18
Disable sequence-type tests since C# infra doesn't support well ( #12037 )
2022-06-30 09:49:03 -07:00
Edward Chen
466b2d9f3d
[C# Tests] Add support for double tensor output in TestPreTrainedModels. ( #12008 )
...
Add support for double tensor output in TestPreTrainedModels.
2022-06-27 18:49:19 -07:00
Vincent Wang
3b6cee8059
[CUDA] Optimize Conv and ConvGrad for Training ( #10999 )
...
* Optimize Conv and ConvGrad for Training
* add provider option to control
* fix typo
2022-03-29 07:31:36 +08:00
Chun-Wei Chen
bac9c0eb50
skip optional related models from opset16 ( #10840 ) ( #10878 )
2022-03-16 08:49:42 -07:00
Hariharan Seshadri
0552a47ec2
Enable CUDA provider option configuration for C# ( #10188 )
2022-01-06 11:03:14 -08:00
Ye Wang
2803a9465d
Add example of registering custom cuda op as shared lib ( #10025 )
2022-01-05 09:22:15 -08:00
Scott McKay
b5a652c578
Add Xamarin support ( #9436 )
...
Add Xamarin support to the ORT nuget packages.
- Update C# code to support Xamarin builds for iOS and Android
- refactor some things to split out common code
- include iOS and Android ORT native shared library in native nuget package
2021-10-27 20:07:07 +10:00