Resource exhausted OOM - GPU BFC allocator
GPU Memory Management in TensorFlow TensorFlow utilizes a Best-Fit with Coalescing (BFC) allocator to manage GPU memory. By default, the runtime preallocates a large fraction of the visible GPU memory to reduce fragmentation and improve performance during tensor operations. This preallocation strategy can lead to resource exhaustion errors when the BFC alloc