mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-22 19:56:25 +00:00
* fix(postgres): wrap optional-feature SQL functions in DO exception blocks `CREATE EXTENSION ruvector` was failing when the extension was built without optional feature flags (solver, math-distances, tda, attention-extended, sona-learning, domain-expansion) because the SQL migration unconditionally registered C functions whose symbols didn't exist in the compiled .so file. Wrap all 6 optional-feature sections in DO $ BEGIN ... EXCEPTION WHEN OTHERS THEN RAISE NOTICE ... END $ blocks so PostgreSQL gracefully skips missing C function symbols and logs an informational notice instead of aborting the entire extension load. Fixes #325 Co-Authored-By: claude-flow <ruv@ruv.net> * fix(ruvllm): reject unsupported GGUF architectures with a clear error + add Qwen2/Gemma metadata keys Previously, loading a Qwen2/Phi/Gemma GGUF file silently fell back to mock inference (reporting ~500K tok/s) because qlama::ModelWeights::from_gguf only understands Llama tensor naming conventions. Users had no indication the model was not actually running. - Read general.architecture from GGUF metadata before attempting to load weights - Return RuvLLMError::Model with a clear explanation when the architecture is not llama/mistral-compatible, rather than silently using the wrong weight loader - Add qwen2.*, gemma.*, gemma3.* metadata keys to all config extraction calls so config values are correctly read from Qwen2/Gemma GGUF files (useful when full architecture support is added in the future) Fixes #324 Co-Authored-By: claude-flow <ruv@ruv.net> --------- Co-authored-by: ruvnet <ruvnet@gmail.com> |
||
|---|---|---|
| .. | ||
| backends | ||
| bitnet | ||
| claude_flow | ||
| context | ||
| evaluation | ||
| gguf | ||
| hub | ||
| intelligence | ||
| kernels | ||
| lora | ||
| metal | ||
| models | ||
| moe | ||
| optimization | ||
| qat | ||
| quality | ||
| quantize | ||
| reasoning_bank | ||
| reflection | ||
| serving | ||
| sona | ||
| tests | ||
| training | ||
| adapter_manager.rs | ||
| autodetect.rs | ||
| capabilities.rs | ||
| error.rs | ||
| kv_cache.rs | ||
| lib.rs | ||
| memory_pool.rs | ||
| paged_attention.rs | ||
| policy_store.rs | ||
| ruvector_integration.rs | ||
| session.rs | ||
| session_index.rs | ||
| speculative.rs | ||
| tokenizer.rs | ||
| types.rs | ||
| witness_log.rs | ||