Table of Contents

Property HibernatedBytes

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

HibernatedBytes

Gets the bytes of serialized context state currently on disk, or 0 when the context is not hibernated. This is what hibernation actually cost, read from the file rather than estimated: it is the disk price being paid to keep the session resumable while it holds no device memory. The file is deleted on rehydration, so this returns to 0 as soon as the context is live again.

public long HibernatedBytes { get; }

Property Value

long
Share