ROCm ReproLab feedback request for AMD GPU debugging reports

Hi AMD Developer Community,

I am working on an early ROCm debugging helper called ROCm ReproLab.

The problem it tries to solve is simple. Many AMD GPU issues are hard to debug because the report starts as a short message like this fails on ROCm or this works on CUDA but not on AMD. That is understandable, but it usually leaves maintainers asking for the same basic evidence again and again.

ROCm ReproLab is meant to turn a failing command into a small reproducibility bundle. The bundle records the command, working directory context, selected environment details, tool versions, captured output, failure classification, and a replay script. The goal is not to replace a good bug report. The goal is to make a good bug report easier to create.

Current focus areas:

  1. Capture the exact command that failed
  2. Collect useful ROCm and system context
  3. Redact obvious secrets from logs before bundling
  4. Classify common failure shapes such as missing HIP runtime, CUDA only imports, device visibility problems, compiler errors, and distributed communication issues
  5. Generate a stable Repro ID so a report can be referenced consistently
  6. Create a simple replay script for maintainers or other users

The main use case is ROCm issue reporting for machine learning, HIP builds, runtime errors, and CUDA to AMD migration failures.

Example output concept:

failing command
  python train.py --device cuda

captured evidence
  stdout and stderr
  selected environment variables
  Python and package context
  ROCm tool output when available
  failure class
  reproducibility metadata

bundle result
  repro.json
  logs
  reproduce.sh
  report.md

A realistic limitation is that this is still early. The code is locally unit tested, but I want feedback from real ROCm users before treating the format as stable. I am especially interested in what AMD developers, maintainers, and power users think every ROCm bug report should include by default.

Questions for the community:

  1. What ROCm diagnostic fields are most useful to collect automatically?
  2. Which commands should be optional versus default? rocminfo, rocm-smi, hipcc, amd-smi, something else?
  3. What information should never be collected because it is too noisy or too sensitive?
  4. Would a standard reproducibility bundle make ROCm issue triage easier?
  5. Are there existing AMD reporting conventions this should align with?

My intention is to keep this practical, transparent, and useful for the ROCm ecosystem. If the community has a better expected report shape, I would rather adapt the tool to that shape early.

Thanks. I would appreciate technical feedback from anyone debugging ROCm workloads, HIP builds, PyTorch ROCm issues, or CUDA migration problems.

Hello, on your question 5, yes there is one and it’s worth matching. The ROCm/ROCm repo has an issue template that AMD’s own support team put together, and the fields are Problem Description, Operating System, CPU, GPU, ROCm Version, ROCm Component, Steps to Reproduce, plus the output of rocminfo --support. Note that’s the --support flag rather than a full dump, which answers your question 2 too. If report.md uses those exact field names people can paste it straight into a new issue, and that’s probably the single thing that decides whether your tool gets used. Thanks for sharing.

Thank you — that is a very useful pointer.

I’ll align report.md with the ROCm/ROCm issue template field names directly:

  • Problem Description
  • Operating System
  • CPU
  • GPU
  • ROCm Version
  • ROCm Component
  • Steps to Reproduce
  • rocminfo --support

Good catch on rocminfo --support specifically. That is a much better default than a full rocminfo dump because it matches the support workflow while reducing noise and accidental over-collection.

I agree that paste-ability into a ROCm/ROCm issue is probably the adoption test. I’ll update the report generator so the default Markdown structure can be copied into a new issue with minimal editing, and keep any extra ReproLab metadata in a separate appendix rather than mixing it into AMD’s expected fields.

1 Like