Closed vchuravy closed 1 year ago
I was able to reproduce this issue.
This is probably due to one of the following changes in the dataclasses standard library in version 3.11:
Lines 58-60 will likely need a __hash__
method
https://github.com/AMDResearch/omniperf/blob/f8fe039aa57422bb5036d647699f1f97298bed5d/src/omniperf_analyze/utils/schema.py#L56-L66
Instead I'm changing default values for sys_info
, soc_spec
, and raw_pmc
attributes to None in Workload class
Tested this on Ubuntu 20.04, Python 3.11.3 and it fixed the issue. @vchuravy this change will be included in the next release
After
make install/local
:On f8fe039aa57422bb5036d647699f1f97298bed5d