profile

Installation
SKILL.md

Profile

1. Enable ETDump when loading

program = runtime.load_program("model.pte", enable_etdump=True, debug_buffer_size=int(1e7))

2. Execute and save

outputs = program.load_method("forward").execute(inputs)
program.write_etdump_result_to_file("etdump.etdp", "debug.bin")

3. Analyze with Inspector

from executorch.devtools import Inspector
inspector = Inspector(etrecord="model.etrecord", etdump_path="etdump.etdp")
inspector.print_data_tabular()
Installs
3
GitHub Stars
4.8K
First Seen
Jul 3, 2026
profile — pytorch/executorch