Magpie troubleshooting#
2026-07-20
3 min read time
This topic covers errors and debugging techniques. Each section presents symptoms and their solutions in a table so you can quickly find the issue you’re seeing. For benchmark configuration problems not listed here, enable debug logging with the global --verbose (-v) flag and check the output before filing a bug report.
Analyze and compare mode#
Common issues#
The following errors are frequently reported in analyze and compare mode.
Error |
Solution |
|---|---|
|
|
|
The testcase exited non-zero. Check the quoted stderr for the root cause. Common causes: wrong working directory, missing environment variables, or a path that does not exist on the host. Set |
|
The compile step returned non-zero. The stderr is included in the error. For HIP kernels, verify |
|
|
|
|
|
Add |
|
PyTorch is required for |
Debug mode#
Enable verbose logging to get more detailed output from analyze and compare runs.
python -m Magpie analyze --config kernel_config.yaml --verbose
Benchmarking mode#
Common issues#
The following errors are frequently reported in benchmark mode.
Error |
Solution |
|---|---|
|
Reduce |
|
Add your user to the docker group or run with sudo. |
|
Applies to |
Timeout during model loading |
Large models (for example, DeepSeek-R1) might need longer timeouts. Set |
|
Not enough idle GPUs on the host. Free a GPU, lower |
Debug mode#
Enable verbose logging to get more detailed output from the benchmark run.
python -m Magpie benchmark --benchmark-config config.yaml --verbose
Ray on Magpie#
Error |
Solution |
|---|---|
|
Firewall, wrong address, Ray version mismatch; try |
|
Workers not started with GPUs; head-only cluster; GPU resources zero in |
Analyze fails on worker: missing sources |
|
Worker import errors for Magpie |
Set |
Benchmark TP / Ray backend wrong |
Inspect |
Empty GPU visibility in child |
Should be fixed by |