Breakend / experiment-impact-tracker

MIT License
266 stars 31 forks source link

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

Open gaceladri opened 3 years ago

gaceladri commented 3 years ago

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 commented 3 years ago

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

gaceladri commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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

Omerkvc commented 2 years ago

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