furiosa-ai / device-api

APIs that offers NPU devices' information and allow to control the devices
Apache License 2.0
5 stars 8 forks source link

find_device_files() returns more than requested #97

Closed hyunsik closed 1 year ago

hyunsik commented 1 year ago
>>> config = DeviceConfig(arch=Arch.Warboy, mode=DeviceMode.Single, count=1)
>>> find_device_files(config)
[npu0pe0, npu0pe1]