We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c6f810 commit 22b9d97Copy full SHA for 22b9d97
parallel-hnsw/src/pq.rs
@@ -322,16 +322,16 @@ impl<
322
};
323
let mut vids: Vec<VectorId> = Vec::new();
324
eprintln!("quantizing");
325
- keepalive!(progress, {
326
- for chunk in comparator.vector_chunks() {
327
- let quantized: Vec<_> = chunk
328
- .into_par_iter()
329
- .map(|v| centroid_quantizer.quantize(&v))
330
- .collect();
331
-
332
- vids.extend(quantized_comparator.store(Box::new(quantized.into_iter())));
333
- }
334
- });
+ //keepalive!(progress, {
+ for chunk in comparator.vector_chunks() {
+ let quantized: Vec<_> = chunk
+ .into_par_iter()
+ .map(|v| centroid_quantizer.quantize(&v))
+ .collect();
+
+ vids.extend(quantized_comparator.store(Box::new(quantized.into_iter())));
+ }
+ //});
335
336
eprintln!("generating");
337
let hnsw: Hnsw<QuantizedComparator> =
0 commit comments