I'm extracting data from a pdf one page at a time and it crashes after like 4 pages
I can just save the data and [insert something like clear GPU memory here], but I don't know that step is
currently running torch.cuda.empty_cache() after each extraction, but I do not have a lot of luck with that.
(working in jupyter on a google compute VM running debian 12)