首页 PaddleHub 帖子详情
Compiled with WITH_GPU
收藏
快速回复
PaddleHub 问答预训练模型 3296 4
Compiled with WITH_GPU
收藏
快速回复
PaddleHub 问答预训练模型 3296 4

>>> import paddlehub
W0306 11:39:42.403100 10138 init.cc:136] Compiled with WITH_GPU, but no GPU found in runtime.
/home/mmmm/anaconda3/envs/paddlehub/lib/python3.6/site-packages/paddle/fluid/framework.py:298: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
"You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default."

 


[2021-03-06 11:35:50,904] [ WARNING] - The _initialize method in HubModule will soon be deprecated, you can use the __init__() to handle the initialization of the object
W0306 11:35:50.905022 8537 analysis_predictor.cc:1059] Deprecated. Please use CreatePredictor instead.
terminate called after throwing an instance of 'paddle::platform::EnforceNotMet'
what(): (External) Cuda error(999), unknown error.
[Advise: Please search for the error code(999) on website( https://docs.nvidia.com/cuda/archive/9.0/cuda-runtime-api/group__CUDART__TYPES.html#group__CUDART__TYPES_1g3f51e3575c2178246db0a94a430e0038 ) to get Nvidia's official solution about CUDA Error.] (at /paddle/paddle/fluid/platform/gpu_info.cc:78)

 

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0 std::unique_ptr > paddle::CreatePaddlePredictor(paddle::AnalysisConfig const&)
1 paddle::AnalysisPredictor::~AnalysisPredictor()
2 paddle::AnalysisPredictor::~AnalysisPredictor()
3 paddle::memory::Release(paddle::platform::Place const&)
4 paddle::framework::SignalHandle(char const*, int)
5 paddle::platform::GetCurrentTraceBackString[abi:cxx11]()

----------------------
Error Message Summary:
----------------------
FatalError: `Process abort signal` is detected by the operating system.
[TimeInfo: *** Aborted at 1615001750 (unix time) try "date -d @1615001750" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0x3e800002159) received by PID 8537 (TID 0x7fef7398d740) from PID 8537 ***]

已放弃

 

 

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01 Driver Version: 455.45.01 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 2060 Off | 00000000:01:00.0 On | N/A |
| N/A 49C P8 6W / N/A | 340MiB / 5934MiB | 25% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 5722 G /usr/lib/xorg/Xorg 175MiB |
| 0 N/A N/A 6059 G kwin_x11 75MiB |
| 0 N/A N/A 8284 G ...cent\WeChat\WeChatApp.exe 4MiB |
| 0 N/A N/A 8783 G ...gAAAAAAAAA --shared-files 80MiB |
+-----------------------------------------------------------------------------+

0
收藏
回复
全部评论(4)
时间顺序
A
AIStudio90383
#2 回复于2021-06

请问下,你这个问题解决了么??

我也遇到了。头大。。。飞桨的报错,太难调试了。。

0
回复
阿达西123
#3 回复于2021-06

建议

先 pip 重装一下 https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html
查看系统环境变量是否设置正确。
使用conda 的cuda环境重装,conda install paddlepaddle-gpu==2.1.0 cudatoolkit=10.1 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

更多内容可以参考该issue:https://github.com/PaddlePaddle/Paddle/issues/33209

1
回复
a
anxiangyinyun
#4 回复于2021-07

安装也贼慢,本来还想好好学学,想放弃了

0
回复
福州真龙
#5 回复于2021-08

同问

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户