Add support for Ascend NPU
### Feature request

It would be nice if the Transformers suite could be used directly on the Ascend NPU without modifying the source code.

### Motivation

In China, Ascend NPU is the second choice after Nvidia GPU and has been adpoted by many companies, such as Alibaba, ByteDance, Meituan, etc. Huawei officially released an adapter called [`torch_npu`](https://github.com/Ascend/pytorch/blob/master/README.en.md), to adapt PyTorch on Ascend NPU. `torch_npu` is user friendly to developers, so that we can still enjoy the same PyTorch experience that we accustomed to today.

The native Transformers suite requires minor modifications to run on the Ascend NPU, so it's reasonable to support the Ascend NPU to be a member of Transformers community.

### Your contribution

I can assist in adding support if you want, see this PR (#22644 )
@sgugger <|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.