paddle 2.0 运行失败
收藏
(Xiayufeng01) vcis2@psdz:~$ nvidia-smi
Thu Dec 24 10:50:31 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.04 Driver Version: 455.23.04 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 3090 Off | 00000000:1A:00.0 Off | N/A |
| 58% 57C P2 184W / 350W | 10263MiB / 24268MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
| 1 GeForce RTX 3090 Off | 00000000:68:00.0 Off | N/A |
| 61% 59C P2 171W / 350W | 5445MiB / 24267MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 27678 C python 10261MiB |
| 1 N/A N/A 27678 C python 5443MiB |
+-----------------------------------------------------------------------------+
(Xiayufeng01) vcis2@psdz:~$ python
Python 3.8.6 | packaged by conda-forge | (default, Dec 22 2020, 10:30:11)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
>>> print(paddle._version_)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'paddle' has no attribute '_version_'
>>> print(paddle.__version__)
2.0.0-rc1
>>> paddle.utils.run_check()
Running verify PaddlePaddle program ...
W1224 10:51:20.485335 24655 device_context.cc:320] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 11.1, Runtime API Version: 10.1
W1224 10:51:20.489661 24655 device_context.cc:330] device: 0, cuDNN Version: 7.6.
W1224 11:05:57.813853 24655 operator.cc:205] uniform_random raises an exception thrust::system::system_error, parallel_for failed: cudaErrorNoKernelImageForDevice: no kernel image is available for execution on the device
Traceback (most recent call last):
File "", line 1, in
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/paddle/utils/install_check.py", line 164, in run_check
_run_static_single(use_cuda)
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/paddle/utils/install_check.py", line 96, in _run_static_single
exe.run(startup_prog)
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1108, in run
six.reraise(*sys.exc_info())
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/six.py", line 703, in reraise
raise value
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1096, in run
return self._run_impl(
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1228, in _run_impl
return self._run_program(
File "/home/psdz/.conda/envs/Xiayufeng01/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1325, in _run_program
self._default_executor.run(program.desc, scope, 0, True, True,
RuntimeError: parallel_for failed: cudaErrorNoKernelImageForDevice: no kernel image is available for execution on the device
>>>
0
收藏
请登录后评论
3090太新了,驱动还没适配= =
python -m pip install paddlepaddle-gpu==2.0.1.post110 -f https://paddlepaddle.org.cn/whl/mkl/stable.html
升级paddlepaddle-gpu版本能解决此问题。
哇这显卡
这简直是BUG,用最新的显卡只能用最新的cuda11,然后paddle1.8只支持到cuda10,然后paddle2.0运行老代码又有很多bug,属实醉了