Skip to content

Updated ORT version info for OnnxScoringEstimator #5175

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

Merged
merged 3 commits into from
May 29, 2020
Merged

Updated ORT version info for OnnxScoringEstimator #5175

merged 3 commits into from
May 29, 2020

Conversation

harishsk
Copy link
Contributor

Also added additional detail around mandatory inclusion of either the CPU or the GPU nuget of ORT.

@harishsk harishsk requested a review from a team as a code owner May 28, 2020 18:51
@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #5175 into master will increase coverage by 13.11%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #5175       +/-   ##
===========================================
+ Coverage   75.81%   88.93%   +13.11%     
===========================================
  Files         993      237      -756     
  Lines      181224    43104   -138120     
  Branches    19510     2266    -17244     
===========================================
- Hits       137389    38333    -99056     
+ Misses      38537     4453    -34084     
+ Partials     5298      318     -4980     
Flag Coverage Δ
#Debug 88.93% <ø> (+13.11%) ⬆️
#production ?
#test 88.93% <ø> (ø)
Impacted Files Coverage Δ
...rs/Standard/PoissonRegression/PoissonRegression.cs
...osoft.ML.StandardTrainers/Optimizer/L1Optimizer.cs
src/Microsoft.ML.Transforms/CategoricalCatalog.cs
src/Microsoft.ML.OnnxConverter/OnnxUtils.cs
src/Microsoft.ML.AutoML/API/ExperimentSettings.cs
src/Microsoft.ML.CpuMath/AlignedArray.cs
...rc/Microsoft.ML.EntryPoints/ScoreColumnSelector.cs
...rc/Microsoft.ML.Ensemble/OutputCombiners/Median.cs
...rc/Microsoft.ML.TimeSeries/SRCNNAnomalyDetector.cs
src/Microsoft.ML.CpuMath/ProbabilityFunctions.cs
... and 745 more

/// Models are scored on CPU by default.
/// [Microsoft.ML.OnnxRuntime](https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime/) library (version 1.3.0).
/// Models are scored on CPU if the project references Microsoft.ML.OnnxRuntime and on the GPU if the project references Microsoft.ML.OnnxRuntime.Gpu.
/// Every project using the OnnxScoringEstimator must reference one of the above two packages.
///
/// To run on a GPU, use the
/// NuGet package [Microsoft.ML.OnnxRuntime.Gpu](https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.Gpu/) (version 1.2.0) instead of the Microsoft.ML.OnnxRuntime nuget (which is for CPU processing). Microsoft.ML.OnnxRuntime.Gpu
Copy link
Member

@antoniovs1029 antoniovs1029 May 28, 2020

Choose a reason for hiding this comment

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

Also update this lines below to say that we use (version 1.3.0), or maybe even remove the "(version 1.2.0)" parenthesis since the version was already stated above.. Btw, Since this paragraph I'm pointing to also states that for Gpu support we need the Gpu nuget instead of the Cpu one it's a little bit redundant with the new lines introduced above. But that's ok I guess.

@antoniovs1029
Copy link
Member

antoniovs1029 commented May 28, 2020

The text on line 716-717 still reads version 1.2.0. This was the line I was referring to in my previous comment, were I suggested removing the "(version 1.2.0)" parenthesis. Sorry for the confusion.

@harishsk harishsk merged commit e46cd07 into dotnet:master May 29, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Mar 18, 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.

3 participants