gpt4 book ai didi

tensorflow - 什么是 HIP,为什么不能在锐龙 3400g 上运行?

转载 作者:行者123 更新时间:2023-12-03 23:45:16 45 4
gpt4 key购买 nike

我有兴趣在我的 Ryzen 3400g 系统上运行深度学习代码。我在网上看到:

I trying to use Vega 11 on my Ryzen 3400G, I'm aware that I cannot runHIP, but I possibly could run opencl on this APU, my first step is toimport tensorflow, but I got an error,


这是来自 https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/669
Radeon vega 11 gpu和tensorflow真的不能用ryzen 3400g吗?
————
是否可以改为使用 opencl(如 https://missinglink.ai/guides/tensorflow/tensorflow-support-opencl/ )?

最佳答案

据官方HIP Github page ,:

HIP is a C++ Runtime API and Kernel Language that allows developers to create portable applications for AMD and NVIDIA GPUs from single source code.


是的,您可以使用 tensorflow库就像一个普通的 python 模块,但你不能使用 tensorflow-gpu它利用了仅 Nvidia GPU 可用的 Cuda 内核。而Radeon Open Compute项目基本上是针对“HPC和超大规模计算”的,你可以看到官方支持的GPU here .他们还提到 ROCm 项目不支持内置 GPU。

The integrated GPUs in AMD APUs are not officially supported targets for ROCm


所以基本上答案是否定的,你将无法运行 tensorflow-gpu在您的 Ryzen 3600G 系统上,但您可以使用正常的 tensorflow没有 GPU 加速的库。有很多线程在讨论这个问题,所以希望很快会有一些事情发生。

关于tensorflow - 什么是 HIP,为什么不能在锐龙 3400g 上运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63212749/

45 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com