|
|
52a8386282
|
v0.4.1: native embedding CFFI — working backend init, model metadata loads
Deploy (Gitea) / deploy (push) Failing after 2s
Key discoveries:
- llamba_backend_init works (after sb-int:set-floating-point-modes :traps nil)
- llama_model_default_params fills 72-byte struct correctly
- Bad path test: returns NULL pointer, SBCL handles gracefully
- Real model: loads metadata (768-dim, 12-layer nomic-bert), then
NULL pointer in weight init (likely tensor_split/devices field)
Standalone test file: test/test_native_embedding_standalone.lisp
Reproduced: sbcl --load quicklisp/setup.lisp --eval '(ql:quickload :cffi)'
--load test/test_native_embedding_standalone.lisp
Next: GDB debugging session needed to pinpoint which struct field
causes the NULL dereference during Model weight loading.
|
2026-05-06 22:09:36 -04:00 |
|