-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Split out non concurrent test collections. #6937
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
Changes from 1 commit
2a7232b
28f0a23
c1a5179
64a5a7e
a8dfb40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyName>Microsoft.ML.TensorFlow.Tests</AssemblyName> | ||
<StrongNameKeyId>Test</StrongNameKeyId> | ||
<NoWarn>$(NoWarn)</NoWarn> | ||
|
||
</PropertyGroup> | ||
|
||
<!-- Import the test signing certificate --> | ||
<Import Project="../Cert.props" /> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj" /> | ||
michaelgsharp marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<ProjectReference Include="..\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj" /> | ||
<ProjectReference Include="..\Microsoft.ML.Tests\Microsoft.ML.Tests.csproj" /> | ||
<ProjectReference Include="..\..\src\Microsoft.ML.LightGbm\Microsoft.ML.LightGbm.csproj" /> | ||
<ProjectReference Include="..\..\src\Microsoft.ML.Vision\Microsoft.ML.Vision.csproj" /> | ||
<ProjectReference Include="..\..\src\Microsoft.ML.ImageAnalytics\Microsoft.ML.ImageAnalytics.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.ML.TensorFlow.TestModels" Version="$(MicrosoftMLTensorFlowTestModelsVersion)" /> | ||
<PackageReference Include="SciSharp.TensorFlow.Redist" Version="$(TensorFlowVersion)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<NativeAssemblyReference Include="MklProxyNative" /> | ||
<NativeAssemblyReference Include="MklImports" /> | ||
<NativeAssemblyReference Condition="'$(OS)' == 'Windows_NT'" Include="libiomp5md" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyName>Microsoft.ML.TorchSharp.Tests</AssemblyName> | ||
<StrongNameKeyId>Test</StrongNameKeyId> | ||
<NoWarn>$(NoWarn)</NoWarn> | ||
michaelgsharp marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
<!-- Remove once we have resolved the TorchSharp issue. --> | ||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> | ||
michaelgsharp marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</PropertyGroup> | ||
|
||
<!-- Import the test signing certificate --> | ||
<Import Project="../Cert.props" /> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Microsoft.ML.TorchSharp\Microsoft.ML.TorchSharp.csproj" Condition="'$(TargetArchitecture)' == 'x64'" /> | ||
<ProjectReference Include="..\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj" /> | ||
<ProjectReference Include="..\..\src\Microsoft.Data.Analysis\Microsoft.Data.Analysis.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetArchitecture)' != 'x64'"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider trying out @ViktorHofer's solution for excluding the entire project from the SLN traversal. dotnet/xdt@main...DoCoolFiltering There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought I would do that in another PR so that we can start getting the benefits now of the faster tests/no timeouts. And I have excluded this assembly from helix testing as well for non x64, so it won't affect those tests at all either. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not fully understand @ericstj comment. This looks excluding some source file when running on x64. How excluding the entire project work here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, this was just a consider. I'm completely fine excluding things as you did, since it looks like we already do that for a lot of other projects. If you feel strongly about not building this then file an issue on that. |
||
<Compile Remove="TextClassificationTests.cs" /> | ||
<Compile Remove="ObjectDetectionTests.cs" /> | ||
<Compile Remove="NerTests.cs" /> | ||
<Compile Remove="QATests.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetArchitecture)' == 'x64'"> | ||
<PackageReference Include="libtorch-cpu-win-x64" Version="$(LibTorchVersion)" Condition="$([MSBuild]::IsOSPlatform('Windows')) AND '$(TargetArchitecture)' == 'x64'" /> | ||
<!-- <PackageReference Include="TorchSharp-cuda-windows" Version="0.99.5" Condition="$([MSBuild]::IsOSPlatform('Windows'))" /> --> | ||
<PackageReference Include="libtorch-cpu-linux-x64" Version="$(LibTorchVersion)" Condition="$([MSBuild]::IsOSPlatform('Linux')) AND '$(TargetArchitecture)' == 'x64'" /> | ||
<PackageReference Include="libtorch-cpu-osx-x64" Version="$(LibTorchVersion)" Condition="$([MSBuild]::IsOSPlatform('OSX')) AND '$(TargetArchitecture)' == 'x64'" /> | ||
|
||
<PackageReference Include="MathNet.Numerics.Signed" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<NativeAssemblyReference Include="MklProxyNative" /> | ||
<NativeAssemblyReference Include="MklImports" /> | ||
<NativeAssemblyReference Condition="'$(OS)' == 'Windows_NT'" Include="libiomp5md" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Uh oh!
There was an error while loading. Please reload this page.