mlco2 / codecarbon

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

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

Open mjhas opened 2 weeks ago

mjhas commented 2 weeks 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 1 week 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 ?