MCPcopy Create free account
hub / github.com/EverMind-AI/MSA / clear_kvcache

Method clear_kvcache

src/utils/cache.py:202–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200 return len(self.cache_kwargs)
201
202 def clear_kvcache(self):
203 self._quantized_key_cache = []
204 self._quantized_value_cache = []
205 self.key_cache = []
206 self.value_cache = []
207
208 def get_kvcache(self, layer_idx):
209 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected