Edit

Share via


Install extra ML.NET dependencies

In most cases, on all operating systems, installing ML.NET is as simple as referencing the appropriate NuGet package.

dotnet add package Microsoft.ML

Or, in .NET 10+:

dotnet package add Microsoft.ML

In some cases though, there are additional installation requirements, particularly when native components are required. This article describes the installation requirements for those cases. The sections are broken down by the specific Microsoft.ML.* NuGet package that has the additional dependency.

Microsoft.ML.TimeSeries, Microsoft.ML.AutoML

Both of these packages have a dependency on Microsoft.ML.MKL.Redist, which has a dependency on libomp.

No extra installation steps required. The library is installed when the NuGet package is added to the project.