[Bugfix] `OPTDecoderLayer` does not return attentions when `gradient_checkpointing` and `training` is enabled. #23367
Update modeling_opt.py
224b11b3
asartran
approved these changes
on 2023-05-15
asartran
merged
41d47db9
into main 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub