问题复盘昨晚才把程序挂上服务器今早检查的是时候发现报错RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW使用 nvidia-smi 也报错Failed to initialize NVML: Driver/library version mismatch NVML library version: 580.159解决方案sudo reboot重启解万难
RuntimeError: Unexpected error from cudaGetDeviceCount(). Error 804:
问题复盘昨晚才把程序挂上服务器今早检查的是时候发现报错RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW使用 nvidia-smi 也报错Failed to initialize NVML: Driver/library version mismatch NVML library version: 580.159解决方案sudo reboot重启解万难