Skip to content

Commit

Permalink
Build wheels/conda for 2.1.1
Browse files Browse the repository at this point in the history
We no longer build conda packages for 1.13/2.0

ghstack-source-id: bde8420f9352efa3431dec8f6f4daa649371134c
Pull Request resolved: https://github.com/fairinternal/xformers/pull/936

__original_commit__ = fairinternal/xformers@602ad0425e6d4dffb29beeb0fc97da9d71e2e737
  • Loading branch information
xFormers Bot committed Dec 1, 2023
1 parent 0ec6aa2 commit be4f584
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,30 +33,18 @@ jobs:
- "3.9"
- "3.10"
config:
- torch_version: "2.1.0"
- torch_version: "2.1.1"
torch_channel: "pytorch"
cuda_version: "12.1.0"
cuda_dep_runtime: ">=12.0,<13.0"
cuda_short_version: "121"

- torch_version: "2.1.0"
- torch_version: "2.1.1"
torch_channel: "pytorch"
cuda_version: "11.8.0"
cuda_dep_runtime: ">=11.7,<11.9"
cuda_short_version: "118"

- torch_version: "2.0.1"
torch_channel: "pytorch"
cuda_version: "11.8.0"
cuda_dep_runtime: ">=11.7,<11.9"
cuda_short_version: "118"

- torch_version: "1.13.1"
torch_channel: "pytorch"
cuda_version: "11.7.1"
cuda_dep_runtime: ">=11.6,<11.8"
cuda_short_version: "116"

name: py${{ matrix.python }}-torch${{ matrix.config.torch_version }}-cu${{ matrix.config.cuda_version }}
runs-on: 8-core-ubuntu # 32GB RAM, 8 vCPUs

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- "3.10"
- "3.11"
torch_version:
- "2.1.0"
- "2.1.1"
cuda_short_version:
- "118"
- "121"
Expand All @@ -45,7 +45,7 @@ jobs:
uses: ./.github/workflows/wheels_upload_pip.yml
with:
twine_username: __token__
filter: "*torch2.1.0+cu121*"
filter: "*torch2.1.1+cu121*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.event_name != 'pull_request' }}
secrets:
twine_password: ${{ secrets.PYPI_TOKEN }}
Expand All @@ -57,7 +57,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.1.0+cu118*"
filter: "*torch2.1.1+cu118*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}

upload_pt_cu121:
Expand All @@ -67,6 +67,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.1.0+cu121*"
filter: "*torch2.1.1+cu121*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}

0 comments on commit be4f584

Please sign in to comment.