API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.is_available tensorplay.cuda.is_available() → bool[source] Return a bool indicating if CUDA is currently available. Note This function will NOT poison fork if the environment variable TENSORPLAY_NVML_BASED_CUDA_CHECK=1 is set. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.ipc_collectForce collects GPU memory after it has been released by CUDA IPC.tensorplay.cuda.is_bf16_supportedReturn a bool indicating if the current CUDA device supports dtype bfloat16.