Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise meaningful error when IntelPowerGadget doesn't have sufficient privileges #22

Open
Neyri opened this issue Jan 26, 2022 · 0 comments

Comments

@Neyri
Copy link
Member

Neyri commented Jan 26, 2022

On MacOs, when the user didn't provide Intel Power Gadget with sufficient privileges and try to run carbonai, they get the following error KeyError: 'Cumulative process CPU Energy (mWh)'
We should check if the user has provided those privileges when initializing the PowerGadget and raise a meaningful error if it's not the case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant