Skip to content

Commit 5156f04

Browse files
committed
update
1 parent 2fa5fe3 commit 5156f04

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

.github/workflows/release.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Release Workflow
22

33
on:
44
push:
5-
tags:
6-
- "*"
5+
branches:
6+
- tmp
77

88
jobs:
99
build:
@@ -12,29 +12,29 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
include:
15-
- { os: "macos-14", torch-version: "2.6.0", torch-backend: "cpu" }
16-
- { os: "macos-14", torch-version: "2.7.1", torch-backend: "cpu" }
17-
- { os: "macos-14", torch-version: "2.8.0", torch-backend: "cpu" }
18-
- { os: "ubuntu-22.04", torch-version: "2.6.0", torch-backend: "cpu" }
19-
- { os: "ubuntu-22.04", torch-version: "2.6.0", torch-backend: "cu124" }
20-
- { os: "ubuntu-22.04", torch-version: "2.6.0", torch-backend: "cu126" }
21-
- { os: "ubuntu-22.04", torch-version: "2.7.1", torch-backend: "cpu" }
22-
- { os: "ubuntu-22.04", torch-version: "2.7.1", torch-backend: "cu126" }
23-
- { os: "ubuntu-22.04", torch-version: "2.7.1", torch-backend: "cu128" }
15+
# - { os: "macos-14", torch-version: "2.6.0", torch-backend: "cpu" }
16+
# - { os: "macos-14", torch-version: "2.7.1", torch-backend: "cpu" }
17+
# - { os: "macos-14", torch-version: "2.8.0", torch-backend: "cpu" }
18+
# - { os: "ubuntu-22.04", torch-version: "2.6.0", torch-backend: "cpu" }
19+
# - { os: "ubuntu-22.04", torch-version: "2.6.0", torch-backend: "cu124" }
20+
# - { os: "ubuntu-22.04", torch-version: "2.6.0", torch-backend: "cu126" }
21+
# - { os: "ubuntu-22.04", torch-version: "2.7.1", torch-backend: "cpu" }
22+
# - { os: "ubuntu-22.04", torch-version: "2.7.1", torch-backend: "cu126" }
23+
# - { os: "ubuntu-22.04", torch-version: "2.7.1", torch-backend: "cu128" }
2424
- { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cpu" }
25-
- { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cu126" }
26-
- { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cu128" }
27-
- { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cu129" }
28-
- { os: "windows-latest", torch-version: "2.6.0", torch-backend: "cpu" }
29-
- { os: "windows-latest", torch-version: "2.6.0", torch-backend: "cu124" }
30-
- { os: "windows-latest", torch-version: "2.6.0", torch-backend: "cu126" }
31-
- { os: "windows-latest", torch-version: "2.7.1", torch-backend: "cpu" }
32-
- { os: "windows-latest", torch-version: "2.7.1", torch-backend: "cu126" }
33-
- { os: "windows-latest", torch-version: "2.7.1", torch-backend: "cu128" }
34-
- { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cpu" }
35-
- { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cu126" }
36-
- { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cu128" }
37-
- { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cu129" }
25+
# - { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cu126" }
26+
# - { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cu128" }
27+
# - { os: "ubuntu-22.04", torch-version: "2.8.0", torch-backend: "cu129" }
28+
# - { os: "windows-latest", torch-version: "2.6.0", torch-backend: "cpu" }
29+
# - { os: "windows-latest", torch-version: "2.6.0", torch-backend: "cu124" }
30+
# - { os: "windows-latest", torch-version: "2.6.0", torch-backend: "cu126" }
31+
# - { os: "windows-latest", torch-version: "2.7.1", torch-backend: "cpu" }
32+
# - { os: "windows-latest", torch-version: "2.7.1", torch-backend: "cu126" }
33+
# - { os: "windows-latest", torch-version: "2.7.1", torch-backend: "cu128" }
34+
# - { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cpu" }
35+
# - { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cu126" }
36+
# - { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cu128" }
37+
# - { os: "windows-latest", torch-version: "2.8.0", torch-backend: "cu129" }
3838
env:
3939
GLIBC_VERSION: "2_34"
4040
DEFAULT_VERSION: "2.8.0"
@@ -44,7 +44,7 @@ jobs:
4444
- name: Check if this is the default version
4545
shell: bash
4646
run: |
47-
DEFAULT_BACKEND=$(jq -rn '{"Linux": "cu128", "Windows": "cpu", "macOS": "cpu"}["${{ runner.os }}"]')
47+
DEFAULT_BACKEND=$(jq -rn '{"Linux": "cpu", "Windows": "cpu", "macOS": "cpu"}["${{ runner.os }}"]')
4848
if [[ "${{ matrix.torch-version }}" == "$DEFAULT_VERSION" && "${{ matrix.torch-backend }}" == "$DEFAULT_BACKEND" ]]; then
4949
echo "IS_DEFAULT=true" >> $GITHUB_ENV
5050
else
@@ -177,15 +177,15 @@ jobs:
177177
- name: List artifacts
178178
run: find ./dist
179179

180-
- name: Create Release
181-
env:
182-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
183-
TAG: ${{ steps.get_tag.outputs.TAG_NAME }}
184-
run: gh release create "$TAG" ./dist/*
180+
# - name: Create Release
181+
# env:
182+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
183+
# TAG: ${{ steps.get_tag.outputs.TAG_NAME }}
184+
# run: gh release create "$TAG" ./dist/*
185185

186-
- name: Remove non default wheels
187-
run:
188-
rm ./dist/*torch*.whl
186+
# - name: Remove non default wheels
187+
# run:
188+
# rm ./dist/*torch*.whl
189189

190-
- name: Upload to PyPI
191-
run: uv publish -t ${{ secrets.UV_PUBLISH_TOKEN }}
190+
# - name: Upload to PyPI
191+
# run: uv publish -t ${{ secrets.UV_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)