Skip to content

Commit a8db3c7

Browse files
authored
Merge pull request #3 from databricks/bcui/update_workflows
Update workflows
2 parents 36c7a85 + e902d54 commit a8db3c7

File tree

4 files changed

+12
-20
lines changed

4 files changed

+12
-20
lines changed

.github/workflows/coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v3
1717
with:
1818
repository: mosaicml/ci-testing
19-
ref: v0.1.0
19+
ref: v0.3.3
2020
path: ./ci-testing
2121
- uses: ./ci-testing/.github/actions/coverage
2222
with:

.github/workflows/pr-cpu.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,18 @@ jobs:
2222
strategy:
2323
matrix:
2424
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"
2928
pip_deps: "[cpu]"
30-
safe_directory: RLHF
29+
pytest_command: "coverage run -m pytest"
3130
steps:
3231
- 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
3433
with:
3534
container: ${{ matrix.container }}
3635
name: ${{ matrix.name }}
3736
pip_deps: ${{ matrix.pip_deps }}
3837
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

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
additional_dependencies:
2121
- toml
2222
- repo: https://github.com/hadialqattan/pycln
23-
rev: v2.1.2
23+
rev: v2.5.0
2424
hooks:
2525
- id: pycln
2626
args: [. --all]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ You'll find in this repo:
2828

2929
Clone the repository and install the dependencies:
3030

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
3434
pip install -e .[gpu]
3535
python3 -m spacy download en_core_web_sm
3636
```

0 commit comments

Comments
 (0)