requirements_train.txt 1.1 KB

1234567891011121314151617181920212223242526
  1. # TODO(train-team): Remove this once Ray Train is deprecated.
  2. -r requirements_dl.txt
  3. mlflow==1.30.0; python_version <= '3.7'
  4. mlflow==2.2.2; python_version > '3.7'
  5. tensorboardX==2.4.1
  6. # Dependencies for Hugging Face examples & tests:
  7. # `python/ray/train/examples/transformers/transformers_example.py`
  8. # `python/ray/air/examples/huggingface/huggingface_basic_language_modeling_example.py`
  9. # `python/ray/train/tests/test_accelerate_trainer_gpu.py`
  10. # `python/ray/air/tests/test_huggingface_trainer.py`
  11. # We need transformers>=4.19.0 for HuggingFaceTrainer to work (not available on py 3.6)
  12. # If changing the version here, also change it in HuggingFaceTrainer docstring
  13. transformers==4.18.0; python_version <= '3.6'
  14. transformers==4.19.1; python_version > '3.6'
  15. # We need accelerate>=0.17.0 for AccelerateTrainer to work (not available on py 3.6)
  16. # If changing the version here, also change it in AccelerateTrainer docstring
  17. accelerate==0.5.1; python_version <= '3.6'
  18. accelerate==0.17.1; python_version > '3.6'
  19. # Tracking issue: https://github.com/ray-project/ray/issues/34399
  20. deepspeed==0.8.3; python_version > '3.6'
  21. datasets==2.0.0
  22. sentencepiece==0.1.96