API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.memory.caching_allocator_enable tensorplay.cuda.memory.caching_allocator_enable(value: bool = True) → None[source] Enable or disable the CUDA memory allocator. On by default. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.memory.caching_allocator_disabledContext manager that temporarily disables the CUDA caching allocator.tensorplay.cuda.memory.use_mem_poolRoute allocations to a MemPool (not supported by this build).