- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have collected inferences(throughput and latency) using OpenVINO toolkit for some of the models but along with this we wanted to meassure power on the device while running these models and also check which layers are falling back on CPU during execution. For power meassurement we tried installing PCM, but we are facing issues with installations and for profiling we have successfully installed VTune Profiler but we have to pass executable (.exe) to capture performance analysis. Could you please help if there is any specific tool for power meassurement and profiling.
Regards,
Shravanthi J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shravanthi J,
Thank you for reaching out to us.
As of now, OpenVINO™ Toolkit does not yet include features to measure power consumption during inference. You might need to rely on using external equipment to perform the required measurements.
For your information, you can use the code below to figure out which layers are falling back to the CPU device:
from openvino.runtime import Core
core = Core()
model = core.read_model("<model_path>")
device_name = "HETERO:GPU,CPU"
compiled_model = core.compile_model(model, device_name)
supported_ops = core.query_model(model, device_name)
for layer in supported_ops:
print ( " {}: {}" .format(layer, supported_ops[layer]))
On the other hand, for profiling, OpenVINO™ has the capabilities for Performance Analysis of key stages such as read time and load time. Most of the modules and features have been tagged with Intel ITT counters, which allows us to measure the performance of these components. The analysis uses the Intel SEAPI and the Intel Vtune Profiler. You can refer to the Performance analysis using ITT counters page for more information.
Regards,
Megat
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shravanthi J,
Thank you for reaching out to us.
As of now, OpenVINO™ Toolkit does not yet include features to measure power consumption during inference. You might need to rely on using external equipment to perform the required measurements.
For your information, you can use the code below to figure out which layers are falling back to the CPU device:
from openvino.runtime import Core
core = Core()
model = core.read_model("<model_path>")
device_name = "HETERO:GPU,CPU"
compiled_model = core.compile_model(model, device_name)
supported_ops = core.query_model(model, device_name)
for layer in supported_ops:
print ( " {}: {}" .format(layer, supported_ops[layer]))
On the other hand, for profiling, OpenVINO™ has the capabilities for Performance Analysis of key stages such as read time and load time. Most of the modules and features have been tagged with Intel ITT counters, which allows us to measure the performance of these components. The analysis uses the Intel SEAPI and the Intel Vtune Profiler. You can refer to the Performance analysis using ITT counters page for more information.
Regards,
Megat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shravanthi J,
Thank you for your question. This thread will no longer be monitored since this issue has been resolved. If you need additional information from Intel, please submit a new question.
Regards,
Megat
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page