Skip to content

Commit 75a2560

Browse files
authored
Bump torch 2.5.1 + megablocks version upgrade (#162)
1 parent 84286de commit 75a2560

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/pr-gpu.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
include:
24-
- name: "python3.11-pytorch2.4.0-gpus1"
24+
- name: "python3.11-pytorch2.5.1-gpus1"
2525
gpu_num: 1
2626
python_version: 3.11
27-
container: mosaicml/pytorch:2.4.0_cu124-python3.11-ubuntu20.04
28-
- name: "python3.11-pytorch2.4.0-gpus2"
27+
container: mosaicml/pytorch:2.5.1_cu124-python3.11-ubuntu20.04
28+
- name: "python3.11-pytorch2.5.1-gpus2"
2929
gpu_num: 2
3030
python_version: 3.11
31-
container: mosaicml/pytorch:2.4.0_cu124-python3.11-ubuntu20.04
31+
container: mosaicml/pytorch:2.5.1_cu124-python3.11-ubuntu20.04
3232
steps:
3333
- name: Run PR GPU tests
3434
uses: mosaicml/ci-testing/.github/actions/[email protected]

megablocks/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
"""The MegaBlocks Version."""
55

6-
__version__ = '0.7.0.dev0'
6+
__version__ = '0.8.0.dev0'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# build requirements
55
[build-system]
6-
requires = ["setuptools < 70.0.0", "torch >= 2.4.0, < 2.4.1"]
6+
requires = ["setuptools < 70.0.0", "torch >= 2.5.1, < 2.5.2"]
77
build-backend = "setuptools.build_meta"
88

99
# Pytest

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
install_requires = [
6363
'numpy>=1.21.5,<2.1.0',
6464
'packaging>=21.3.0,<24.2',
65-
'torch>=2.4.0,<2.4.1',
65+
'torch>=2.5.1,<2.5.2',
6666
'triton>=2.1.0',
6767
'stanford-stk==0.7.1',
6868
]

0 commit comments

Comments
 (0)