Skip to content

[example] add a split placement tutorial (#43) #18

[example] add a split placement tutorial (#43)

[example] add a split placement tutorial (#43) #18

Workflow file for this run

name: ray
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
paths:
- "**/*.py"
- .github/workflows/ray_test.yml
pull_request:
branches:
- main
paths:
- "**/*.py"
- .github/workflows/ray_test.yml
jobs:
ray:
runs-on: [self-hosted, gpu]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install the current repository
run: |
pip install -e .[test]
- name: Running dataset tests
run: |
[ ! -d "$HOME/verl-data" ] && git clone --depth 1 https://github.com/eric-haibin-lin/verl-data ~/verl-data
pytest -s -x tests/verl
- name: Running ray tests that need 2 GPUs
run: |
cd tests/ray
pytest -s -x test_rvdz.py test_driverfunc_to_worker.py test_data_transfer.py test_colocated_workers.py test_check_worker_alive.py