Metraipolis › archive › dc_6b764910eace
Hardware-Attributed Operator Profiling for PyTorch — arXiv:2609.11938
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.11938
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T03:08:39.878Z
- SHA-256 of the archived text
ab2fce27c84f1db59eb701f70ca1d5a9060eb8310405732fb55564e50445b82a- Stable URL of this page
https://metraipolis.com/documento/dc_6b764910eace
How to cite
Hardware-Attributed Operator Profiling for PyTorch — arXiv:2609.11938 — arXiv (en), https://arxiv.org/abs/2609.11938 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6b764910eace (Metraipolis archive dc_6b764910eace, sha256 ab2fce27c84f1db59eb701f70ca1d5a9060eb8310405732fb55564e50445b82a)
BibTeX
@misc{dc6b764910eace,
title = {Hardware-Attributed Operator Profiling for PyTorch — arXiv:2609.11938},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.11938},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6b764910eace; sha256 ab2fce27c84f1db59eb701f70ca1d5a9060eb8310405732fb55564e50445b82a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.11938. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Framework profilers expose operator timing without hardware counters; GPU profilers expose hardware counters without operator attribution. Bridging this gap manually is error-prone and does not scale. We present Operator Profiler, a hardware attribution pipeline that automatically links hardware metrics to PyTorch operators via three complementary attribution paths: PyTorch profiler CUPTI correlation, NVTX temporal enclosure with per-stream interval trees, and Inductor fusion- map enrichment from debug artifacts. NVIDIA Nsight Compute (ncu) hardware counters are matched to NVIDIA Nsight Systems (nsys) kernel records via invocation-order matching, avoiding timestamp joins across incompatible clock domains. A curated 20-counter metric set with duration-weighted aggregation covers all hardware bottleneck axes, layer deduplication reduces ncu replay time by a factor of N/K for models with N layers across K unique structural classes, and GPU clock locking controls the kernel-duration aggregates used for operator-level comparison. On an NVIDIA RTX PRO 6000 Blackwell, Operator Profiler attributes 95-100% of kernel runtime for compiled workloads (GPT-2, SDPA Attention); black-box library backends such as cuDNN RNN are correctly surfaced as greater than 85% unattributed rather than silently dropped. Applied to profile-guided FX graph optimization, attributed profiles yield 1.76x-2.24x profiled-kernel-time speedups on the two compiled optimization case studies; a third LSTM diagnostic case identifies cuDNN re-dispatch as a structural fix rather than an FX graph rewrite. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-14 in cs.DC). Categorie arXiv: Hardware Architecture (cs.AR) ; Distributed, Parallel, and Cluster Computing (cs.DC); Performance (cs.PF). Pagina del lavoro: https://arxiv.org/abs/2609.11938 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T03:03:05.097Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).