wip-4b2
CI / test (push) Failing after 3s

This commit is contained in:
Omar Sobh
2026-08-07 06:24:50 -07:00
parent d8d3ee5f98
commit 211b8f8c81
@@ -726,10 +726,9 @@ fn main() {
);
// Build the embedding table once for the whole corpus, if asked for.
let embeddings: Option<EmbeddingMap> = match weights_dir.as_deref() {
None => None,
Some(dir) => Some(load_embeddings(dir, &questions)),
};
let embeddings: Option<EmbeddingMap> = weights_dir
.as_deref()
.map(|dir| load_embeddings(dir, &questions));
if embeddings.is_none() && weights_dir.is_some() {
eprintln!("warning: --embeddings ignored (build with --features embeddings)");
}