Skip to content

Conversation

@frank-dong-ms-zz
Copy link
Contributor

We are excited to review your PR.

So we can do the best job, please check:

  • There's a descriptive title that will make sense to other developers some time from now.
  • There's associated issues. All PR's should have issue(s) associated - unless a trivial self-evident change such as fixing a typo. You can use the format Fixes #nnnn in your description to cause GitHub to automatically close the issue(s) when your PR is merged.
  • Your change description explains what the change does, why you chose your approach, and anything else that reviewers should know.
  • You have included any necessary tests in the same PR.

antoniovs1029 and others added 3 commits September 30, 2020 11:13
* 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

* Improving comments
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
@frank-dong-ms-zz frank-dong-ms-zz requested a review from a team as a code owner October 8, 2020 04:06
@codecov
Copy link

codecov bot commented Oct 8, 2020

Codecov Report

❗ No coverage uploaded for pull request base (arcade@4960f9d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             arcade    #5424   +/-   ##
=========================================
  Coverage          ?   74.08%           
=========================================
  Files             ?     1020           
  Lines             ?   190375           
  Branches          ?    20471           
=========================================
  Hits              ?   141041           
  Misses            ?    43802           
  Partials          ?     5532           
Flag Coverage Δ
#Debug 74.08% <0.00%> (?)
#production 69.86% <0.00%> (?)
#test 87.69% <0.00%> (?)

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

@frank-dong-ms-zz frank-dong-ms-zz merged commit 62cdfa0 into arcade Oct 8, 2020
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 <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
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 <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
@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.

5 participants