Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force a gc between sphinx-gallery items to reclaim GPU memory. (apach…
…e#8722) GPU memory is only released once the PackedFunc for evaling the model is gced by Python. In CI we're noticing intermittent 'CUDA: Out of memory' failures while processing the tutorials, and tracing showed there was no gc happening between items. Not confident this will solve the problem but worth a try.
- Loading branch information