Skip to content

Commit

Permalink
ci: fix the update_whl_index script to regonize version number with "…
Browse files Browse the repository at this point in the history
…post" and add torch2.5 (#694)

Ref #692
  • Loading branch information
yzh119 authored Dec 24, 2024
1 parent 63fa200 commit 398cd2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
cuda: ["11.8", "12.1", "12.4"]
torch: ["2.2", "2.3", "2.4"]
torch: ["2.3", "2.4", "2.5"]
exclude: # for cuda 12.4, we only support torch 2.4+
- cuda: "12.4"
torch: "2.2"
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_whl_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
with open(path, "rb") as f:
sha256 = hashlib.sha256(f.read()).hexdigest()
ver, cu, torch = re.findall(
r"flashinfer-([0-9.]+)\+cu(\d+)torch([0-9.]+)-", path.name
r"flashinfer-([0-9.]+(?:\.post[0-9]+)?)\+cu(\d+)torch([0-9.]+)-", path.name
)[0]
index_dir = pathlib.Path(f"flashinfer-whl/cu{cu}/torch{torch}/flashinfer")
index_dir.mkdir(exist_ok=True)
Expand Down

0 comments on commit 398cd2b

Please sign in to comment.