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

Add API for reading performance counter #65

Closed libc-furiosa closed 1 year ago

libc-furiosa commented 1 year ago

Starting with Furiosa SDK 0.9.0, we can observe device utilization by referring to the performance counter. I've added an API to make it easier to view and collect metrics. There are two ways to view the metrics: batch view by device, and single view by specifying the device name.

hyunsik commented 1 year ago

I've just started reviewing this PR.