LocalAI/core/backend
LocalAI [bot] c6a51289b0
fix: Automatically disable mmap for Intel SYCL backends (#9012) (#9015)
* fix: Automatically disable mmap for Intel SYCL backends

Fixes issue #9012 where Qwen3.5 models fail to load on Intel Arc GPU
with RPC EOF error.

The Intel SYCL backend has a known issue where mmap enabled causes
the backend to hang. This change automatically disables mmap when
detecting Intel or SYCL backends.

References:
- https://github.com/mudler/LocalAI/issues/9012
- Documentation mentions: SYCL hangs when mmap: true is set

* feat: Add logging for mmap auto-disable on Intel SYCL backends

As requested in PR review, add xlog.Info call to log when mmap
is automatically disabled for Intel SYCL backends. This helps
with debugging and confirms the auto-disable logic is working.

---------

Co-authored-by: localai-bot <localai-bot@users.noreply.github.com>
2026-03-15 21:06:35 +01:00
..
backend_suite_test.go feat: extract output with regexes from LLMs (#3491) 2024-09-13 13:27:36 +02:00
detection.go feat(loader): enhance single active backend to support LRU eviction (#7535) 2025-12-12 12:28:38 +01:00
embeddings.go fix: return full embedding dimensions instead of truncating trailing zeros (#8721) (#8755) 2026-03-03 17:08:16 +01:00
image.go feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00
llm.go feat(realtime): WebRTC support (#8790) 2026-03-13 21:37:15 +01:00
llm_test.go feat(backends): add system backend, refactor (#6059) 2025-08-14 19:38:26 +02:00
options.go fix: Automatically disable mmap for Intel SYCL backends (#9012) (#9015) 2026-03-15 21:06:35 +01:00
rerank.go feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00
soundgeneration.go feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00
stores.go feat: refactor build process, drop embedded backends (#5875) 2025-07-22 16:31:04 +02:00
token_metrics.go feat(loader): enhance single active backend to support LRU eviction (#7535) 2025-12-12 12:28:38 +01:00
tokenize.go feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00
transcript.go feat(realtime): WebRTC support (#8790) 2026-03-13 21:37:15 +01:00
tts.go feat(realtime): WebRTC support (#8790) 2026-03-13 21:37:15 +01:00
vad.go feat(loader): enhance single active backend to support LRU eviction (#7535) 2025-12-12 12:28:38 +01:00
video.go feat(traces): Add backend traces (#8609) 2026-02-20 23:47:33 +01:00