File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -322,16 +322,16 @@ impl<
322322 } ;
323323 let mut vids: Vec < VectorId > = Vec :: new ( ) ;
324324 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- } ) ;
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+ // });
335335
336336 eprintln ! ( "generating" ) ;
337337 let hnsw: Hnsw < QuantizedComparator > =
You can’t perform that action at this time.
0 commit comments