Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

fix(hip): package_windows copies rocBLAS arch subfolders (the gfx1151 wheel's library/gfx1151/) instead of crashing

Niko122189ae08e67f47
diff --git a/tools/hip/package_windows.py b/tools/hip/package_windows.py
index 12738f198..1ece8f0d8 100644
--- a/tools/hip/package_windows.py
+++ b/tools/hip/package_windows.py
@@ -118,7 +118,10 @@ def main() -> int:
for f in (rbin / "rocblas" / "library").iterdir():
m = re.search(r"gfx[0-9a-f]+", f.name)
if m is None or m.group() in archs:
- shutil.copy2(f, lib / f.name)
+ if f.is_dir(): # the gfx1151 wheel keeps its rocBLAS kernels in library/gfx1151/
+ shutil.copytree(f, lib / f.name)
+ else:
+ shutil.copy2(f, lib / f.name)
for arch in archs:
src = rbin / "hipblaslt" / "library" / arch
if src.is_dir(): # hipBLASLt has no RDNA2 (gfx1030) kernels