File tree Expand file tree Collapse file tree 4 files changed +12
-20
lines changed Expand file tree Collapse file tree 4 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 16
16
uses : actions/checkout@v3
17
17
with :
18
18
repository : mosaicml/ci-testing
19
- ref : v0.1.0
19
+ ref : v0.3.3
20
20
path : ./ci-testing
21
21
- uses : ./ci-testing/.github/actions/coverage
22
22
with :
Original file line number Diff line number Diff line change @@ -22,26 +22,18 @@ jobs:
22
22
strategy :
23
23
matrix :
24
24
include :
25
- - name : " cpu-2.4.0"
26
- container : mosaicml/pytorch:2.4.0_cpu-python3.11-ubuntu20.04
27
- pytest_markers : " not gpu"
28
- pytest_command : " coverage run -m pytest"
25
+ - name : " cpu-2.5.1"
26
+ container : mosaicml/pytorch:2.5.1_cpu-python3.11-ubuntu22.04
27
+ markers : " not gpu and not only_release"
29
28
pip_deps : " [cpu]"
30
- safe_directory : RLHF
29
+ pytest_command : " coverage run -m pytest "
31
30
steps :
32
31
- name : Run PR CPU Tests
33
- uses : mosaicml/ci-testing/.github/actions/pytest-cpu@v0.2.2
32
+ uses : mosaicml/ci-testing/.github/actions/pytest-cpu@v0.3.3
34
33
with :
35
34
container : ${{ matrix.container }}
36
35
name : ${{ matrix.name }}
37
36
pip_deps : ${{ matrix.pip_deps }}
38
37
pytest_command : ${{ matrix.pytest_command }}
39
- pytest_markers : ${{ matrix.pytest_markers }}
40
- safe_directory : ${{ matrix.safe_directory }}
41
- coverage :
42
- uses : ./.github/workflows/coverage.yaml
43
- name : Coverage Results
44
- if : github.repository_owner == 'databricks'
45
- needs : [pytest-cpu]
46
- with :
47
- download-path : artifacts
38
+ pytest_markers : ${{ matrix.markers }}
39
+ safe_directory : compose-rl
Original file line number Diff line number Diff line change 20
20
additional_dependencies :
21
21
- toml
22
22
- repo : https://github.com/hadialqattan/pycln
23
- rev : v2.1.2
23
+ rev : v2.5.0
24
24
hooks :
25
25
- id : pycln
26
26
args : [. --all]
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ You'll find in this repo:
28
28
29
29
Clone the repository and install the dependencies:
30
30
31
- ``` bash
32
- git clone https://github.com/databricks/Compose-RL .git
33
- cd Compose-RL
31
+ ```
32
+ git clone https://github.com/databricks/compose-rl .git
33
+ cd compose-rl
34
34
pip install -e .[gpu]
35
35
python3 -m spacy download en_core_web_sm
36
36
```
You can’t perform that action at this time.
0 commit comments