macos - 如果 TensorFlow 安装在 VM 上,它会在 Mac 上使用 GPU 吗?

标签 macos cuda virtual-machine gpu tensorflow

来自 TensorFlow 的 "Getting Started"页:

# Only CPU-version is available at the moment.
$ pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl

我对使用 GPU 或 CUDA 库不是很熟悉,但是如果我在 Linux VM 中安装了 TensorFlow(比如 precise32 可通过 Vagrant 获得),那么在该 VM 中运行时 TensorFlow 会使用 GPU 吗?

最佳答案

可能不是。 VirtualBox,例如,does not support PCI Passthrough on a MacOS host, only a Linux host (即使那样,我也会……呃,不要抱有希望)。 MacOS 最终与其 GPU 紧密集成,以至于我非常怀疑此时任何 VM 都可以做到这一点。

关于macos - 如果 TensorFlow 安装在 VM 上,它会在 Mac 上使用 GPU 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33656689/

相关文章:

python - 无法使用 cx_Freeze 在 Mac OS X Yosemite (10.10) 上构建独立应用程序

swift - 如何: Blank cocoa application lacking interface builder entry point

c++ - cuda 文件没有链接到 C 文件中定义的函数

cuda - CUDA,cuPrintf导致 “unspecified launch failure”吗?

google-cloud-platform - 从 GKE 中的 K8S pod 连接到 Google Cloud Platform 上的 VM 内部 IP

azure - 使用 HTTPCLIENT 从代码下载的 SSRS PDF 报告已损坏

android - 蓝牙不开启VM virtual Box

swift - 在 SwiftUI 中隐藏按钮以在 MacOS 上使用其键盘快捷键

linux - 如何打印导致 fswatch 执行某些操作的文件路径

将结构数组从主机复制到设备cuda