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

[release/3.0] Torch sharp version updates and test fixes #6958

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jan 17, 2024

Backport of #6954 to release/3.0

/cc @michaelgsharp

Customer Impact

The older version of TorchSharp has a bug when a TorchSharp model is cleared with a finalizer. Updating to the latest version of TorchSharp resolves this issue.

Testing

All CI tests as well as full test passes of the large/full datatest were run to validate this.

Risk

Low-Mid. This is a dependency update and that always has a bit of risk.

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (ec498d8) 68.80% compared to head (bccebac) 68.80%.

Additional details and impacted files
@@             Coverage Diff              @@
##           release/3.0    #6958   +/-   ##
============================================
  Coverage        68.80%   68.80%           
============================================
  Files             1240     1240           
  Lines           249652   249652           
  Branches         25511    25511           
============================================
+ Hits            171769   171779   +10     
+ Misses           71281    71272    -9     
+ Partials          6602     6601    -1     
Flag Coverage Δ
Debug 68.80% <0.00%> (+<0.01%) ⬆️
production 63.27% <0.00%> (+<0.01%) ⬆️
test 88.41% <0.00%> (-0.01%) ⬇️

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

Files Coverage Δ
...t/Microsoft.ML.TensorFlow.Tests/TensorflowTests.cs 91.64% <ø> (-0.08%) ⬇️
test/Microsoft.ML.TorchSharp.Tests/NerTests.cs 67.02% <ø> (ø)
...rosoft.ML.TorchSharp.Tests/ObjectDetectionTests.cs 100.00% <ø> (ø)
test/Microsoft.ML.TorchSharp.Tests/QATests.cs 40.50% <ø> (ø)
...oft.ML.TorchSharp.Tests/TextClassificationTests.cs 85.17% <0.00%> (ø)
....TorchSharp/AutoFormerV2/ObjectDetectionTrainer.cs 85.90% <0.00%> (ø)
src/Microsoft.ML.TorchSharp/Roberta/QATrainer.cs 77.96% <0.00%> (ø)
...c/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs 83.61% <0.00%> (ø)

... and 2 files with indirect coverage changes

@ericstj ericstj merged commit f7a3b61 into release/3.0 Jan 17, 2024
25 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 17, 2024
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