Linux/nvidia:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
 
(未显示同一用户的3个中间版本)
第203行: 第203行:
Build cuda_11.5.r11.5/compiler.30672275_0
Build cuda_11.5.r11.5/compiler.30672275_0
</syntaxhighlight>|$|/home/kangkk}}
</syntaxhighlight>|$|/home/kangkk}}
=== other ===
==== pycuda ====
{{shc|<syntaxhighlight lang="bash">
pip3 install pycuda</syntaxhighlight>|$|/home/kangkk}}


== cuDNN ==
== cuDNN ==
第227行: 第231行:
#endif /* CUDNN_VERSION_H */
#endif /* CUDNN_VERSION_H */
</syntaxhighlight>|$|/home/kangkk}}
</syntaxhighlight>|$|/home/kangkk}}
== 推理引擎 ==
{| class="wikitable"
|-
| [[/TensorRT|TensorRT]]
|}
== 模型引擎 ==
[[/ONNX|ONNX]]
== python ==
== python ==
使用 python 检查安装的 cuda、cudnn 版本
使用 python 检查安装的 cuda、cudnn 版本
第235行: 第247行:
Type "help", "copyright", "credits" or "license" for more information.
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
>>> import tensorflow
>>> pront(tensorflow.__version__)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'pront' is not defined
>>> print(tensorflow.__version__)
>>> print(tensorflow.__version__)
2.7.0
2.7.0