# This file is generated by `ray project create`.

name: long-running-distributed-tests

cluster:
  config: ray-project/cluster.yaml
  params:
    - name: ray_version # Ray version string.
      default: "0.8.2"

    - name: commit # Ray commit SHA string.
      default: "f5a1307a608fe5fdbdb04616b22c91f029af329a"

    - name: ray_branch
      default: "releases/0.8.2"

commands:
  - name: test_workload
    help: "Start a long running distributed test."
    command: |
      python workloads/{{workload}}.py
    params:
      - name: workload
        help: "Name of workload to run."
        choices:
          [
            "pytorch_pbt_failure"
          ]

# Pathnames for files and directories that should be saved
# in a snapshot but that should not be synced with a# session. Pathnames can be relative to the project
# directory or absolute. Generally, this should be files
# that were created by an active session, such as
# application checkpoints and logs.
output_files: [
  # For example, uncomment this to save the logs from the
  # last ray job.
  # "/tmp/ray/session_latest",
]