-
Notifications
You must be signed in to change notification settings - Fork 322
56 lines (51 loc) · 1.35 KB
/
gpu_skyrl.yaml
File metadata and controls
56 lines (51 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: SkyRL-GPU
on:
push:
branches: [ main ]
paths:
- 'ci/**'
- 'skyrl/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/gpu_skyrl.yaml'
pull_request:
paths:
- 'ci/**'
- 'skyrl/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/gpu_skyrl.yaml'
workflow_dispatch:
permissions:
checks: write
contents: read
concurrency:
group: skyrl-gpu-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
skyrl_gpu_tests:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: .
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
with:
activate-environment: true
- name: Install dependencies
run: uv pip install anyscale==0.24.79 typer==0.9.0
- name: GPU tests
env:
ANYSCALE_CLI_TOKEN: ${{ secrets.ANYSCALE_CLI_TOKEN }}
ANYSCALE_HOST: https://console.anyscale.com
run: |
anyscale job submit -f ci/anyscale_gpu_ci.yaml --timeout 10000
anyscale job wait --cloud sky-anyscale-aws-us-east-1 --name skyrl-tx-gpu-ci --timeout 10000