cuda_free_memory_bytes

Function cuda_free_memory_bytes 

Source
pub fn cuda_free_memory_bytes() -> Option<usize>
Expand description

2026-09-25: Free device memory without a GpuBackend, for the OOM watchdog and the TUI. None when cuMemGetInfo_v2 fails.

The same rule as free_memory (effective_free_bytes), except that a failed integrated query counts as discrete (polled_free_bytes).