【问题标题】:Configure DeepLearning4J to work with MKL (instead of OpenBlas)配置 DeepLearning4J 以使用 MKL(而不是 OpenBlas)
【发布时间】:2020-01-29 17:29:07
【问题描述】:

我将 word2vec 与 DL4J (DeepLearning4J) 一起使用。 运行应用程序时,我看到应用程序总是加载 [OPENBLAS]。我可以看到这个日志条目:

INFO [main] DefaultOpExecutioner - Blas vendor: [OPENBLAS]

如何将其配置为加载 [MKL]? 我已在 Windows 上安装并运行 MKL。

【问题讨论】:

标签: deeplearning4j


【解决方案1】:

正如 Samuel 所说,需要定义一个系统变量才能加载 MKL。 具体来说,这对我有用:

-Dorg.bytedeco.openblas.load=mklml

-Dorg.bytedeco.openblas.load=mkl_rt

更多信息在:https://github.com/bytedeco/javacpp-presets/tree/master/openblas#documentation

【讨论】:

    猜你喜欢
    • 2018-02-22
    • 1970-01-01
    • 2013-12-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-05-05
    相关资源
    最近更新 更多