text: 
  
  TITLE
  [s2s] 1 GPU test for run_distributed_eval
  
  COMMENTS
  5
  
  REACTIONS
  +1: 0
  -1: 0
  laugh: 0
  hooray: 0
  heart: 0
  rocket: 0
  eyes: 0
  
  BODY
  Add test coverage for run_distributed_eval.py that can run on 1 GPU.
  The command:
  ```bash
  python -m torch.distributed.launch --nproc_per_node=1 run_distributed_eval.py --model_name Helsinki-NLP/opus-mt-en-ro --save_dir opus_wmt_en_ro_gens --data_dir wmt_en_ro
  ```
  
  works on 1 GPU.
  
  
  After adding test coverage, we could try to improve API consistency between run_distributed_eval.py and run_eval.py .