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:
- Capture the exact command that failed
- Collect useful ROCm and system context
- Redact obvious secrets from logs before bundling
- Classify common failure shapes such as missing HIP runtime, CUDA only imports, device visibility problems, compiler errors, and distributed communication issues
- Generate a stable Repro ID so a report can be referenced consistently
- 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:
- What ROCm diagnostic fields are most useful to collect automatically?
- Which commands should be optional versus default? rocminfo, rocm-smi, hipcc, amd-smi, something else?
- What information should never be collected because it is too noisy or too sensitive?
- Would a standard reproducibility bundle make ROCm issue triage easier?
- 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.