MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / get_max_cache_shape

Method get_max_cache_shape

deepspeed/utils/static_cache.py:246–247  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 return 0
245
246 def get_max_cache_shape(self) -> int:
247 return 0
248
249 def get_mask_sizes(self, query_length: int) -> tuple[int, int]:
250 return query_length, 0

Callers 1

get_max_cache_shapeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected