bug描述 Describe the Bug
get_all_device_type
and get_available_device
are supposed to return the list of all available devices but for cpu
, they returning empty list opposed to documentation which mentioned ["cpu"].
import paddle
print(paddle.device.get_available_device())
print(paddle.device.get_all_device_type())
[]
[]
其他补充信息 Additional Supplementary Information
No response
2条答案
按热度按时间slsn1g291#
get_all_device_type and get_available_device are currently only valid for custom device plugins
ix0qys7i2#
Hi @ronny1996,
so there's no way we can get all available local devices which are not custom?