Amr Gharbeia
d3b74f5c88
v0.4.1: native embedding CFFI — full pipeline working, daemon-wired, HITL bug fixed
- Native backend returns 768-dim vectors via llama.cpp / C wrapper (/usr/local/lib/libllama_wrap.so)
- Wired :native into embed-object dispatch and exported from passepartout package
- Model preloads at daemon startup with EMBEDDING_PROVIDER=native (~30s)
- Lazy loading via *embedding-backend* :native also works (first call ~45s)
- C wrapper bridges CFFI pointer params to llama.cpp struct-by-value API
- Correct struct layouts: llama_model_params(72B), llama_context_params(136B), llama_batch(56B)
- BERT pooling: llama_get_embeddings_seq, llama_tokenize takes vocab* not model*
- FiveAM tests pass: dimensions, self-similarity, semantic ranking
- Fixed pre-existing HITL crash: boundp guard for *hitl-pending* in core-loop-act
- Lazy load guard prevents double-load of native file in embedding-native-ensure-loaded
- ROADMAP: v0.4.0 items marked DONE, v0.4.1 native embedding updated with actual implementation
2026-05-07 09:55:33 -04:00
..
2026-05-06 21:50:40 -04:00
2026-05-06 19:39:30 -04:00
2026-05-07 09:55:33 -04:00
2026-05-07 09:55:33 -04:00
2026-05-05 12:19:25 -04:00
2026-05-06 19:45:05 -04:00
2026-05-05 12:19:25 -04:00
2026-05-06 21:50:40 -04:00
2026-05-06 18:43:25 -04:00
2026-05-06 18:43:25 -04:00
2026-05-06 15:50:20 -04:00
2026-05-06 20:56:41 -04:00
2026-05-06 21:50:40 -04:00
2026-05-06 20:20:31 -04:00
2026-05-06 19:48:37 -04:00
2026-05-05 12:36:42 -04:00
2026-05-05 20:48:58 -04:00
2026-05-06 18:43:25 -04:00
2026-05-05 20:06:21 -04:00
2026-05-05 11:51:17 -04:00
2026-05-06 19:42:08 -04:00
2026-05-06 18:43:25 -04:00
2026-05-06 18:43:25 -04:00
2026-05-06 18:43:25 -04:00
2026-05-05 12:08:12 -04:00
2026-05-02 22:25:24 -04:00
2026-05-06 18:43:25 -04:00
2026-05-05 20:48:58 -04:00
2026-05-05 14:26:27 -04:00
2026-05-05 20:06:21 -04:00
2026-05-05 20:48:58 -04:00
2026-05-03 12:32:28 -04:00
2026-05-06 11:40:08 -04:00
2026-05-04 18:34:33 -04:00
2026-05-07 09:55:33 -04:00
2026-05-07 09:55:33 -04:00
2026-05-05 12:36:42 -04:00
2026-05-06 08:26:57 -04:00
2026-05-06 08:26:57 -04:00
2026-05-04 09:58:59 -04:00
2026-05-03 14:49:13 -04:00