Fix PyTorch RAG tests GPU OOM (#16881)
* add torch.cuda.empty_cache in some PT RAG tests
* torch.cuda.empty_cache in tearDownModule()
* tearDown()
* add gc.collect()
Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com>
Showing
Please register or sign in to comment