Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ MemoryTimeline
Class
MemoryTimeline
util/activation_memory_profiler.py:35–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
@dataclass
35
class
MemoryTimeline:
36
allocations: List[Allocation] = field(default_factory=list)
37
38
39
def
_get_module_hierarchy(node: torch.fx.Node) -> str:
Callers
1
create_tensor_allocation_info
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected