Skip to content

Support native ARM64 in Microsoft.ML.LightGbm #7685

Description

@matouskozak

Summary

Track native ARM64 support for Microsoft.ML.LightGbm on Linux, macOS, and Windows.

The managed package works on .NET, but its upstream LightGBM NuGet dependency currently contains only:

  • linux-x64
  • osx-x64
  • win-x64

It does not contain native assets for linux-arm64, osx-arm64, or win-arm64. Consequently, native ARM64 applications cannot load lib_lightgbm without manually supplying a compatible binary or using architecture emulation where available.

Updated upstream context

This was previously reported for macOS in #7495 and closed as a platform limitation. However, the limitation appears to be in NuGet packaging rather than LightGBM itself:

Proposed outcome

  1. Coordinate with LightGBM upstream to publish linux-arm64, osx-arm64, and win-arm64 native assets in its NuGet package.
  2. Update ML.NET to the corresponding LightGBM package version.
  3. Add native ARM64 training and inference coverage for each supported desktop OS.
  4. Clearly document platform-specific limitations until each native asset is available.

Acceptance criteria

Native ARM64 applications on Linux, macOS, and Windows can install Microsoft.ML.LightGbm, train and run a LightGBM model without manually copying native libraries or using architecture emulation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlightgbmBugs related lightgbm

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions