pipeline.gpu_large.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. - label: ":tv: :steam_locomotive: Train GPU tests "
  2. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TRAIN_AFFECTED"]
  3. commands:
  4. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  5. - TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  6. - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  7. - ./ci/env/install-horovod.sh
  8. - ./ci/env/env_info.sh
  9. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=gpu,gpu_only,-ray_air python/ray/train/...
  10. - label: ":tv: :database: :steam_locomotive: Datasets Train Integration GPU Tests and Examples (Python 3.7)"
  11. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TRAIN_AFFECTED"]
  12. commands:
  13. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  14. - TRAIN_TESTING=1 DATA_PROCESSING_TESTING=1 ./ci/env/install-dependencies.sh
  15. - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  16. - ./ci/env/env_info.sh
  17. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=datasets_train doc/...
  18. - label: ":tv: :brain: RLlib: Multi-GPU Tests"
  19. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  20. commands:
  21. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  22. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  23. - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  24. - ./ci/env/env_info.sh
  25. # --jobs 2 is necessary as we only need to have at least 2 gpus on the machine
  26. # and running tests in parallel would cause timeouts as the other scripts would
  27. # wait for the GPU to become available.
  28. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --jobs 2
  29. --test_tag_filters=multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
  30. - label: ":tv: :airplane: AIR GPU tests (ray/air)"
  31. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_ML_AFFECTED"]
  32. commands:
  33. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  34. - DATA_PROCESSING_TESTING=1 TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  35. - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  36. - ./ci/env/install-horovod.sh
  37. - ./ci/env/env_info.sh
  38. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=gpu python/ray/air/... python/ray/train/...
  39. - label: ":tv: :book: Doc GPU tests and examples"
  40. conditions:
  41. ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_DOC_AFFECTED"]
  42. commands:
  43. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  44. - DOC_TESTING=1 TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  45. - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  46. - ./ci/env/env_info.sh
  47. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=gpu,-timeseries_libs,-py37,-post_wheel_build doc/...