← 返回事件
持续讨论AI发版

trunk/1c3d446cda0cb4231a810427809d2b3382395e0b: [CUDA] Explain custom MemPool allocator failures in OOM errors (#199363)

发生了什么

Human note: make a better error message when custom mempool fails allocation Custom allocators signal allocation failure by returning nullptr. The caching allocator maps this to an out-of-memory error, so failures such as invalid allocator configuration can appear to be device-wide memory exhaustion even when the custom allocator logged the underlying cause. Track whether the custom allocator returned nullptr for th…

摘要按规则整理自下方来源原文

为什么在扩散

来源