You are using ptxas 8.x, but TF requires ptxas 9.x (and strongly prefers >= 9.2.88). Compilation of

2023-05-16

TF2.0 ptxas ignores PATH · Issue #33375 · tensorflow/tensorflow (github.com)

The workaround for this particular problem on unix-based machines is to link your cuda bin to your working directory. Go to the directory, where you launch your python code and create the link:
ln -s /full/path/to/your/cuda/installation/bin .
This sovles the problem. The point is that TF first tries to load the ptxas from ./bin directory, then from /usr/local/cuda/bin. Unfortunately, it completely ignores the environment variables (which I consider to be a bug).

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

You are using ptxas 8.x, but TF requires ptxas 9.x (and strongly prefers >= 9.2.88). Compilation of 的相关文章

随机推荐