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

"Unexpected top level domain for RAPL package. Not yet supported." #32

Open
gaceladri opened this issue Oct 3, 2020 · 5 comments
Open

Comments

@gaceladri
Copy link

Hello,

I just installed the package, then put in on my trainer in transformers and got the next error:

2020-10-03 22:04:26,602 - experiment_impact_tracker.compute_tracker.ImpactTracker - ERROR - Encountered exception within power monitor thread!
2020-10-03 22:04:26,604 - experiment_impact_tracker.compute_tracker.ImpactTracker - ERROR -   File "/home/proto/anaconda3/envs/torch/lib/python3.6/site-packages/experiment_impact_tracker/compute_tracker.py", line 105, in launch_power_monitor
    _sample_and_log_power(log_dir, initial_info, logger=logger)
  File "/home/proto/anaconda3/envs/torch/lib/python3.6/site-packages/experiment_impact_tracker/compute_tracker.py", line 69, in _sample_and_log_power
    results = header["routing"]["function"](process_ids, logger=logger, region=initial_info['region']['id'], log_dir=log_dir)
  File "/home/proto/anaconda3/envs/torch/lib/python3.6/site-packages/experiment_impact_tracker/cpu/intel.py", line 134, in get_rapl_power
    "Unexpected top level domain for RAPL package. Not yet supported.")

https://github.com/huggingface/transformers/blob/9bdce3a4f91c6d53873582b0210e61c92bba8fd3/src/transformers/trainer.py#L729
I have added the code in between those lines.

        tracker = ImpactTracker(self.args.logging_dir)
        tracker.launch_impact_monitor()

Here is my pip freeze

What could be?
Thanks!

@Breakend
Copy link
Owner

Hi, what CPU/OS are you using? It seems like you might not be using a supported intel chip unfortunately.

@gaceladri
Copy link
Author

CPU: Intel® Core™ i7-8750H CPU @ 2.20GHz × 12
OS: Ubuntu 18.04 LTS

It's not supported? In that case where could I extract the sustainlp metric?
Thanks!

@Omerkvc
Copy link

Omerkvc commented May 26, 2022

CPU: Intel® Core™ i7-8750H CPU @ 2.20GHz × 12
İşletim Sistemi: Ubuntu 18.04 LTS

Desteklenmiyor mu? Bu durumda, sürdürülebilirlik metriğini nereden çıkarabilirim? Teşekkürler!

hello, did you figure out this problem, I also have this problem. if you fixed how did you do ?

@gaceladri
Copy link
Author

No, sorry. I was not able to fix it, so I ended up not using the library at all :(

@Omerkvc
Copy link

Omerkvc commented Jun 5, 2022

No, sorry. I was not able to fix it, so I ended up not using the library at all :(
Actually, I have a this error how can I figure out this error do you have any idea "UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 14279: character maps to "
Thanks

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

3 participants