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++
SYCL expert cache (#1440): a one-GPU run keeps the free-memory figure it had
Niko122141a5a5488dae
diff --git a/sycl/src/core/expert_cache.cpp b/sycl/src/core/expert_cache.cppindex 1ca0ff497..cc3a7809e 100644--- a/sycl/src/core/expert_cache.cpp+++ b/sycl/src/core/expert_cache.cpp@@ -74,9 +74,11 @@ size_t device_free_bytes() try {You may need to adjust the code.*/dpct::get_current_device().get_memory_info(free_b, total_b);- // #1440: only where the driver reports the whole card as free (Arc A750/i915). own_drm_local_bytes() sums every DRM- // fd of the process, i.e. both cards on a layer split, and would charge the first card's cache to the second.- if (const unsigned long long own = (free_b + (16ull << 20) >= total_b) ? own_drm_local_bytes() : 0ull;+ // #1440: own_drm_local_bytes() sums every DRM fd of the process, i.e. both cards on a layer split, and would charge the+ // first card's cache to the second. With more than one GPU it runs only where the driver reports the whole card as+ // free (Arc A750/i915); a one-GPU run keeps the figure it always had.+ if (const unsigned long long own = (free_b + (16ull << 20) >= total_b || dpct::device_count() <= 1)+ ? own_drm_local_bytes() : 0ull;own > 0 && total_b > own && total_b - own < free_b) {static std::atomic<bool> said{false};if (free_b + (16ull << 20) >= total_b && !said.exchange(true))