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++
--- a/sycl/src/program/generate.cpp
+++ b/sycl/src/program/generate.cpp
@@ -7363,7 +7363,15 @@
save_profile("exit"); // #477: QUIT, or the server closed stdin
// SYCL port: the requests are done and their output written; leave without unwinding the GPU objects (the OS
// reclaims them). Their destructors ran against a runtime already shutting down and aborted (exit 139).
- try { dpct::get_current_device().queues_wait_and_throw(); } catch (...) {}
+ try {
+ dpct::get_current_device().queues_wait_and_throw();
+ // Release the direct-access USM host mirror before process teardown.
+ gguf_src.close();
+ } catch (const std::exception& e) {
+ std::fprintf(stderr, "strata shutdown: mirror release failed: %s\n", e.what());
+ std::fflush(stderr);
+ std::_Exit(1);
+ }
std::fflush(stdout);
std::fflush(stderr);
std::_Exit(0);