VisionAccelerationSettings
Settings for VisionAcceleration. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
using Nutrient;The SDK creates this class through factory methods or other SDK objects.
Properties
GpuExcludedModules
public string[] GpuExcludedModules { get; set; }Internal denylist of Vision capacity names that must run on the CPU even when Provider would otherwise put them on the GPU. Holds the models that don’t (yet) work on the WebGPU execution provider; remove a name once its GPU path is fixed and validated. Hidden from the public settings schema. The values are capacity Names (e.g. "InferencePicture").
Type: string[]
Provider
public ExecutionProvider Provider { get; set; }Execution provider for Vision ONNX model inference. Determines whether GPU-eligible models are offloaded to the GPU. Changing this at runtime (e.g. via the daemon) takes effect the next time a model session is (re)built.
Type: ExecutionProvider
Resource management
public void Dispose()VisionAccelerationSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.