pipeline.gpu.yml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Todo: Enable once tests are available
  2. #- label: ":tv: :octopus: Tune GPU tests "
  3. # conditions: ["RAY_CI_TUNE_AFFECTED"]
  4. # commands:
  5. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  6. # - TUNE_TESTING=1 ./ci/travis/install-dependencies.sh
  7. # - pip install -Ur ./python/requirements_ml_docker.txt
  8. # - ./ci/travis/env_info.sh
  9. # - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=gpu,gpu_only python/ray/tune/...
  10. - label: ":tv: :brain: RLlib: GPU Examples {A/B}"
  11. conditions: ["RAY_CI_RLLIB_AFFECTED"]
  12. commands:
  13. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  14. - PYTHON=3.7 RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
  15. - pip install -Ur ./python/requirements_ml_docker.txt
  16. - ./ci/travis/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 $(./scripts/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. # Todo: enable once tests pass
  22. #- label: ":tv: :brain: RLlib: GPU Examples {C/D}"
  23. # conditions: ["RAY_CI_RLLIB_AFFECTED"]
  24. # commands:
  25. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  26. # - RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
  27. # - pip install -Ur ./python/requirements_ml_docker.txt
  28. # - ./ci/travis/env_info.sh
  29. # - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
  30. # --test_tag_filters=examples_C,examples_D --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 --test_env=RLLIB_NUM_GPUS=1 rllib/...
  31. # Todo: enable once tests pass
  32. #- label: ":tv: :brain: RLlib: GPU Examples {E/P}"
  33. # conditions: ["RAY_CI_RLLIB_AFFECTED"]
  34. # commands:
  35. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  36. # - RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
  37. # - pip install -Ur ./python/requirements_ml_docker.txt
  38. # - ./ci/travis/env_info.sh
  39. # - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
  40. # --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
  41. # rllib/...
  42. # Todo: enable once tests pass
  43. #- label: ":tv: :brain: RLlib: GPU Examples {Q/Z}"
  44. # conditions: ["RAY_CI_RLLIB_AFFECTED"]
  45. # commands:
  46. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  47. # - RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
  48. # - pip install -Ur ./python/requirements_ml_docker.txt
  49. # - ./ci/travis/env_info.sh
  50. # - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
  51. # --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
  52. # rllib/...