torch.cuda.graph_annotations.is_available
- torch.cuda.graph_annotations.is_available() → bool
Return whether CUDA graph annotation recording is supported.
Requires a CUDA device, the
cuda-bindingspackage, and a driver that supportscudaGraphNodeGetToolsId(CUDA >= 13.1 or an equivalent cuda-compat package). When this returns, is a silent no-op and no annotations are recorded.