Class LLM.DeviceConfiguration
A class designed to handle underlying model device configuration, including GPU settings and memory management options.
public sealed class LLM.DeviceConfiguration
- Inheritance
-
LLM.DeviceConfiguration
- Inherited Members
Constructors
- DeviceConfiguration()
Initializes a new instance of the DeviceConfiguration class, setting default values for GPU configuration and memory management options.
Properties
- GpuLayerCount
Gets or sets the number of layers to process on the GPU, optimizing performance by leveraging available VRAM (GPU memory).
- MainGpu
Specifies the main GPU device used for scratch and small tensors.