Miscellaneous 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.



1 [nvcc]
2 fastmath = True
3 flags =  -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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章