MCPcopy Create free account
hub / github.com/lingeringlight/START / allocate_inference_cache

Method allocate_inference_cache

models_mamba.py:140–141  ·  view source on GitHub ↗
(self, batch_size, max_seqlen, dtype=None, **kwargs)

Source from the content-addressed store, hash-verified

138 return hidden_states, residual
139
140 def allocate_inference_cache(self, batch_size, max_seqlen, dtype=None, **kwargs):
141 return self.mixer.allocate_inference_cache(batch_size, max_seqlen, dtype=dtype, **kwargs)
142
143
144def create_block(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected