"tests/vscode:/vscode.git/clone" did not exist on "129d73294ef2383369af135a4b9f10940a9de3c1"
Unverified Commit 8b7cd402 authored by Nate Cibik's avatar Nate Cibik Committed by GitHub
Browse files

Removed torch.cuda.empty_cache from train loop. (#31530)

parent 1e79eade
......@@ -3307,7 +3307,6 @@ class Trainer:
loss = self.compute_loss(model, inputs)
del inputs
torch.cuda.empty_cache()
kwargs = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment