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

DeviceConfig should be able to detect environment variable #59

Closed sukyoungjeong-furiosa closed 1 year ago

sukyoungjeong-furiosa commented 1 year ago

It'll be nice if we can support a new interface like: DeviceConfig::from_env().or_default("..")