Skip to content

OSError: Missing: valgrind, callgrind_control, callgrind_annotate #2175

Open
@ghost

Description

The error occurs on below step:
8. Collecting instruction counts with Callgrind:

Traceback (most recent call last):
File "benchmark.py", line 805, in
stats_v0 = t0.collect_callgrind()
File "/usr/local/lib/python3.8/dist-packages/torch/utils/benchmark/utils/timer.py", line 486, in collect_callgrind
result = valgrind_timer_interface.wrapper_singleton().collect_callgrind(
File "/usr/local/lib/python3.8/dist-packages/torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py", line 526, in collect_callgrind
self._validate()
File "/usr/local/lib/python3.8/dist-packages/torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py", line 512, in _validate
raise OSError("Missing: " + ", ".join(missing_cmds))
OSError: Missing: valgrind, callgrind_control, callgrind_annotate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions