System Info
transformers==3.35.0 and transformers==3.34.0
Who can help?
No response
Information
Tasks
Reproduction
In transformers==3.35.0:

In transformers==3.34.0

Expected behavior
It seems that you can only use Mixed precision training with cpu_amp or apex, while torch.cuda.amp was removed.