OOPENCV版本:4.5.4
当我运行代码时,我会在dlib中获得以下错误:
RuntimeError: Error while calling cudaOccupancyMaxPotentialBlockSize(&num_blocks, &num_threads, K) in file /root/.cache/uv/sdists-v7/pypi/dlib/19.24.2/.../cuda_utils.h:186.
code: 222, reason: the provided PTX was compiled with an unsupported toolchain.
相似,在darknet中,我得到了这个错误:
CUDA status Error: file: ./src/blas_kernels.cu: func: add_bias_gpu() line: 121
CUDA Error: the provided PTX was compiled with an unsupported toolchain.
Darknet error location: ./src/blas_kernels.cu, add_bias_gpu(), line #121
我还注意到了这样的警告:
Cuda-version:12050(12040)警告:cuda-version高于驱动程序!
从我的理解中,这可能是由于CUDA工具包与我的NVIDIA驱动程序之间的不匹配。我怀疑我的驾驶员可能无法完全支持CUDA 12.5,这可以解释PTX工具链问题。我如何在GoogleColab
中解决此问题双重检查了我的CUDA和驱动程序版本,并使用NVCC和NVIDIA-SMI.
通过适当的GPU体系结构标志(例如-gencode Arch = Compute_75,code = sm_75)。 verized正确检测到我的GPU。
got解决方案?我也有同样的问题。几天前 抱歉,不能写评论