deps: remove faer (224 transitive crates)
Spectral decomposition (eigenvalue computation) removed — it was only used by the spectral-save CLI command. The spectral embedding reader and query engine features remain (they load pre-computed embeddings from disk, no faer needed). Removes: faer, nano-gemm, private-gemm, and ~220 other transitive dependencies. Significant build time and artifact size reduction. Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c1a5638be5
commit
917960cb76
9 changed files with 5 additions and 900 deletions
41
src/main.rs
41
src/main.rs
|
|
@ -423,42 +423,6 @@ enum GraphCmd {
|
|||
},
|
||||
/// Show graph structure overview
|
||||
Overview,
|
||||
/// Spectral decomposition of the memory graph
|
||||
Spectral {
|
||||
/// Number of eigenvectors (default: 30)
|
||||
#[arg(default_value_t = 30)]
|
||||
k: usize,
|
||||
},
|
||||
/// Compute and save spectral embedding
|
||||
#[command(name = "spectral-save")]
|
||||
SpectralSave {
|
||||
/// Number of eigenvectors (default: 20)
|
||||
#[arg(default_value_t = 20)]
|
||||
k: usize,
|
||||
},
|
||||
/// Find spectrally nearest nodes
|
||||
#[command(name = "spectral-neighbors")]
|
||||
SpectralNeighbors {
|
||||
/// Node key
|
||||
key: String,
|
||||
/// Number of neighbors (default: 15)
|
||||
#[arg(default_value_t = 15)]
|
||||
n: usize,
|
||||
},
|
||||
/// Show nodes ranked by outlier/bridge score
|
||||
#[command(name = "spectral-positions")]
|
||||
SpectralPositions {
|
||||
/// Number of nodes to show (default: 30)
|
||||
#[arg(default_value_t = 30)]
|
||||
n: usize,
|
||||
},
|
||||
/// Find spectrally close but unlinked pairs
|
||||
#[command(name = "spectral-suggest")]
|
||||
SpectralSuggest {
|
||||
/// Number of pairs (default: 20)
|
||||
#[arg(default_value_t = 20)]
|
||||
n: usize,
|
||||
},
|
||||
/// Diagnose duplicate/overlapping nodes for a topic cluster
|
||||
Organize {
|
||||
/// Search term (matches node keys; also content unless --key-only)
|
||||
|
|
@ -864,11 +828,6 @@ impl Run for GraphCmd {
|
|||
Self::Interference { threshold } => cli::graph::cmd_interference(threshold),
|
||||
Self::Communities { top_n, min_size } => cli::graph::cmd_communities(top_n, min_size),
|
||||
Self::Overview => cli::graph::cmd_graph(),
|
||||
Self::Spectral { k } => cli::graph::cmd_spectral(k),
|
||||
Self::SpectralSave { k } => cli::graph::cmd_spectral_save(k),
|
||||
Self::SpectralNeighbors { key, n } => cli::graph::cmd_spectral_neighbors(&key, n),
|
||||
Self::SpectralPositions { n } => cli::graph::cmd_spectral_positions(n),
|
||||
Self::SpectralSuggest { n } => cli::graph::cmd_spectral_suggest(n),
|
||||
Self::Organize { term, threshold, key_only, anchor }
|
||||
=> cli::graph::cmd_organize(&term, threshold, key_only, anchor),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue