mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5717] [Issue]: Large lorebook vectorization times out #3163
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5717
Originally assigned to: @Gunterlie on GitHub.
Summary
Vectorizing a lorebook with 72 entries fails because embedding batch requests to a llama.cpp embedding server time out.
Expected behavior
All lorebook entries should be vectorized successfully without embedding requests timing out.
Actual behavior
Lorebook vectorization fails with repeated
TypeError: fetch failederrors caused byread ETIMEDOUT.Steps to reproduce
Qwen3-Embedding-8B.i1-Q6_K.gguf.Environment
e96412040c)Logs, screenshots, or video
Repeated log entries:
{"level":40,"time":1788245200792,"pid":9,"hostname":"7b200db02d62","err":{"type":"TypeError","message":"fetch failed: read ETIMEDOUT","stack":"TypeError: fetch failed\ncaused by: Error: read ETIMEDOUT\n at TCP.onStreamRead (node:internal/stream_base_commons:216:20)"},"msg":"[lorebooks] Embedding batch failed"}and a second equivalent failure at time1788245311384. Attachments: https://cdn.discordapp.com/attachments/1544239330825080892/1544239331923726346/image.png?ex=6a97c873&is=6a9676f3&hm=de72c6129832e410d2df879e27f903729d43c68fc4ef5eeb23ba1b65a58c1313& and https://cdn.discordapp.com/attachments/1544239330825080892/1544239332305535016/image.png?ex=6a97c873&is=6a9676f3&hm=7aac429347fbab54c963fdc6d0321be42b6e6a424242c88ea125da9700f466f4&Additional context
Embedding is served by llama.cpp with
Qwen3-Embedding-8B.i1-Q6_K.gguf. Diagnostics reported heap usage of 690 / 4288 MiB, RSS of 926.4 MiB, no detected freeze, and background wake lock status not reported.Discord thread: [BUG]: Timeout / Fetch Failed on Large Lorebook Vectorization
Discord thread link: https://discord.com/channels/1417099416812392641/1544239330825080892
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: