private OnnxEvaluatorOptions overrideOptions(OnnxEvaluatorOptions vespaOpts) {
        // Set GPU device required if GPU requested and GPUs are available on system
        if (gpusAvailable > 0 && vespaOpts.requestingGpu() && !vespaOpts.gpuDeviceRequired()) {
            // Create a new instance with updated gpuDeviceRequired value using the builder
            return new OnnxEvaluatorOptions.Builder(vespaOpts)
                    .setGpuDevice(vespaOpts.gpuDeviceNumber(), true)
                    .build();
        }
        return vespaOpts;
    }
Provides the classic embedded ONNX runtime based on the 'onnxruntime' Java library.

@author bjorncs
model-integration/src/main/java/ai/vespa/modelintegration/evaluator/EmbeddedOnnxRuntime.java