pipeline.gpu.large.yml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. - label: ":tv: :steam_locomotive: Train GPU tests "
  2. conditions: ["RAY_CI_TRAIN_AFFECTED"]
  3. commands:
  4. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  5. - PYTHON=3.6 TRAIN_TESTING=1 TUNE_TESTING=1 INSTALL_HOROVOD=1 ./ci/travis/install-dependencies.sh
  6. # Because Python version changed, we need to re-install Ray here
  7. - rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
  8. - pip install -Ur ./python/requirements_ml_docker.txt
  9. - ./ci/travis/env_info.sh
  10. - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=gpu,gpu_only python/ray/train/...
  11. - label: ":tv: :database: :steam_locomotive: Datasets Train Integration GPU Tests and Examples (Python 3.7)"
  12. conditions: ["RAY_CI_TRAIN_AFFECTED"]
  13. commands:
  14. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  15. - PYTHON=3.7 TRAIN_TESTING=1 DATA_PROCESSING_TESTING=1 ./ci/travis/install-dependencies.sh
  16. - pip install -Ur ./python/requirements_ml_docker.txt
  17. - ./ci/travis/env_info.sh
  18. - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=datasets_train doc/...
  19. - label: ":tv: :brain: RLlib: Multi-GPU Tests"
  20. conditions: ["RAY_CI_RLLIB_AFFECTED"]
  21. commands:
  22. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  23. - PYTHON=3.7 RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
  24. - pip install -Ur ./python/requirements_ml_docker.txt
  25. - ./ci/travis/env_info.sh
  26. # --jobs 2 is necessary as we only need to have at least 2 gpus on the machine
  27. # and running tests in parallel would cause timeouts as the other scripts would
  28. # wait for the GPU to become available.
  29. - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --jobs 2
  30. --test_tag_filters=multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
  31. - label: ":tv: :airplane: ML GPU tests (ray/ml)"
  32. conditions: ["RAY_CI_ML_AFFECTED"]
  33. commands:
  34. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  35. - DATA_PROCESSING_TESTING=1 TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/travis/install-dependencies.sh
  36. - pip install -Ur ./python/requirements_ml_docker.txt
  37. - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=gpu python/ray/ml/...