在aistudio中升级paddlepaddle-gpu-1.6.3.post107 训练报错
Created by: casolxia
cuda版本9.2 训练情感分析模型
Traceback (most recent call last): File "run_ernie_classifier.py", line 389, in main(args) File "run_ernie_classifier.py", line 154, in main place = fluid.CUDAPlace(int(os.getenv('FLAGS_selected_gpus', '0'))) paddle.fluid.core_avx.EnforceNotMet:
C++ Call Stacks (More useful to developers):
0 std::string paddle::platform::GetTraceBackString<char const*>(char const*&&, char const*, int) 1 paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) 2 paddle::platform::GetCUDADeviceCount()
Error Message Summary:
Error: cudaGetDeviceCount failed in paddle::platform::GetCUDADeviceCountImpl, error code : 35, Please see detail in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html#group__CUDART__TYPES_1g3f51e3575c2178246db0a94a430e0038 at (/paddle/paddle/fluid/platform/gpu_info.cc:67)