Skip to content

Error when attempting to retrieve TDP for AMD CPU #10

Description

@deligianp

When attempting to retrieve the TDP of an AMD CPU the tdp-finder.py fails with an error. The problem seems to occur because the expected columns do not exist in the amd-cpus.csv.

Raised error

Traceback (most recent call last):
  File "/home/user/treecript/TREECRIPT/bin/tdp-finder.py", line 24, in <module>
    main()
  File "/home/user/treecript/TREECRIPT/lib/python3.12/site-packages/treecript/tdp_finder.py", line 106, in main
    tdp_column, tdp_in_w = tdp_finder(
                           ^^^^^^^^^^^
  File "/home/user/treecript/TREECRIPT/lib/python3.12/site-packages/treecript/tdp_finder.py", line 47, in tdp_finder
    raise Exception()
Exception

Command to reproduce

tdp-finder.py <METRICS_DIRECTORY>/ <DATASET_DIRECTORY>/amd-cpus.csv

Tested environment details

  • OS: Ubuntu 24.04.2 LTS
  • CPU (as exported by lscpu command): AMD Ryzen AI 9 HX 370 w/ Radeon 890M
  • Treecript version: Commit 8600263
  • Dataset repository version: CPU Spec dataset by Josua Carl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions