小编Tak*_*ads的帖子

更改 Tensorflow PTXAS 位置

我目前正在尝试使用 Tensorflow 2.4.0 和运行 CUDA 11.0 和 CUDNN 8 的 RTX 3070 自定义训练神经网络。

我遇到了这个奇怪的问题,我可以训练模型,但实际上无法获得任何输出,因为当我运行时:

output = model(x) 我收到以下消息,并且我的 jupyter 内核自动重新启动。

2021-01-08 20:52:53.437668: W tensorflow/stream_executor/gpu/asm_compiler.cc:191] Falling back to the CUDA driver for PTX compilation; ptxas does not support CC 8.6
2021-01-08 20:52:53.437690: W tensorflow/stream_executor/gpu/asm_compiler.cc:194] Used ptxas at /usr/local/cuda-11.0/bin/ptxas
2021-01-08 20:52:53.438427: W tensorflow/stream_executor/gpu/redzone_allocator.cc:314] Unimplemented: /usr/local/cuda-11.0/bin/ptxas ptxas too old. Falling back to the driver to compile.
Relying on driver to perform ptx compilation. 
Modify $PATH to customize ptxas location.
Run Code Online (Sandbox Code Playgroud)

作为测试,我安装了 CUDA 11.1 和 …

nvidia cuda drivers tensorflow

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

cuda ×1

drivers ×1

nvidia ×1

tensorflow ×1