macos上的ml.net Olstrainer,带有ARM M1处理器误差,带有libomp

发布于 2025-02-05 05:09:40 字数 799 浏览 2 评论 0 原文

我试图在带有M1处理器的Mac上使用ML.NET的Olstrainer,但我在下面遇到错误,并正在寻找一些帮助。

未经治疗的例外。 system.notsupportedException:MKL库(libmklimports)或其依赖项之一。 在Microsoft.ml.trainers.olstrainer.traincore(Ichannel CH,Factory CursorFactory,INT32 FeatureCount)

Microsoft Documentation将我指向要安装的链接/版本,但没有区别。

https:https:// hearn。 microsoft.com/en-us/dotnet/machine-learning/how-to-guides/install-extra-dependencies

wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb && brew install ./libomp.rb && brew link libomp --force

I am trying to use a ml.net's OLSTrainer on a Mac with an M1 processor but I get the error below and was looking for some assistance.

Unhandled exception. System.NotSupportedException: The MKL library (libMklImports) or one of its dependencies is missing.
at Microsoft.ML.Trainers.OlsTrainer.TrainCore(IChannel ch, Factory cursorFactory, Int32 featureCount)

Microsoft documentation points me to this link/version to install, but makes no difference.

https://learn.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/install-extra-dependencies

wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb && brew install ./libomp.rb && brew link libomp --force

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

只为守护你 2025-02-12 05:09:40

这是因为当前的时间表支持取决于英特尔SDK,并且不直接支持苹果硅。

That's because the current Timeseries support is dependent on Intel SDKs, and does not support Apple Silicon directly.

https://github.com/dotnet/machinelearning/blob/main/docs/project-docs/platform-limitations.md

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文