Skip to content

Commit 8ecb82d

Browse files
Bump to torch 2.7 (#77)
Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
1 parent b70752a commit 8ecb82d

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/pr-cpu.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
strategy:
2323
matrix:
2424
include:
25-
- name: "cpu-2.6.0"
26-
container: mosaicml/pytorch:2.6.0_cpu-python3.11-ubuntu22.04
25+
- name: "cpu-2.7.0"
26+
container: mosaicml/pytorch:2.7.0_cpu-python3.12-ubuntu22.04
2727
markers: "not gpu and not only_release"
2828
pip_deps: "[cpu]"
2929
pytest_command: "coverage run -m pytest"

.github/workflows/pr-gpu.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
include:
25-
- name: "gpu-2.6.0-1"
26-
container: mosaicml/llm-foundry:2.6.0_cu124-latest
25+
- name: "gpu-2.7.0-1"
26+
container: mosaicml/llm-foundry:2.7.0_cu128-latest
2727
markers: "gpu"
2828
pip_deps: "[gpu]"
2929
pytest_command: "coverage run -m pytest"
@@ -51,8 +51,8 @@ jobs:
5151
fail-fast: false
5252
matrix:
5353
include:
54-
- name: "gpu-2.6.0-2"
55-
container: mosaicml/llm-foundry:2.6.0_cu124-latest
54+
- name: "gpu-2.7.0-2"
55+
container: mosaicml/llm-foundry:2.7.0_cu128-latest
5656
markers: "gpu"
5757
pip_deps: "[gpu]"
5858
pytest_command: "coverage run -m pytest"

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,34 @@ packages = { find = { include = ["compose_rl*"] } }
88

99
[project]
1010
name = "compose_rl"
11-
version = "0.4.0"
11+
version = "0.7.0.dev0"
1212
dependencies = [
1313
'spacy==3.7.5',
1414
'spacy-alignments',
1515
'ray<3',
1616
'kubernetes==29.0.0',
17-
'vllm>=0.8.3,<0.9.0',
17+
'vllm>=0.9.0,<0.10.0',
1818
# for MATH dataset
1919
'omegaconf==2.4.0.dev3', # needed for antrl4-4.11 package
20-
'sympy==1.13.1', # this version is only compatible with antlr-4.11 package
20+
'sympy==1.13.3', # this version is only compatible with antlr-4.11 package
2121
'antlr4-python3-runtime==4.11', # this is the version compatible with minieval
2222
]
2323

2424
[project.optional-dependencies]
2525
cpu = [
26-
'llm-foundry[all-cpu]@git+https://github.com/mosaicml/llm-foundry.git@a51c96cbd280b76fa6bf45fd1f12e48f3c99e8e6#egg=llmfoundry',
26+
'llm-foundry[all-cpu]@git+https://github.com/mosaicml/llm-foundry.git@main#egg=llmfoundry',
2727
]
2828
gpu = [
29-
'llm-foundry[all]@git+https://github.com/mosaicml/llm-foundry.git@a51c96cbd280b76fa6bf45fd1f12e48f3c99e8e6#egg=llmfoundry',
29+
'llm-foundry[all]@git+https://github.com/mosaicml/llm-foundry.git@main#egg=llmfoundry',
3030
]
3131
dev = [
32-
'llm-foundry[dev]@git+https://github.com/mosaicml/llm-foundry.git@a51c96cbd280b76fa6bf45fd1f12e48f3c99e8e6#egg=llmfoundry',
32+
'llm-foundry[dev]@git+https://github.com/mosaicml/llm-foundry.git@main#egg=llmfoundry',
3333
]
3434
released = [
35-
'llm-foundry[all]>=0.17.1,<0.21.0',
35+
'llm-foundry[all]>=0.21.0',
3636
]
3737
cpu_released = [
38-
'llm-foundry[all-cpu]>=0.17.1,<0.21.0',
38+
'llm-foundry[all-cpu]>=0.21.0',
3939
]
4040

4141
# Registry entry points

0 commit comments

Comments
 (0)