【问题标题】:Is it possible to build and install the TensorFlow 2.0 gpu on macOS?是否可以在 macOS 上构建和安装 TensorFlow 2.0 gpu?
【发布时间】:2020-04-27 14:10:10
【问题描述】:

我正在尝试在 High Sierra 10.13.6 上使用 TensorFlow,但 TensorFlow 1.8 根本无法构建。所以我想构建一个更新版本的 TensorFlow,但是网上没有发布的关于构建比 TensorFlow 1.8 更新版本的 TensorFlow 的说明。

这是否意味着 1.8 以上的版本不能在 Mac 上使用?

【问题讨论】:

  • 如果你在官方页面的底部向下滚动,{tensorflow.org/install/source} 就会清楚地显示 Mac 的 GPU 只能使用 TensorFlow 1.1。但是,您可以在 CPU 上使用 TF2,并在其他带有 GPU 的计算机上运行您的代码。 Mac 不是机器学习的好平台...

标签: macos tensorflow gpu nvidia


【解决方案1】:

根据TensorFlow 2 Install 指南,它在 macOS 10.12.6 (Sierra) 或更高版本(不支持 GPU)上经过测试和支持。

macOs GPU 的测试构建配置是

根据GPU support,它可用于带有支持 CUDA® 的卡的 Ubuntu 和 Windows。

如果您希望从源代码构建 TensorFlow pip 包并将其安装在 macOS 上。请参考office guide

【讨论】:

    猜你喜欢
    • 2018-05-23
    • 2018-05-02
    • 2018-06-11
    • 1970-01-01
    • 2020-12-20
    • 1970-01-01
    • 2019-06-04
    • 2019-01-03
    • 2018-03-25
    相关资源
    最近更新 更多