Skip to content

Commit b3831ea

Browse files
lwxFormers Bot
authored andcommitted
Build for PyTorch 2.4.0
This commit will be tagged as 0.0.27.post1, which will trigger CI jobs to build a new release which depends on the newly-released PyTorch 2.4.0. ghstack-source-id: 2456787 Pull Request resolved: fairinternal/xformers#1162 __original_commit__ = fairinternal/xformers@3bd420f
1 parent 71308aa commit b3831ea

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
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.9"
3434
- "3.10"
3535
config:
36-
- torch_version: "2.3.1"
36+
- torch_version: "2.4.0"
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.3.1"
42+
- torch_version: "2.4.0"
4343
torch_channel: "pytorch"
4444
cuda_version: "11.8.0"
4545
cuda_dep_runtime: ">=11.7,<11.9"

.github/workflows/wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
include = []
3636
for os in ['8-core-ubuntu', 'windows-8-core']:
3737
for python in PY_VERSIONS:
38-
for torch_version in ['2.3.1']:
38+
for torch_version in ['2.4.0']:
3939
for cuda_short_version in ["118", "121"]:
4040
include.append(dict(
4141
os=os,
@@ -67,7 +67,7 @@ jobs:
6767
uses: ./.github/workflows/wheels_upload_pip.yml
6868
with:
6969
twine_username: __token__
70-
filter: "*torch2.3.1+cu121*"
70+
filter: "*torch2.4.0+cu121*"
7171
execute: ${{ github.repository == 'facebookresearch/xformers' && github.event_name != 'pull_request' }}
7272
secrets:
7373
twine_password: ${{ secrets.PYPI_TOKEN }}
@@ -79,7 +79,7 @@ jobs:
7979
aws_role: "arn:aws:iam::749337293305:role/pytorch_bot_uploader_role"
8080
s3_path: s3://pytorch/whl/cu118/
8181
aws_s3_cp_extra_args: --acl public-read
82-
filter: "*torch2.3.1+cu118*"
82+
filter: "*torch2.4.0+cu118*"
8383
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}
8484

8585
upload_pt_cu121:
@@ -89,6 +89,6 @@ jobs:
8989
aws_role: "arn:aws:iam::749337293305:role/pytorch_bot_uploader_role"
9090
s3_path: s3://pytorch/whl/cu121/
9191
aws_s3_cp_extra_args: --acl public-read
92-
filter: "*torch2.3.1+cu121*"
92+
filter: "*torch2.4.0+cu121*"
9393
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}
9494

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Improved
1010
### Removed
1111

12+
## [0.0.27.post1] - 2024-07-25
13+
Pre-built binary wheels require PyTorch 2.4.0
14+
1215
## [0.0.27] - 2024-07-10
1316
Pre-built binary wheels require PyTorch 2.3.1
1417
### Added

0 commit comments

Comments
 (0)