Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Onnxruntime 1.5.1 #5406

Merged
merged 5 commits into from
Sep 30, 2020

Conversation

antoniovs1029
Copy link
Member

@antoniovs1029 antoniovs1029 commented Sep 22, 2020

Updated to use Onnxruntime 1.5.1, and also added some variables to the Onnx-related tests so it's easier to manually test the onnxruntime GPU prereleases whenever it's necessary.

@codecov
Copy link

codecov bot commented Sep 28, 2020

Codecov Report

Merging #5406 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5406   +/-   ##
=======================================
  Coverage   74.08%   74.09%           
=======================================
  Files        1019     1019           
  Lines      190355   190363    +8     
  Branches    20469    20469           
=======================================
+ Hits       141033   141048   +15     
+ Misses      43791    43784    -7     
  Partials     5531     5531           
Flag Coverage Δ
#Debug 74.09% <100.00%> (+<0.01%) ⬆️
#production 69.86% <ø> (+<0.01%) ⬆️
#test 87.71% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/Microsoft.ML.Functional.Tests/ONNX.cs 100.00% <100.00%> (ø)
...osoft.ML.OnnxTransformerTest/OnnxTransformTests.cs 95.34% <100.00%> (+<0.01%) ⬆️
test/Microsoft.ML.Tests/OnnxConversionTest.cs 96.17% <100.00%> (+<0.01%) ⬆️
...oft.ML.Tests/OnnxSequenceTypeWithAttributesTest.cs 94.44% <100.00%> (+0.56%) ⬆️
src/Microsoft.ML.Maml/MAML.cs 23.78% <0.00%> (-0.98%) ⬇️
...ML.Transforms/Text/StopWordsRemovingTransformer.cs 86.67% <0.00%> (+0.14%) ⬆️
...L.AutoML/TrainerExtensions/TrainerExtensionUtil.cs 86.36% <0.00%> (+1.65%) ⬆️
....ML.AutoML/PipelineSuggesters/PipelineSuggester.cs 83.19% <0.00%> (+3.36%) ⬆️

@antoniovs1029 antoniovs1029 changed the title [Draft] Test onnx prerelease Update to Onnxruntime 1.5.1 Sep 30, 2020
@antoniovs1029 antoniovs1029 marked this pull request as ready for review September 30, 2020 06:30
@antoniovs1029 antoniovs1029 requested a review from a team as a code owner September 30, 2020 06:30
Copy link
Contributor

@frank-dong-ms-zz frank-dong-ms-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@antoniovs1029 antoniovs1029 merged commit 5dbfd8a into dotnet:master Sep 30, 2020
frank-dong-ms-zz added a commit that referenced this pull request Oct 8, 2020
* Update to Onnxruntime 1.5.1 (#5406)

* Added variables to tests to control Gpu settings

* Added dependency to prerelease

* Updated to 1.5.1

* Remove prerelease feed

* Nit on GPU variables

* Change the _maxCalibrationExamples default on CalibratorUtils (#5415)

* Change the _maxCalibrationExamples default

* Improving comments

* Fix perf regression in ShuffleRows (#5417)

RowShufflingTransformer is using ChannelReader incorrectly. It needs to block waiting for items to read and was Thread.Sleeping in order to wait, but not spin the current core. This caused a major perf regression.

The fix is to block synchronously correctly - by calling AsTask() on the ValueTask that is returned from the ChannelReader and block on the Task.

Fix #5416

Co-authored-by: Antonio Velázquez <38739674+antoniovs1029@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
mstfbl pushed a commit to mstfbl/machinelearning that referenced this pull request Nov 12, 2020
* Update to Onnxruntime 1.5.1 (dotnet#5406)

* Added variables to tests to control Gpu settings

* Added dependency to prerelease

* Updated to 1.5.1

* Remove prerelease feed

* Nit on GPU variables

* Change the _maxCalibrationExamples default on CalibratorUtils (dotnet#5415)

* Change the _maxCalibrationExamples default

* Improving comments

* Fix perf regression in ShuffleRows (dotnet#5417)

RowShufflingTransformer is using ChannelReader incorrectly. It needs to block waiting for items to read and was Thread.Sleeping in order to wait, but not spin the current core. This caused a major perf regression.

The fix is to block synchronously correctly - by calling AsTask() on the ValueTask that is returned from the ChannelReader and block on the Task.

Fix dotnet#5416

Co-authored-by: Antonio Velázquez <38739674+antoniovs1029@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
mstfbl pushed a commit that referenced this pull request Nov 12, 2020
* Update to Onnxruntime 1.5.1 (#5406)

* Added variables to tests to control Gpu settings

* Added dependency to prerelease

* Updated to 1.5.1

* Remove prerelease feed

* Nit on GPU variables

* Change the _maxCalibrationExamples default on CalibratorUtils (#5415)

* Change the _maxCalibrationExamples default

* Improving comments

* Fix perf regression in ShuffleRows (#5417)

RowShufflingTransformer is using ChannelReader incorrectly. It needs to block waiting for items to read and was Thread.Sleeping in order to wait, but not spin the current core. This caused a major perf regression.

The fix is to block synchronously correctly - by calling AsTask() on the ValueTask that is returned from the ChannelReader and block on the Task.

Fix #5416

Co-authored-by: Antonio Velázquez <38739674+antoniovs1029@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
@ghost ghost locked as resolved and limited conversation to collaborators Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants