This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/enums/execution-provider.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. ExecutionProvider

Execution provider used to run Vision ONNX model inference.

using Nutrient;

Values

NameValueDescription
ExecutionProvider.Auto0Let the SDK decide per capacity: capacities validated end-to-end on the GPU (the table, layout, orientation, handwriting word-extraction, and form capacities) default to GPU; every other GPU-eligible model defaults to CPU. Force the choice explicitly with Gpu or Cpu.
ExecutionProvider.Cpu1Force CPU inference for all Vision models, regardless of GPU availability.
ExecutionProvider.Gpu2Force GPU inference for GPU-eligible Vision models. The native runtime still falls back to CPU per-session if the GPU provider can’t load a given model.