Repository navigation
chore(deps): update lattice-embed and lattice-inference to 0.11.1 - #1198
Draft
ohdearquant wants to merge 3 commits into
Draft
ohdearquant wants to merge 3 commits into
ohdearquant wants to merge 3 commits into
Conversation
Moves the optional lattice dependencies from 0.6.1 to 0.11.1 in ruvector-core and ruvllm, with the lockfile resolved for the new versions (lattice-fann 0.11.1 enters through the metal-gpu feature). lattice-inference 0.11 exports GenerateConfig at the crate root and marks it non_exhaustive, so the backend now imports it from there and builds it from its default with the mapped fields assigned one by one. Refs ruvnet#1196
ohdearquant
marked this pull request as draft
October 24, 2026 20:23
Owner
|
Held back, not merged. Tested on current main with #1200/#1204/#1203: the ruvllm lib suite passes (1656) and |
This branch has not been deployed
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.
Summary
Moves the optional lattice dependencies from 0.6.1 to 0.11.1:
crates/ruvector-core/Cargo.toml:lattice-embed0.6.1 to 0.11.1 (optional,lattice-embeddingsfeature).crates/ruvllm/Cargo.toml:lattice-inference0.6.1 to 0.11.1 (optional,latticefeature, macOS only).Cargo.lock: both crates at 0.11.1.lattice-fann0.11.1 is new in the lock becauselattice-inference'smetal-gpufeature now depends on it;lru0.16.4 drops out. No other package's version or dependency list changes.crates/ruvllm/src/backends/lattice_backend.rs: importsGenerateConfigfrom the crate root (the oldmodel::qwen35_config::GenerateConfigpath is a deprecated alias in 0.11) and builds it fromGenerateConfig::default()with the mapped fields assigned one by one.That last point corrects the compatibility note in #1196:
GenerateConfigis#[non_exhaustive]in 0.11, so the existing struct literal with..GenerateConfig::default()no longer compiles outside lattice (E0639). The field mapping is unchanged. The newmin_pfield keeps its default of 0.0, which disables it.npm/packages/ruvector-extensionskeeps@khive-ai/lattice-embed-wasm ^0.6.1, since 0.6.1 is still the newest npm release of that package.Both features stay off by default, so default builds are unaffected.
Lockfile note
The first commit produced the lock with
cargo update -p lattice-embed --precise 0.11.1(and the same forlattice-inference). That also re-selected 15 unrelated dependency edges onto older versions already in the lock (for examplerustix,tempfileanderrnomoving fromwindows-sys0.61.2 to 0.59.0, andprost-buildfromheck0.5.0 /itertools0.14.0 to 0.4.1 / 0.10.5). The second commit replaces it with the lock cargo writes on its own after the two manifest edits, so the lock diff againstmainis only the lattice entries listed above.Checks
Linux x86_64 (Rust 1.98), the full change at e3d82b1, re-run on the second commit's lock with
--lockedon every cargo command:cargo fmt --all -- --checkcargo check -p ruvector-core --features lattice-embeddings --all-targetscargo clippy -p ruvector-core --features lattice-embeddings --all-targets -- -W warningsruvector-attention's bench target)cargo test -p ruvector-core --features lattice-embeddings --lib embeddingscargo check -p ruvllm --features latticemacOS on Apple silicon (Rust 1.93), the same tree, re-run on the second commit's lock (
to_generate_configis compiled only on macOS):cargo check --locked -p ruvllm --features latticecargo clippy --locked -p ruvllm --features lattice --all-targets -- -W warningslattice_backend.rs, no deprecation warningsmainhas moved one commit since (NAPI binaries), which touches none of these files.Refs #1196