Sub-pillar · troubleshooting
Every ONNX error in MQL5, with a fix.
Bookmark this page. When your EA refuses to load the model and the Experts log shows you four lines of stack trace, the right diagnosis is usually here. Each article is one error message, one diagnosis path, one fix.
01 · load failure
CUBLAS failure 8: CUBLAS_STATUS_ARCH_MISMATCH
The GPU is below Turing (compute 7.5). Force CPU with ONNX_USE_CPU_ONLY or upgrade the hardware.
02 · load failure
ERROR 5800: Failed to load .onnx
Six causes ranked by frequency: wrong path, invalid file, opset, GPU init, Tester sandbox, runtime not downloaded.
read →03 · performance
"N Memcpy nodes added to graph for CUDAExecutionProvider"
Parts of your graph run on CPU; data ferrying across PCIe erases the GPU win. How to count and reduce them.
read →More error guides published as readers hit them — email yours and it becomes a page.