-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
bug描述 Describe the Bug
在H20GPU上尝试使用3.0.0的paddle和3.1.0的paddle均提示找不到GPU
2025-07-29T05:18:57.352696923Z --------Start the training container--------
2025-07-29T05:18:58.388803448Z /usr/local/lib/python3.10/dist-packages/paddle/utils/cpp_extension/extension_utils.py:715: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
2025-07-29T05:18:58.388835124Z warnings.warn(warning_message)
2025-07-29T05:19:28.704186598Z /usr/local/lib/python3.10/dist-packages/paddle/base/framework.py:823: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
2025-07-29T05:19:28.704202203Z warnings.warn(
2025-07-29T05:19:29.187638872Z [2025/07/29 13:19:29] ppocr WARNING: Skipping import of the encryption module.
2025-07-29T05:19:29.292168533Z E0729 13:19:29.292066 7 place.cc:323] Cannot use GPU because there is no GPU detected on your machine.
2025-07-29T05:19:29.29229983Z Traceback (most recent call last):
2025-07-29T05:19:29.292307181Z File "/data_local/ppocrv5_rec/tools/train.py", line 269, in
2025-07-29T05:19:29.292375051Z config, device, logger, vdl_writer = program.preprocess(is_train=True)
2025-07-29T05:19:29.292381124Z File "/data_local/ppocrv5_rec/tools/program.py", line 904, in preprocess
2025-07-29T05:19:29.292502046Z device = paddle.set_device(device)
2025-07-29T05:19:29.292508225Z File "/usr/local/lib/python3.10/dist-packages/paddle/device/init.py", line 323, in set_device
2025-07-29T05:19:29.292558421Z place = _convert_to_place(device)
2025-07-29T05:19:29.292564201Z File "/usr/local/lib/python3.10/dist-packages/paddle/device/init.py", line 260, in _convert_to_place
2025-07-29T05:19:29.292575687Z place = core.CUDAPlace(device_id)
2025-07-29T05:19:29.292581401Z ValueError: (InvalidArgument) use wrong place, Please check. (at /paddle/paddle/fluid/pybind/place.cc:326)
2025-07-29T05:19:29.292586499Z
其他补充信息 Additional Supplementary Information
No response