PaddleOCR安裝過程中的ERROR

PaddleOCR安裝過程中的ERROR

  • OSError: (External) CUDA error(222), the provided PTX was compiled with an unsupported toolchain..
    [Hint: 'cudaErrorUnsupportedPtxVersion'. This indicates that the provided PTX was compiled with an unsupported toolchain. The most common reason for this, is the PTXwas generated by a compiler newer than what is supported by the CUDA driver and PTX JIT compiler.] (at ../paddle/fluid/platform/device/gpu/gpu_info.cc:124)
  • 譯文(外部)CUDA錯誤(222),提供的PTX是使用不支持的工具鏈編譯的。。
    [提示:'cudaErrorUnsupportedPtxVersion'。這表示提供的PTX是用不受支持的工具鏈編譯的。最常見的原因是,PTX是由比CUDA驅動程序和PTX JIT編譯器支持的編譯器更新的編譯器生成的。](位於../padl/fluid/platform/device/gpu/gpu_info.cc:124)

原因:這是由於安裝的paddlepaddle 版本與nvcc -version的版本不一致導致的。只需要找到與nvcc --version對應的版本就可以。

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