Table of Contents

Property VisionEncoderMemorySize

Namespace
LMKit.Model
Assembly
LM-Kit.NET.dll

VisionEncoderMemorySize

Gets the device bytes this model's vision encoder holds in compute buffers beside its weights. The buffers keep the size the largest image encoded so far required, so the figure grows with the largest image served and returns to zero when released (see ReleaseIdleDeviceMemory()). Zero for a model without vision, on a CPU encoder, and before the first image. Not included in Size.

public long VisionEncoderMemorySize { get; }

Property Value

long
Share