Troubleshooting
Common MIGraphX installation, compilation, model, Docker, and runtime failures.
Debug from the lowest layer upward.
GPU Not Visible
Symptoms:
gpu target unavailable
ROCm device not found
container cannot see AMD GPUCheck:
rocminfo
rocm-smi
ls -l /dev/kfd /dev/dri
groupsIn Docker, include:
--device=/dev/kfd
--device=/dev/dri
--group-add video
--ipc=host
--security-opt seccomp=unconfinedONNX Compile Fails
Run:
migraphx-driver compile model.onnx --gpuThen check:
unsupported operator
bad dynamic shape
opset mismatch
invalid ONNX graph
NMS output shape behaviorTry:
python -m onnx.checker model.onnxOutput Shape Is Wrong
Print the program parameters and outputs from a Python smoke test. Compare them with your postprocess contract.
For object detection, confirm:
batch dimension
number of detections
field count per detection
coordinate format
class index type
score positionPerformance Is Worse Than Expected
Separate the measurements:
MIGraphX driver perf
native backend inference only
preprocess + inference
full decode -> output pipelineIf migraphx-driver perf is good but the app is slow, focus on application memory movement, batching, preprocessing, or output stages.
GitHub Pages Shows A Blank Site
Check:
Actions build succeeded
Pages source is GitHub Actions
base path matches repository name
out/ artifact uploaded
browser console asset URLsFor custom domains, set NEXT_PUBLIC_BASE_PATH to an empty value during build.