Table of Contents

Method ClearLookupCaches

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

ClearLookupCaches()

Clears this model's rebuildable lookup caches (tokenization and embedding caches) without disposing loaded weights or inference contexts. Unlike ClearCache(), this is safe to call while the model is actively in use: cleared entries are simply recomputed on demand.

public void ClearLookupCaches()
Share