TensorPlay

Latest development documentation · Updated 2026-09-08. A documentation snapshot for package 1.2.0.dev20261027 is not available.

On this page

tensorplay.cuda.memory_stats_as_nested_dict

tensorplay.cuda.memory_stats_as_nested_dict(device: Any = None) → dict[str, Any][source]

Return the result of memory_stats() as a nested dictionary.

The native allocator reports the fragmentation-aware matrix directly (segments, free-block histogram, pending cross-stream blocks, graph pools, capture state); it is exposed under "allocator" alongside the

Search documentation

Search all 1,743 documentation pages.

Keyboard shortcuts

Global

  • /Focus search
  • ?This dialog
  • ,Open settings
  • ⌘jAI assistant

Search

  • ↑↓Navigate results
  • ↵Open result
  • escClose

Package

  • mMain information
  • dDocs
  • .Code
  • -Changelog
  • tTimeline
  • sStats
  • vVersions