Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eng/BranchInfo.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@
<MajorVersion>0</MajorVersion>
<MinorVersion>23</MinorVersion>
<PatchVersion>0</PatchVersion>
<!-- Set baseline version for non-stable packages to check for API Compat -->
<PackageValidationBaselineVersion>0.$([MSBuild]::Subtract($(MinorVersion), 1)).0</PackageValidationBaselineVersion>
</PropertyGroup>
</Project>
18 changes: 18 additions & 0 deletions src/Microsoft.Data.Analysis/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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>CP0005</DiagnosticId>
<Target>M:Microsoft.Data.Analysis.DataFrameColumn.GetSortIndices(System.Boolean,System.Boolean)</Target>
<Left>lib/net8.0/Microsoft.Data.Analysis.dll</Left>
<Right>lib/net8.0/Microsoft.Data.Analysis.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0005</DiagnosticId>
<Target>M:Microsoft.Data.Analysis.DataFrameColumn.GetSortIndices(System.Boolean,System.Boolean)</Target>
<Left>lib/netstandard2.0/Microsoft.Data.Analysis.dll</Left>
<Right>lib/netstandard2.0/Microsoft.Data.Analysis.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
</Suppressions>
99 changes: 99 additions & 0 deletions src/Microsoft.ML.GenAI.Core/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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>
<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
Member

Choose a reason for hiding this comment

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

@ericstj I'd prefer to skip API compat change for all ML.NET GenAI libraries? How to do it with ease :)

<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.CausalLMModelOutput.#ctor(TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor[],TorchSharp.torch.Tensor[],Microsoft.ML.GenAI.Core.IKVCache)</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.CausalLMPipeline`2.get_Model</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.CausalLMPipeline`2.get_Tokenizer</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.CausalLMPipelineChatClient`2.GetService``1(System.Object)</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.ICausalLMPipeline`2.get_Model</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.ICausalLMPipeline`2.get_Tokenizer</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.IMEAIChatTemplateBuilder.BuildPrompt(System.Collections.Generic.IList{Microsoft.Extensions.AI.ChatMessage},Microsoft.Extensions.AI.ChatOptions)</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0006</DiagnosticId>
<Target>M:Microsoft.ML.GenAI.Core.IMEAIChatTemplateBuilder.BuildPrompt(System.Collections.Generic.IList{Microsoft.Extensions.AI.ChatMessage},Microsoft.Extensions.AI.ChatOptions,System.Boolean)</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0006</DiagnosticId>
<Target>P:Microsoft.ML.GenAI.Core.ICausalLMPipeline.Model</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0006</DiagnosticId>
<Target>P:Microsoft.ML.GenAI.Core.ICausalLMPipeline.Tokenizer</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0006</DiagnosticId>
<Target>P:Microsoft.ML.GenAI.Core.ICausalLMPipeline`2.TypedModel</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0006</DiagnosticId>
<Target>P:Microsoft.ML.GenAI.Core.ICausalLMPipeline`2.TypedTokenizer</Target>
<Left>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Left>
<Right>lib/net8.0/Microsoft.ML.GenAI.Core.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net6.0</Target>
</Suppression>
</Suppressions>
Loading