HabanaAI / Model-References

Reference models for Intel(R) Gaudi(R) AI Accelerator
141 stars 67 forks source link

where is habana_perf_tool located #39

Closed jingkang99 closed 3 months ago

jingkang99 commented 3 months ago

searched /opt/habanalabs and github.com/HabanaAI/Model-References, not found

find . -name *_perf*

jingkang99 commented 3 months ago

it is in the python bin

cat /opt/habana-pyt/bin/habana_perf_tool

#!/opt/habana-pyt/bin/python3.10
# -*- coding: utf-8 -*-
import re
import sys
from torch_tb_profiler.profiler.hpu_src.__main__ import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())