why run_translation.py automatically is running on cpu?


-`transformers` version: 4.5.0
- Platform: linux
- Python version: 3.8
- PyTorch version (GPU?): 1.7.1
- Tensorflow version (GPU?):
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?:yes

@patrickvonplaten, @patil-suraj
Models: mbart-large-50



Could you please post the command that you used?<|||||>I run the command for telugu to telugu


 python examples/pytorch/translation/run_translation.py     --model_name_or_path  facebook/mbart-large-50     --do_train     --do_eval     --do_predict     --source_lang te_IN     --target_lang te_IN     --test_file /home/aniruddha/mbart/     --train_file "/content/te_train_mbart.json"     --validation_file "/content/te_dev_mbart.json"     --source_prefix "translate Telugu to Telugu: "     --output_dir "/content/transformers/examples/pytorch/summarization/chkpt"     --overwrite_output_dir yes     --per_device_train_batch_size=1     --per_device_eval_batch_size=2     --predict_with_generate yes<|||||>@patil-suraj <|||||>Hi! Is your CUDA environment correctly set up? What is the output of the following in your environment?
```
python -c "import torch;print(torch.cuda.is_available())"   
```<|||||>True<|||||>Then it should run on GPU. Why do you say it doesn't?<|||||>I have same issues. How do you solve it ?<|||||>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/master/CONTRIBUTING.md) are likely to be ignored.