getGpuLayers

public final int getGpuLayers()

Model layers to offload to GPU; 0 is pure CPU. The default value is 99, which offloads all available layers. Metal is built in on macOS; the CUDA backend is runtime-provisioned on Linux x64.

Return

The value of the GpuLayers property.