Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Jan 29, 2024
1 parent 82c8059 commit eb94a25
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,31 @@ jobs:
pytorch/manylinux-builder:cuda${{ matrix.cuda }} \
bash /app/scripts/run-ci-build-wheel.sh
timeout-minutes: 90
- run: du -h dist/*
- run: du -h python/dist/*

- uses: actions/upload-artifact@v4
with:
name: wheel-cuda${{ matrix.cuda }}-python${{ matrix.python }}
path: dist/*
path: python/dist/*

release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
path: dist/
path: ptyhon/dist/
merge-multiple: true
pattern: wheel-*

- run: ls -lah dist/
- run: ls -lah python/dist/

- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ inputs.tag_name }}
files: |
dist/flashinfer-*.whl
dist/flashinfer-*.tar.gz
python/dist/flashinfer-*.whl
python/dist/flashinfer-*.tar.gz
- name: Clone wheel index
run: git clone https://oauth2:${WHL_TOKEN}@github.com/flashinfer-ai/whl.git flashinfer-whl
Expand All @@ -85,7 +85,7 @@ jobs:
import pathlib
import hashlib
import re
for path in sorted(pathlib.Path("dist").glob("*.whl")):
for path in sorted(pathlib.Path("python/dist").glob("*.whl")):
with open(path, "rb") as f:
sha256 = hashlib.sha256(f.read()).hexdigest()
ver, cu = re.findall(r"flashinfer-([0-9.]+)\+cu(\d+)-", path.name)[0]
Expand Down

0 comments on commit eb94a25

Please sign in to comment.