gpt4 book ai didi

tensorflow - 在 Keras 中未检测到 GCP GPU

转载 作者:行者123 更新时间:2023-12-04 17:31:16 27 4
gpt4 key购买 nike

我在带有一个 NVIDIA Tesla P4GPU 的 GCP 实例上运行 UNet Keras 模型。但它没有检测到 GPU。相反,它在 CPU 上运行。附:我安装了驱动程序和 tensorflow-gpu 购买它不会工作。如何解决这个问题?

I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (instance-1): /proc/driver/nvidia/version does not exist
Num GPUs Available: 0

最佳答案

您需要先安装驱动程序。 Follow this instruction

关于tensorflow - 在 Keras 中未检测到 GCP GPU,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59472583/

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