From c23d5706f4148afc4e7a09d305e8508f4ee7bd0d Mon Sep 17 00:00:00 2001 From: Ke Bao Date: Sat, 25 Jan 2025 23:57:09 +0800 Subject: [PATCH] Update whl index path (#3128) --- scripts/update_kernel_whl_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_kernel_whl_index.py b/scripts/update_kernel_whl_index.py index bcd92ef64..a42969641 100644 --- a/scripts/update_kernel_whl_index.py +++ b/scripts/update_kernel_whl_index.py @@ -8,7 +8,7 @@ for path in sorted(pathlib.Path("sgl-kernel/dist").glob("*.whl")): with open(path, "rb") as f: sha256 = hashlib.sha256(f.read()).hexdigest() ver = re.findall(r"sgl_kernel-([0-9.]+(?:\.post[0-9]+)?)-", path.name)[0] - index_dir = pathlib.Path(f"sgl-whl/cu118") + index_dir = pathlib.Path(f"sgl-whl/cu118/sgl-kernel") index_dir.mkdir(exist_ok=True) base_url = "https://github.com/sgl-project/whl/releases/download" full_url = f"{base_url}/v{ver}/{path.name}#sha256={sha256}"