Skip to content

Commit f3bc7a7

Browse files
lwxFormers Bot
authored andcommitted
Build for PyTorch 2.5.1 (fairinternal/xformers#1248)
This commit will be tagged as 0.0.28.post3, which will trigger CI jobs to build a new release which depends on the newly-released PyTorch 2.5.1. __original_commit__ = fairinternal/xformers@76e48ce
1 parent 8792aa6 commit f3bc7a7

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

.github/workflows/conda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
- "3.10"
3434
- "3.11"
3535
config:
36-
- torch_version: "2.5.0"
36+
- torch_version: "2.5.1"
3737
torch_channel: "pytorch"
3838
cuda_version: "12.1.0"
3939
cuda_dep_runtime: ">=12.0,<13.0"
4040
cuda_short_version: "121"
4141

42-
- torch_version: "2.5.0"
42+
- torch_version: "2.5.1"
4343
torch_channel: "pytorch"
4444
cuda_version: "11.8.0"
4545
cuda_dep_runtime: ">=11.7,<11.9"

.github/workflows/rocm_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
os: ['ubuntu-alola']
2424
python: ['3.11']
25-
torch_version: ['2.5.0']
25+
torch_version: ['2.5.1']
2626
toolkit_type: ['rocm']
2727
toolkit_short_version: ['6.0', '6.1']
2828

.github/workflows/wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
include = []
4848
for os in ['8-core-ubuntu', 'windows-8-core']:
49-
for torch_version in ['2.5.0']:
49+
for torch_version in ['2.5.1']:
5050
# CUDA builds
5151
for python, cuda_short_version in PY_CU:
5252
if cuda_short_version != "124" and "windows" in os:
@@ -96,7 +96,7 @@ jobs:
9696
uses: ./.github/workflows/wheels_upload_pip.yml
9797
with:
9898
twine_username: __token__
99-
filter: "*torch2.5.0+cu121*"
99+
filter: "*torch2.5.1+cu121*"
100100
execute: ${{ github.repository == 'facebookresearch/xformers' && github.event_name != 'pull_request' }}
101101
secrets:
102102
twine_password: ${{ secrets.PYPI_TOKEN }}
@@ -116,6 +116,6 @@ jobs:
116116
aws_role: "arn:aws:iam::749337293305:role/pytorch_bot_uploader_role"
117117
s3_path: s3://pytorch/whl/${{ matrix.suffix }}/
118118
aws_s3_cp_extra_args: --acl public-read
119-
filter: "*torch2.5.0+${{ matrix.suffix }}*"
119+
filter: "*torch2.5.1+${{ matrix.suffix }}*"
120120
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}
121121

.github/workflows/win-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Install build dependencies
5454
run: |
55-
$PY -m pip install wheel setuptools ninja torch==2.5.0 -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
55+
$PY -m pip install wheel setuptools ninja torch==2.5.1 -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
5656
git config --global --add safe.directory "*"
5757
$PY -c "import torch; print('torch', torch.__version__)"
5858
$PY -c "import torch; print('torch.cuda', torch.version.cuda)"

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.0.28.post3] - 2024-10-30
8+
Pre-built binary wheels require PyTorch 2.5.1
9+
710
## [0.0.28.post2] - 2024-10-18
811
Pre-built binary wheels require PyTorch 2.5.0
912

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ xFormers is:
2828

2929
## Installing xFormers
3030

31-
* **(RECOMMENDED, linux) Install latest stable with conda**: Requires [PyTorch 2.5.0 installed with conda](https://pytorch.org/get-started/locally/)
31+
* **(RECOMMENDED, linux) Install latest stable with conda**: Requires [PyTorch 2.5.1 installed with conda](https://pytorch.org/get-started/locally/)
3232

3333
```bash
3434
# (python 3.10/3.11 only)
3535
conda install xformers -c xformers
3636
```
3737

38-
* **(RECOMMENDED, linux & win) Install latest stable with pip**: Requires [PyTorch 2.5.0](https://pytorch.org/get-started/locally/)
38+
* **(RECOMMENDED, linux & win) Install latest stable with pip**: Requires [PyTorch 2.5.1](https://pytorch.org/get-started/locally/)
3939

4040
```bash
4141
# [linux only] cuda 11.8 version

0 commit comments

Comments
 (0)