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

Method get_layer_length

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

Source from the content-addressed store, hash-verified

197 self.cache_kwargs[layer_idx] = kwargs
198
199 def get_layer_length(self):
200 return len(self.cache_kwargs)
201
202 def clear_kvcache(self):
203 self._quantized_key_cache = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected