[tokenizer] feat: support tokenizers whose pad_token_id is none #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
rm -rf ~/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 |