Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Eric StJohn d3c31274ce
Make double assertions compare with tolerance instead of precision (#6923)
Precision might cause small differences to round to a different number.
Instead compare with a tolerance which is not sensitive to rounding.
2023-12-22 12:18:29 -08:00
Michael Sharp d2cf997d90
Changes some of the CPU Math implemenation from our current version to use the new TensorPrimitives package. (#6875)
* using tensor primitives

* added missing files

* some with indexes changed

* Initial swap for TensorPrimitives done

* Rebased and cleaned code

* more minor cleanup

* added system.numerics.tensors version to props

* build fixes

* added net6 again

* updates from PR comments

* fixed sumabsu

* fixed baseline tests

* test fixes

* fixed test failure for kmeans

* changed decimal comparison

* updated more baselines

* Test fixes.

* template update

* Test Fixes.

* fixed performance test csproj

* added baselines for linux arm/64

* fixed linux arm baselines

* fixed arm baselines

* removed extra files

* arm32 baselines updated

* fixed arm baselines
2023-11-14 22:46:15 -07:00
Michael Sharp 7780efb474
Update ML.NET to work with .NET8 (#6641)
* updates for .net8

* Updates for .net 8

* fixed net6 to net6.0

* fixed approval tests
2023-05-05 11:10:30 -06:00
Eric StJohn c8b3ca4720
Attempt to retarget tests to .NET 6.0 (#6367)
* Attempt to retarget tests to .NET 6.0

* Fix places where tests had hardcoded framework versions

* Update build naming

Ideally we should just remove the knowledge of TargetFramework from the
build, but that can happen in a follow up change.

* Update test data for rounding differences on net6.0

* Fix condition on CPUMathNative reference in tests

It should only be included when TargetFramework is not compatible with
netcoreapp3.1.

* Ensure we generate runtimeconfig.dev.json

We need this file to tell the runtime where the NuGet package cache is.
It uses that location when we disable copying of NuGet dependencies.

* Rename test baseline output directory.

Also fix a couple places where ifdefs were hardcoded to the version of .NETCore.
2022-10-18 08:29:37 -07:00
dotnet-maestro[bot] c5f03e2c42
[main] Update dependencies from dotnet/arcade (#6354)
* Update dependencies from https://github.com/dotnet/arcade build 20220923.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild , Microsoft.DotNet.XUnitExtensions
 From Version 7.0.0-beta.22327.2 -> To Version 7.0.0-beta.22473.4

* Update XUnit version

* Workaround CS0121 with Xunit.Assert(float,float,int)

Workaround issue https://github.com/xunit/xunit/issues/2393

* Fix a couple more CS0121 XUnit issues

* Fix more xunit issues

* Workaround anoter ref parameter issue.

* Fix more XUnit warnings

* Update XUnitRunnerVersion to 2.4.2

* Update one more Xunit reference

* Update dependencies from https://github.com/dotnet/arcade build 20221007.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild , Microsoft.DotNet.XUnitExtensions
 From Version 7.0.0-beta.22327.2 -> To Version 7.0.0-beta.22507.2

* Update to RC2 SDK to get FSharp fix

* Extend timeout for code-coverage builds

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2022-10-13 14:06:01 -07:00
Michael Sharp 0577957256
dotnet format/spellchecking (#5988) 2021-11-04 21:48:50 -07:00
Michael Sharp 34eb983687
Arm64 build/test/publish. (#5860)
* Arm helix

* yml cross fixes.

* yml cross fixes.

* yml cross fixes.

* yml cross fixes.

* yml cross testing

* Adding docker again.

* queue changes.

* queue changes.

* queue changes.

* arm pre commands

* arm pre commands

* arm pre commands

* arm pre commands

* arm pre commands

* arm pre commands

* arm pre commands

* Arm helix changes.

* Arm helix changes.

* Removing arm so PR can go.

* FIxes from PR comments. Adding arm32 back.

* Fix using statements.

* Namespace fixes.

* Added missed cmake code.

* Cmake fixes

* M1 Additions

* Changes from PR comments.

* x86x64 fact attribute.

* Fixes from PR comments.

* Fixes from PR comments.

* Fixes for Centos 7 fact and Featurizers fact.

* Code Analysis version and Not fail on M1.

* disable m1 tests in prs.

* disable m1 tests in prs.

* disable m1 tests in prs.

* disable m1 tests in prs.

* Change to full url

* Look in osx-arm64 folder for baseline files.

* Fixed -mthumb flag issue.

* Fixes from PR comments.

* Fixes from PR comments.

* Final test fixed.

* Final Fixes from PR comments.
2021-07-12 15:14:54 -07:00
Michael Sharp ce7f91a2c1
Helix Integration. (#5837)
* Helix working. Squashed local commits

* Updates from PR comments.

* Updates from PR comments.

* Update Directory.Build.targets

Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>

* Fixes from pr comments.

* Switched tabs to spaces.

* Helix changes from pr comments.

* yml changes.

* yml changes.

* yml changes.

* yml changes.

* yml changes.

* Indentation fixes.

* Indentation fixes.

Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
2021-06-22 19:44:27 -07:00
Mustafa Bal 94af8262f2
Updates NetCoreApp 3.0 builds to NetCoreApp 3.1 (#4888)
* Update .vsts-dotnet-ci.yml

* Changed 3.0 references to 3.1

* Update DotnetCLIVersion.txt

* Update Microsoft.ML.sln

* Update BuildToolsVersion.txt

* Update DotnetCLIVersion.txt

* Fixing small typos
2020-03-23 15:07:30 -07:00
frank-dong-ms b34c3b6ea5
make all tests inherit from BaseTestClass (#4858)
* make all tests inherit from BaseTestClass

* revert change on CodeAnalyzer test

* add missing native reference
2020-02-20 14:36:14 -08:00
Sam Harwell 449719ccc3
Enable MSML_PrivateFieldName for the full solution (#4835) 2020-02-13 15:08:03 -08:00
frank-dong-ms 55efe1cbbc
Test hanging issue (#4724)
* set max thread to unlimited, see if deadlock cause test host process hanging

* skip TensorFlowImageClassification test as this test is hanging the test host process

* make auto ml test inherient from base test class to identify which test hangs test host process

* undo automl test change, enable diagnostic log

* add new line at end

* undo unnecessary change
2020-01-30 11:33:04 -08:00
Eric Erhardt 365ccf2927
Enabling building ML.NET for .NET Core 3.0 in the official builds. (#4096)
* Enabling building ML.NET for .NET Core 3.0 in the official builds.

* Update .sln for the new configuration

* Fix native build on windows.

* Fix netfx configuration by working around an sdk bug.

* Fix CpuMath tests on netfx.

Combine the two separate CpuMath UnitTest projects into a single project.

* Install the .NET Core 2.1 runtime so we can execute tests against it.

* Remove crossgen call since the crossgen executable is no longer shipped in the NuGet package.

We don't need many things from the Tools directory, so removing crossgen won't affect build performance very much.
2019-08-13 16:03:15 -05:00