Repository navigation
fix: security hardening and bug fixes (1.0.9) - #36
Merged
Merged
Conversation
- route llama logging through a registry of live connections (no dangling pointer) - make the llm_chat cursor robust to context/sampler/model/chat being freed mid-stream - bound audio resampling, validate type_k/type_v and whisper offset/duration - use sqlite3_malloc64 where sizes could truncate to int - llm_model_cls_label() accepts zero or one argument - various chat, vision, embedding and utils fixes (see CHANGELOG.md) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Forcing n_ubatch = n_batch for every embedding context made a causal model with a huge context_size allocate compute buffers for the whole context on backends without flash attention, which failed llm_embed_nctx_exceeds_train on the Linux CPU runners. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security hardening and bug fixes; bumps
SQLITE_AI_VERSIONto 1.0.9 and addsCHANGELOG.md.llm_chat()cursor returns an SQL error if context/sampler/model/chat are freed mid-streamtype_k/type_vand whisperoffset_ms/duration_msvalidatedsqlite3_malloc64at truncating allocation sitesllm_model_cls_label()callable with zero or one argumentVerified: 56/56 C tests with
.loadsmoke test (Homebrew sqlite3 3.54.1), README/API.md examples including vision, LoRA and infill, and PoCs for each finding.🤖 Generated with Claude Code