Skip to content

Commit

Permalink
Build for PyTorch 2.4.0
Browse files Browse the repository at this point in the history
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: 245678711af63632170c33b06eb6c717fb481f55
Pull Request resolved: fairinternal/xformers#1162

__original_commit__ = fairinternal/xformers@3bd420f
  • Loading branch information
lw authored and xFormers Bot committed Jul 25, 2024
1 parent 71308aa commit b3831ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
- "3.9"
- "3.10"
config:
- torch_version: "2.3.1"
- torch_version: "2.4.0"
torch_channel: "pytorch"
cuda_version: "12.1.0"
cuda_dep_runtime: ">=12.0,<13.0"
cuda_short_version: "121"

- torch_version: "2.3.1"
- torch_version: "2.4.0"
torch_channel: "pytorch"
cuda_version: "11.8.0"
cuda_dep_runtime: ">=11.7,<11.9"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
include = []
for os in ['8-core-ubuntu', 'windows-8-core']:
for python in PY_VERSIONS:
for torch_version in ['2.3.1']:
for torch_version in ['2.4.0']:
for cuda_short_version in ["118", "121"]:
include.append(dict(
os=os,
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
uses: ./.github/workflows/wheels_upload_pip.yml
with:
twine_username: __token__
filter: "*torch2.3.1+cu121*"
filter: "*torch2.4.0+cu121*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.event_name != 'pull_request' }}
secrets:
twine_password: ${{ secrets.PYPI_TOKEN }}
Expand All @@ -79,7 +79,7 @@ jobs:
aws_role: "arn:aws:iam::749337293305:role/pytorch_bot_uploader_role"
s3_path: s3://pytorch/whl/cu118/
aws_s3_cp_extra_args: --acl public-read
filter: "*torch2.3.1+cu118*"
filter: "*torch2.4.0+cu118*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}

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

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Improved
### Removed

## [0.0.27.post1] - 2024-07-25
Pre-built binary wheels require PyTorch 2.4.0

## [0.0.27] - 2024-07-10
Pre-built binary wheels require PyTorch 2.3.1
### Added
Expand Down

0 comments on commit b3831ea

Please sign in to comment.