@@ -416,7 +416,6 @@ where
416416 FieldEngine < CircuitField = FBasic :: CircuitField , ChallengeField = FBasic :: ChallengeField > ,
417417 T : Transcript ,
418418{
419-
420419 let input_vals_multi_copies = local_commitment_values_multi_copies
421420 . iter ( )
422421 . map ( |local_commitment_values| {
@@ -714,9 +713,16 @@ fn wait_for_dependencies(task_name: &str, dependencies: &[String], my_rank: usiz
714713
715714 // Only log if actually waited
716715 if !waited_deps. is_empty ( ) && my_rank % 8 == 0 {
717- eprintln ! ( "[RANK {}] Task {} waited for {} deps (longest: {:.1}s)" ,
718- my_rank, task_name, waited_deps. len( ) ,
719- waited_deps. iter( ) . map( |( _, t) | t) . fold( 0.0f64 , |a, & b| a. max( b) ) ) ;
716+ eprintln ! (
717+ "[RANK {}] Task {} waited for {} deps (longest: {:.1}s)" ,
718+ my_rank,
719+ task_name,
720+ waited_deps. len( ) ,
721+ waited_deps
722+ . iter( )
723+ . map( |( _, t) | t)
724+ . fold( 0.0f64 , |a, & b| a. max( b) )
725+ ) ;
720726 }
721727}
722728
@@ -800,8 +806,11 @@ where
800806
801807 if global_mpi_config. is_root ( ) {
802808 eprintln ! ( "========== SCHEDULER MODE ==========" ) ;
803- eprintln ! ( " Schedule: {} ranks, max {} steps" ,
804- schedule. rank_tasks. len( ) , schedule. max_steps( ) ) ;
809+ eprintln ! (
810+ " Schedule: {} ranks, max {} steps" ,
811+ schedule. rank_tasks. len( ) ,
812+ schedule. max_steps( )
813+ ) ;
805814 }
806815
807816 // Safety checks
@@ -855,7 +864,10 @@ where
855864 deps
856865 }
857866 Err ( e) => {
858- eprintln ! ( "[RANK {}] ERROR: Failed to load dependencies: {}" , my_rank, e) ;
867+ eprintln ! (
868+ "[RANK {}] ERROR: Failed to load dependencies: {}" ,
869+ my_rank, e
870+ ) ;
859871 HashMap :: new ( )
860872 }
861873 }
@@ -882,7 +894,10 @@ where
882894 let mut task_mpi_configs: HashMap < String , Option < MPIConfig < ' static > > > = HashMap :: new ( ) ;
883895
884896 if global_mpi_config. is_root ( ) {
885- eprintln ! ( " Pre-creating MPI subgroups for {} tasks..." , all_unique_tasks. len( ) ) ;
897+ eprintln ! (
898+ " Pre-creating MPI subgroups for {} tasks..." ,
899+ all_unique_tasks. len( )
900+ ) ;
886901 }
887902
888903 for task_name in & all_unique_tasks {
@@ -1044,7 +1059,6 @@ where
10441059 ) ;
10451060
10461061 let gkr_end_state = if let Some ( ref local_config) = local_mpi_config {
1047-
10481062 prove_kernel_gkr_no_oversubscribe :: < GetFieldConfig < ZC > , GetTranscript < ZC > , ZC :: ECCConfig > (
10491063 local_config,
10501064 & computation_graph. kernels ( ) [ template. kernel_id ( ) ] ,
@@ -1202,7 +1216,6 @@ where
12021216
12031217 // Step 1: Non-root subgroup roots send their results to rank 0
12041218 if i_am_subgroup_root && my_rank != 0 {
1205-
12061219 // Serialize the indexed structures (maintains template order)
12071220 let mut vals_bytes = Vec :: new ( ) ;
12081221 vals_per_template. serialize_into ( & mut vals_bytes) . unwrap ( ) ;
@@ -1325,7 +1338,6 @@ where
13251338 all_proofs[ template_idx] = received_all_proofs[ template_idx] . clone ( ) ;
13261339 }
13271340 }
1328-
13291341 }
13301342
13311343 // Build final vals_ref and challenges in template order
@@ -1342,12 +1354,19 @@ where
13421354 }
13431355
13441356 let completed_templates = all_proofs. iter ( ) . filter ( |p| p. is_some ( ) ) . count ( ) ;
1345- eprintln ! ( "Result collection: {}/{} templates, {} vals, {} challenges" ,
1346- completed_templates, num_templates,
1347- vals_ref_owned. len( ) , challenges_final. len( ) ) ;
1357+ eprintln ! (
1358+ "Result collection: {}/{} templates, {} vals, {} challenges" ,
1359+ completed_templates,
1360+ num_templates,
1361+ vals_ref_owned. len( ) ,
1362+ challenges_final. len( )
1363+ ) ;
13481364
13491365 if completed_templates < num_templates {
1350- eprintln ! ( "⚠️ WARNING: Only {}/{} templates completed!" , completed_templates, num_templates) ;
1366+ eprintln ! (
1367+ "⚠️ WARNING: Only {}/{} templates completed!" ,
1368+ completed_templates, num_templates
1369+ ) ;
13511370 for ( idx, val) in vals_per_template. iter ( ) . enumerate ( ) {
13521371 if val. is_none ( ) {
13531372 eprintln ! ( " Missing: Template {}" , idx) ;
0 commit comments