Problems with V5592 "ONNX API ( GPU CUDA)"

 
Problems with V5592 "ONNX API (CUDA)"
After the last update, my EA now reports this error (PRINT below). I tested it on 2 Notebooks (one with Nvidia MX250 and the other without Nvidia).
On the notebook without Nvidia, everything is OK, no error messages and normal execution.
On the other Notebook (with Nvidia) we have the messages below, so I installed the latest stable version V5480 on this platform and the errors disappeared. (note that the Onnx API version is older).

I think that perhaps creating a FLAG in the ONNX startup to disable GPU CUDA might be a good idea for compatibility with slightly older machines.


ONNX: update CUDA failed with 1 status 'cuda_execution_provider_info.cc:142 onnxruntime::CUDAExecutionProviderInfo::FromProviderOptions [ONNXRuntimeError] : 1 : FAIL : provider_options_utils.h:189 onnxruntime::ProviderOptionsParser::Parse Failed to parse provider option "device_id": CUDA failure 801: (null) ; GPU=-1 ; hostname=LAPTOP-RI73C53U ; file=E:\workspace\external\onnx\onnx-avx2\onnxruntime\onnxruntime\core\providers\cuda\cuda_execution_provider_info.cc ; line=142 ; expr=cudaGetDeviceCount(&num_devi...

After downgrade to V5480
Image February 12, 2026 - 12:50PM.png
 

See build 5572 announce :

CUDA and GPU Management
The ONNX_CUDA_DISABLE flag has been removed. Use the new ONNX_USE_CPU_ONLY flag instead. When enabled, only the CPU will be used for model execution.

See also the documentation : https://www.mql5.com/en/docs/onnx/onnx_structures#enum_onnx_flags
New MetaTrader 5 Build 5572: ONNX and Chart Rendering Improvements
New MetaTrader 5 Build 5572: ONNX and Chart Rendering Improvements
  • 2026.01.29
  • www.mql5.com
The metatrader 5 platform update will be released on friday, january 30, 2026. Fixed display of account financial metrics for cases where the deposit currency has precision greater than two decimal places
 
Roberto Tavares:
Problems with V5592 "ONNX API (CUDA)"
After the last update, my EA now reports this error (PRINT below). I tested it on 2 Notebooks (one with Nvidia MX250 and the other without Nvidia).
On the notebook without Nvidia, everything is OK, no error messages and normal execution.
On the other Notebook (with Nvidia) we have the messages below, so I installed the latest stable version V5480 on this platform and the errors disappeared. (note that the Onnx API version is older).
...

After downgrade to V5480
So with Build 5480 is it working with CUDA/GPU ?
 
Alain Verleyen #:
So with Build 5480 is it working with CUDA/GPU ?
It doesn't actually work, but at least I can get EA to work without problems.
I'll try the flag you mentioned and disable CUDA  on the EA side and work on this laptop.

Thank you.