【发布时间】:2023-01-20 21:48:02
【问题描述】:
问题:Cudnn版本不兼容tensorflow和Cuda, 内核死机并且无法在 Vertex AI 中开始训练。
当前版本:
import tensorflow as tf
from tensorflow.python.platform import build_info as build
print(f"tensorflow version: {tf.__version__}")
print(f"Cuda Version: {build.build_info['cuda_version']}")
print(f"Cudnn version: {build.build_info['cudnn_version']}")
tensorflow version: 2.10.0
Cuda Version: 11.2
Cudnn version: 8
根据 here 提供的信息(如所附屏幕截图所示),Cudnn版本必须是 8.1。
here有人问过类似的问题,跟升级有关Cudnn在谷歌协作中。但是,它并没有解决我的问题。所有其他在线资源仅对 Anaconda 环境有帮助。
我怎样才能升级Cudnn在我的情况下?
谢谢你。
【问题讨论】:
-
Google 的article 是否可以帮助您解决问题?让我知道这是否有帮助。
标签: tensorflow cuda google-cloud-vertex-ai cudnn