TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.cuda.memory_usage

tensorplay.cuda.memory_usage(device: Any = None) → int[source]

Return the percent of time over the past sample period during which global (device) memory was being read or written as given by nvidia-smi.

Warning: Each sample period may be between 1 second and 1/6 second, depending on the product being queried.

On this page

Ask DeepWiki