Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ layers
Method
layers
deepspeed/utils/static_cache.py:239–240 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
237
238
@property
239
def
layers(self):
240
return
self._layers
241
242
def
memory_bytes(self) -> int:
243
""
"Return the bytes held by the layers' cache tensors."
""
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected