Hengwen Tong

Results 2 issues of Hengwen Tong

# What does this PR do? Fixes #28109 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if...

### Feature request [Here](https://github.com/huggingface/transformers/blob/main/src/transformers/training_args.py#L1490-L1519) IMO these checks in transformers should be removed. ``` if ( self.framework == "pt" and is_torch_available() and (self.device.type != "cuda") and (self.device.type != "npu") and (self.device.type...

Feature request