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

Enable APICompat for non-stable projects #7340

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Dec 16, 2024

Should help folks avoid problems like #7331

@ericstj
Copy link
Member Author

ericstj commented Dec 16, 2024

Need to mirror these to dotnet-public. Doing so, then will rerun.

@ericstj
Copy link
Member Author

ericstj commented Dec 16, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

GetSortIndices was accidentally regressed in the last release.��This compat suppression is permitting the fix for that regression.
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.CausalLMModelInput.#ctor(TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,System.Int32,TorchSharp.torch.Tensor,System.Boolean,System.Boolean,System.Boolean)</Target>
Copy link
Member Author

@ericstj ericstj Dec 17, 2024

Choose a reason for hiding this comment

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

@LittleLittleCloud @stephentoub are these intentional breaking changes over last release?

Let me know if you'd prefer we not do API compat for this lib if you intend to make lots of breaking changes like this.

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.88%. Comparing base (23052ec) to head (e804582).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7340   +/-   ##
=======================================
  Coverage   68.88%   68.88%           
=======================================
  Files        1473     1473           
  Lines      270771   270771           
  Branches    27884    27884           
=======================================
+ Hits       186518   186534   +16     
+ Misses      76979    76966   -13     
+ Partials     7274     7271    -3     
Flag Coverage Δ
Debug 68.88% <ø> (+<0.01%) ⬆️
production 63.20% <ø> (+<0.01%) ⬆️
test 89.38% <ø> (ø)

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

see 6 files with indirect coverage changes

<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
Copy link
Member Author

Choose a reason for hiding this comment

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

@LittleLittleCloud more GenAI suppressions to look at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant