You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ROCm] Profiler misses copy kernel records across sessions in one process #200903
bot-triagedThis is a label only to be used by the auto triage botmodule: rocmAMD GPU support for Pytorchoncall: profilerprofiler-related issues (cpu, gpu, kineto)
On ROCm, torch.profiler.profile(activities=[ProfilerActivity.CUDA]) around a single dst.copy_(src) sometimes reports no record for the copy kernel even though it ran. Once a process starts missing it, later profiler sessions in the same process keep missing it; a fresh process sees it again.
Example: job 114884413906 (MI300, default), test_copy_strided_chunk_alignment_cuda_uint8: one check saw maybe_strided_chunk_copy, then the next three profiled sessions in that process missed it (Booleans mismatch: False is not True), and the first fresh-process rerun repeated the pattern.
Possibly related open PRs: #199973 (RocprofLogger teardown, rocprofiler-sdk return codes) and #200296 (kernel dims from dispatch records; runtime fill/copy kernels reported as memset/memcpy). If #200296 reports these copies as memcpy, the tests' kernel-name check would need updating too.
Versions
ROCm CI, MI300 default config, main as of 2026-10-12.
Agent details
An agent helped collect the disabled-test list and draft this description; I reviewed it. The per-process trace above is from @jeffdaily's review on #200694.
bot-triagedThis is a label only to be used by the auto triage botmodule: rocmAMD GPU support for Pytorchoncall: profilerprofiler-related issues (cpu, gpu, kineto)
Activity
naromero77amd commentedon Oct 15, 2026
@mwootton Please take a look when you get a chance.
[ROCm][kineto] Wait for in-flight kernel dispatch records when stoppi…
[ROCm][kineto] Wait for in-flight kernel dispatch records when stoppi…
[ROCm][kineto] Wait for in-flight kernel dispatch records when stoppi…
naromero77amd commentedon Dec 1, 2026
This was fixed by @mwootton
[ROCm][kineto] Wait for in-flight kernel dispatch records when stoppi…