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

Method layers

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

Source from the content-addressed store, hash-verified

314
315 @property
316 def layers(self):
317 return self._layers
318
319 def memory_bytes(self) -> int:
320 """Return the bytes held by the layers' cache tensors."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected