You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Microsoft.ML.LightGbm not supported on Mac M1 – 'lib_lightgbm' (no such file) #7495
System Information (please complete the following information):
OS & Version: macOS 15.6
ML.NET Version: ML.NET v4.0.2
.NET Version: .NET 9.0
Describe the bug
When attempting to use Microsoft.ML.LightGbm on an Apple Silicon Mac (M1), the package fails to load due to a missing native library dependency. The error message is:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'lib_lightgbm' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable
see error: unhandled exception. System.DllNotFoundException: Unable to load shared library 'lib_lightgbm' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
Expected behavior
LightGBM should run on Mac M1
Screenshots, Code, Sample Projects
packages version
Activity
games commentedon Aug 14, 2025
https://github.com/dotnet/machinelearning/blob/main/docs/project-docs/platform-limitations.md
Closed due to platform limitations.