mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.18k stars 177 forks source link

added energytracking capabilites for NVIDIA Tegra Devices (Orin) #571

Open mjhas opened 5 months ago

mjhas commented 5 months ago

This commit adds capabilities to track energy for NVIDIA Tegra embedded devices. It uses tegrastats (a utility commonly found on those system to do the job). It was only tested on an NVIDIA Orin Dev Kit.

SaboniAmine commented 5 months ago

Thanks for your contribution! We know that some tests are currently broken in local setup, due to some permission issues, but could please add some on this topic ? Not sure how we will be able to run them in CI though, it seems that this hardware is a bit unusual ?