我是靠谱客的博主 虚心缘分,最近开发中收集的这篇文章主要介绍Miscellaneous ErrorsMiscellaneous Errors,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述



Miscellaneous Errors

  • “nvcc fatal   : Value ‘sm_52′ is not defined for option ‘gpu-architecture'”

    • This is caused by the Toolkit not being able to handle the architecture code automatically picked for your card. In most cases updating the toolkit to the latest version should fix this problem. In my case the card was newer than the latest stable release so I manually specified an earlier architecture as a theano flag in the .theanorc file.



view source
print ?
1[nvcc]
2fastmath = True
3flags =  -arch=sm_30
  • “WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu0 is not available  (error: Unable to get the number of gpus available: unknown error)”

    • In that case try specifying SUDO first before executing the python script




原因及解决办法

http://stackoverflow.com/questions/38125310/nvcc-fatal-value-sm-61-is-not-defined-for-option-gpu-architecture-error-wi

最后

以上就是虚心缘分为你收集整理的Miscellaneous ErrorsMiscellaneous Errors的全部内容,希望文章能够帮你解决Miscellaneous ErrorsMiscellaneous Errors所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(42)

评论列表共有 0 条评论

立即
投稿
返回
顶部