okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221bench: community report, Intel Arc Pro B65 32 GB (SYCL), IQ2_XS (PR #955)98d1c8d4f

main
976 B19 linesraw
1--- a/sycl/src/program/generate.cpp
2+++ b/sycl/src/program/generate.cpp
3@@ -7363,7 +7363,15 @@
4         save_profile("exit");   // #477: QUIT, or the server closed stdin
5         // SYCL port: the requests are done and their output written; leave without unwinding the GPU objects (the OS
6         // reclaims them). Their destructors ran against a runtime already shutting down and aborted (exit 139).
7-        try { dpct::get_current_device().queues_wait_and_throw(); } catch (...) {}
8+        try {
9+            dpct::get_current_device().queues_wait_and_throw();
10+            // Release the direct-access USM host mirror before process teardown.
11+            gguf_src.close();
12+        } catch (const std::exception& e) {
13+            std::fprintf(stderr, "strata shutdown: mirror release failed: %s\n", e.what());
14+            std::fflush(stderr);
15+            std::_Exit(1);
16+        }
17         std::fflush(stdout);
18         std::fflush(stderr);
19         std::_Exit(0);