Segmentation fault on tensor conversion #1934
Replies: 1 comment
-
Hey! Looks like you're hitting a classic case of runtime collapse during tensor conversion — often caused by an incompatible backend, unsupported gguf variation, or embedding mode not being fully set up in the wrapper layer. If helpful, I’ve cataloged this kind of issue as BBCR in the WFGY Problem Map — which covers common LLM-related crashes, including segmentation faults like this one. You can check if your stack matches any known patterns (e.g., embedding=True without full alignment to the gguf tokenizer metadata, or unsafe torch conversion when the embedding layer didn’t return the expected shape/type). In case you're curious, I also open-sourced the reasoning engine behind this map (MIT license), and the PDF version of it includes a breakdown of the WFGY formula and system-level stabilizers. Let me know if you'd like a deeper diagnosis — happy to compare stack traces. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
trying to convert embedding into tensor leads to Segmentation fault:
code
logs
venv package list
Beta Was this translation helpful? Give feedback.
All reactions