remove useless dbg

This commit is contained in:
Tamo 2024-06-04 18:18:24 +02:00
parent 6b29676e7e
commit b867829ef1
2 changed files with 0 additions and 2 deletions

View File

@ -5465,7 +5465,6 @@ mod tests {
// the document with the id 4 should generate an embedding
let docid = index.external_documents_ids.get(&rtxn, "4").unwrap().unwrap();
let embeddings = index.embeddings(&rtxn, docid).unwrap();
dbg!(&embeddings);
let embedding = &embeddings["my_doggo_embedder"];
assert!(!embedding.is_empty());

View File

@ -163,7 +163,6 @@ impl Embedder {
text_chunks: Vec<Vec<String>>,
threads: &ThreadPoolNoAbort,
) -> Result<Vec<Vec<Embeddings<f32>>>, EmbedError> {
dbg!(&text_chunks);
threads
.install(move || {
text_chunks.into_par_iter().map(move |chunk| self.embed(chunk)).collect()