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++
launch: the Pictures screen says the AMD picture reader runs on the graphics card; build_hip_linux.sh collects libraries from the build outputs
Niko122155ca7b955a37
diff --git a/packaging/build_hip_linux.sh b/packaging/build_hip_linux.shindex e833bc69e..c78626ca3 100644--- a/packaging/build_hip_linux.sh+++ b/packaging/build_hip_linux.sh@@ -67,19 +67,19 @@ st "gpu reader built rc=$?"[ -x "$OUT/bh/bin/strata-vision-hip" ] || { st "ABORT no strata-vision-hip"; tail -20 "$OUT/build-vision-hip.log" >> "$S"; exit 1; }[ -n "${VISION_ONLY:-}" ] && { st "VISION-DONE"; exit 0; }STAGE=$OUT/stage; rm -rf "$STAGE"; mkdir -p "$STAGE"-cp "$OUT/b/strata" "$OUT/bv/bin/strata-vision" "$OUT/bh/bin/strata-vision-hip" "$STAGE/"ARCHJSON=$(for a in $ARCHLIST; do printf '"%s", ' "$a"; done | sed 's/, $//')cat > "$STAGE/BUILD.json" <<EOJ{"version": "$PKGVER", "source": "f-amd-vision $COMMIT", "variant": "$V", "archs": [$ARCHJSON], "portable": true, "vision": "gpu", "vision_cpu": "strata-vision", "vision_gpu": "strata-vision-hip", "vision_archs": [$ARCHJSON]}EOJ-# the libraries all three programs load (the readers add hipblas / rocblas only if the engine did not already)-for b in strata strata-vision-hip; do- python3 packaging/collect_libs.py --binary "$STAGE/$b" --search "$LIBW/lib" --search "$HP/lib" --search "$CORE/lib" --search "$CORE/lib/llvm/lib" \+# the libraries the engine and the GPU reader load (the CPU reader needs only the system's), collected from the build outputs+for b in "$OUT/b/strata" "$OUT/bh/bin/strata-vision-hip"; do+ python3 packaging/collect_libs.py --binary "$b" --search "$LIBW/lib" --search "$HP/lib" --search "$CORE/lib" --search "$CORE/lib/llvm/lib" \--also 'libamd_comgr.so*' --also 'libhiprtc*.so*' --out "$STAGE" \--data "$LIBW/lib/rocblas/library=rocblas/library" --data "$LIBW/lib/hipblaslt/library=hipblaslt/library" --data-arch "$DATAARCH" \>> "$OUT/collect.log" 2>&1- st "collected for $b rc=$?"+ st "collected for $(basename "$b") rc=$?"done+cp "$OUT/b/strata" "$OUT/bv/bin/strata-vision" "$OUT/bh/bin/strata-vision-hip" "$STAGE/"for f in "$STAGE"/*.so "$STAGE"/*.so.*; do [ -f "$f" ] && [ ! -L "$f" ] && patchelf --set-rpath '$ORIGIN' "$f"; donefor f in "$STAGE/strata" "$STAGE/strata-vision" "$STAGE/strata-vision-hip"; dost "RUNPATH $(basename "$f"): $(readelf -d "$f" | grep -E 'RPATH|RUNPATH' | cut -d'[' -f2 | tr -d ']' | paste -sd' ')"diff --git a/strata_cli/launch/screens.py b/strata_cli/launch/screens.pyindex f090b684e..7b76dba70 100644--- a/strata_cli/launch/screens.py+++ b/strata_cli/launch/screens.py@@ -820,7 +820,10 @@ class PicturesScreen(Base):def explain(self) -> Text:vram = self.ctx.computer.main_vram_gb- extra = ("a 0.9 GB download. On a card under 24 GB the picture reader runs on the CPU (a few seconds per picture, nothing "+ amd = any(str(g.get("vendor")) == "amd" for g in self.ctx.computer.usable_gpus)+ extra = ("a 0.9 GB download. On your AMD card the picture reader runs on the graphics card (about 1 GB of its memory, under a second "+ "per picture) and starts on the processor by itself if it cannot." if amd and self.reader() != "missing" else+ "a 0.9 GB download. On a card under 24 GB the picture reader runs on the CPU (a few seconds per picture, nothing ""taken from the graphics card). On a bigger card it runs on the GPU and keeps about 1.4 GB free, costing a few % of text speed."if vram < 24 else "a 0.9 GB download, and about 1.4 GB of graphics memory kept free for the picture reader (text is a few % slower).")if not self.supported: