"vscode:/vscode.git/clone" did not exist on "061a73d16f186e147b12cc75c3feab0bcd5bf80d"
Unverified Commit bdfcbe60 authored by Sanchit Gandhi's avatar Sanchit Gandhi Committed by GitHub
Browse files

[Whisper] Fix gradient checkpointing (#19538)

parent 4edb3e49
......@@ -20,6 +20,7 @@ import random
from typing import Optional, Tuple
import torch
import torch.utils.checkpoint
from torch import nn
from torch.nn import CrossEntropyLoss
......
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