pipeline.gpu.yml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Todo: Enable once tests are available
  2. #- label: ":tv: :octopus: Tune GPU tests "
  3. # conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  4. # commands:
  5. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  6. # - TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  7. # - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  8. # - ./ci/env/env_info.sh
  9. # - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=gpu python/ray/tune/...
  10. - label: ":tv: :brain: RLlib: GPU Tests"
  11. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  12. commands:
  13. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  14. - RLLIB_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. # --jobs 1 is necessary as we only have 1 GPU on the machine and running tests in parallel
  18. # would cause timeouts as the other scripts would wait for the GPU to become available.
  19. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --jobs 1
  20. --test_tag_filters=gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 --test_env=RLLIB_NUM_GPUS=1 rllib/...
  21. - label: ":tv: :serverless: Serve Tests"
  22. conditions:
  23. [
  24. "NO_WHEELS_REQUIRED",
  25. "RAY_CI_SERVE_AFFECTED",
  26. "RAY_CI_PYTHON_AFFECTED",
  27. "RAY_CI_ML_AFFECTED",
  28. ]
  29. commands:
  30. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  31. - ./ci/env/install-dependencies.sh
  32. - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  33. - bazel test --config=ci $(./ci/run/bazel_export_options) --test_tag_filters=gpu python/ray/serve/...
  34. # Todo: enable once tests pass
  35. #- label: ":tv: :brain: RLlib: GPU Examples {C/D}"
  36. # conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  37. # commands:
  38. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  39. # - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  40. # - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  41. # - ./ci/env/env_info.sh
  42. # - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  43. # --test_tag_filters=examples_C,examples_D --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 --test_env=RLLIB_NUM_GPUS=1 rllib/...
  44. # Todo: enable once tests pass
  45. #- label: ":tv: :brain: RLlib: GPU Examples {E/P}"
  46. # conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  47. # commands:
  48. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  49. # - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  50. # - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  51. # - ./ci/env/env_info.sh
  52. # - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  53. # --test_tag_filters=examples_E,examples_F,examples_G,examples_H,examples_I,examples_J,examples_K,examples_L,examples_M,examples_N,examples_O,examples_P --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 --test_env=RLLIB_NUM_GPUS=1
  54. # rllib/...
  55. # Todo: enable once tests pass
  56. #- label: ":tv: :brain: RLlib: GPU Examples {Q/Z}"
  57. # conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  58. # commands:
  59. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  60. # - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  61. # - pip install -Ur ./python/requirements/ml/requirements_ml_docker.txt
  62. # - ./ci/env/env_info.sh
  63. # - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  64. # --test_tag_filters=examples_Q,examples_R,examples_S,examples_T,examples_U,examples_V,examples_W,examples_X,examples_Y,examples_Z --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 --test_env=RLLIB_NUM_GPUS=1
  65. # rllib/...