执行paddle.fluid.install_check.run_check()时,出现错误
Created by: qgqinfen
环境配置: python3.5 64位 pip 20.1 64位 cuda 9.0 cudnn 7.6 处理器为X86_64
安装paddlepaddle时 使用下面的命令 python3 -m pip install paddlepaddle-gpu==1.7.2.post97 -i https://mirror.baidu.com/pypi/simple
Running Verify Paddle Program ... W0503 11:40:39.469370 7452 device_context.cc:237] Please NOTE: device: 0, CUDA Capability: 75, Driver API Version: 10.1, Runtime API Version: 9.0 W0503 11:40:39.471192 7452 device_context.cc:245] device: 0, cuDNN Version: 7.6. /home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/executor.py:789: UserWarning: The following exception is not an EOF exception. "The following exception is not an EOF exception.") Traceback (most recent call last): File "/home/kxy/PycharmProjects/paddle/test.py", line 3, in paddle.fluid.install_check.run_check() File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/install_check.py", line 124, in run_check test_simple_exe() File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/install_check.py", line 122, in test_simple_exe fetch_list=[out0.name, param_grads[1].name]) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/executor.py", line 790, in run six.reraise(*sys.exc_info()) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/six.py", line 703, in reraise raise value File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/executor.py", line 785, in run use_program_cache=use_program_cache) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/executor.py", line 838, in _run_impl use_program_cache=use_program_cache) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/executor.py", line 912, in _run_program fetch_var_name) 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 void paddle::operators::math::Blaspaddle::platform::CUDADeviceContext::GEMM(CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, float, float const*, float const*, float, float*) const 3 void paddle::operators::math::Blaspaddle::platform::CUDADeviceContext::MatMul(paddle::framework::Tensor const&, paddle::operators::math::MatDescriptor const&, paddle::framework::Tensor const&, paddle::operators::math::MatDescriptor const&, float, paddle::framework::Tensor*, float) const 4 paddle::operators::MatMulKernel<paddle::platform::CUDADeviceContext, float>::Compute(paddle::framework::ExecutionContext const&) const 5 std::_Function_handler<void (paddle::framework::ExecutionContext const&), paddle::framework::OpKernelRegistrarFunctor<paddle::platform::CUDAPlace, false, 0ul, paddle::operators::MatMulKernel<paddle::platform::CUDADeviceContext, float>, paddle::operators::MatMulKernel<paddle::platform::CUDADeviceContext, double>, paddle::operators::MatMulKernel<paddle::platform::CUDADeviceContext, paddle::platform::float16> >::operator()(char const*, char const*, int) const::{lambda(paddle::framework::ExecutionContext const&)#1 (closed)}>::_M_invoke(std::_Any_data const&, paddle::framework::ExecutionContext const&) 6 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&, paddle::framework::RuntimeContext*) const 7 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&) const 8 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, paddle::platform::Place const&) 9 paddle::framework::Executor::RunPreparedContext(paddle::framework::ExecutorPrepareContext*, paddle::framework::Scope*, bool, bool, bool) 10 paddle::framework::Executor::Run(paddle::framework::ProgramDesc const&, paddle::framework::Scope*, int, bool, bool, std::vector<std::string, std::allocatorstd::string > const&, bool, bool)
Python Call Stacks (More useful to users):
File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/framework.py", line 2525, in append_op attrs=kwargs.get("attrs", None)) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/dygraph/layer_object_helper.py", line 52, in append_op stop_gradient=stop_gradient) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/dygraph/nn.py", line 944, in forward type="matmul", inputs=inputs, outputs={"Out": tmp}, attrs=attrs) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/dygraph/layers.py", line 304, in call outputs = self.forward(*inputs, **kwargs) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/install_check.py", line 41, in forward x = self._linear1(inputs) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/dygraph/layers.py", line 304, in call outputs = self.forward(*inputs, **kwargs) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/install_check.py", line 113, in test_simple_exe out0 = simple_layer0(inp0) File "/home/kxy/anaconda3/envs/paddle/lib/python3.5/site-packages/paddle/fluid/install_check.py", line 124, in run_check test_simple_exe() File "/home/kxy/PycharmProjects/paddle/test.py", line 3, in paddle.fluid.install_check.run_check()
Error Message Summary:
Error: An error occurred here. There is no accurate error hint for this error yet. We are continuously in the process of increasing hint for this kind of error check. It would be helpful if you could inform us of how this conversion went by opening a github issue. And we will resolve it with high priority.
- New issue link: https://github.com/PaddlePaddle/Paddle/issues/new
- Recommended issue content: all error stack information [Hint: CUBLAS_STATUS_EXECUTION_FAILED] at (/paddle/paddle/fluid/operators/math/blas_impl.cu.h:34) [operator < matmul > error] 检查paddlepaddle配置时,出现错误,救救孩子吧。崩溃了。