@@ -85,7 +85,7 @@ impl Default for ExecutionProverConfiguration {
8585 prover_context_config : Default :: default ( ) ,
8686 host_allocator_backing_allocation_size : 1 << 26 , // 64 MB
8787 replay_worker_threads_count : 4 ,
88- host_allocators_per_worker_count : 16 , // 1 GB
88+ host_allocators_per_worker_count : 64 , // 4 GB
8989 host_allocators_per_device_count : 64 , // 4 GB
9090 }
9191 }
@@ -450,12 +450,12 @@ impl<K: Clone + Debug + Eq + Hash> ExecutionProver<K> {
450450 } = commitment;
451451 trace ! ( "BATCH[{batch_id}] PROVER received memory commitment for circuit {circuit_type:?}[{sequence_id}]" ) ;
452452 if let Some ( inits_and_teardowns) = inits_and_teardowns {
453- if let Some ( allocator) = inits_and_teardowns. get_allocator ( ) {
453+ for allocator in inits_and_teardowns. into_allocators ( ) {
454454 self . free_allocators_sender . send ( allocator) . unwrap ( ) ;
455455 }
456456 }
457457 if let Some ( tracing_data) = tracing_data {
458- if let Some ( allocator) = tracing_data. get_allocator ( ) {
458+ for allocator in tracing_data. into_allocators ( ) {
459459 self . free_allocators_sender . send ( allocator) . unwrap ( ) ;
460460 }
461461 }
@@ -476,12 +476,12 @@ impl<K: Clone + Debug + Eq + Hash> ExecutionProver<K> {
476476 } = proof;
477477 trace ! ( "BATCH[{batch_id}] PROVER received proof for circuit {circuit_type:?}[{sequence_id}]" ) ;
478478 if let Some ( inits_and_teardowns) = inits_and_teardowns {
479- if let Some ( allocator) = inits_and_teardowns. get_allocator ( ) {
479+ for allocator in inits_and_teardowns. into_allocators ( ) {
480480 self . free_allocators_sender . send ( allocator) . unwrap ( ) ;
481481 }
482482 }
483483 if let Some ( tracing_data) = tracing_data {
484- if let Some ( allocator) = tracing_data. get_allocator ( ) {
484+ for allocator in tracing_data. into_allocators ( ) {
485485 self . free_allocators_sender . send ( allocator) . unwrap ( ) ;
486486 }
487487 }
@@ -1406,9 +1406,9 @@ mod tests {
14061406 & binary_image,
14071407 & text_section,
14081408 ) ;
1409- let non_determinism_source = QuasiUARTSource :: new_with_reads ( vec ! [ 1 << 20 , 1 << 16 ] ) ;
1409+ let non_determinism_source = QuasiUARTSource :: new_with_reads ( vec ! [ 1 << 26 , 0 ] ) ;
14101410 let ( _, result) =
1411- prover. get_results ( false , 0 , & 0usize , 1 << 30 , non_determinism_source, None ) ;
1411+ prover. get_results ( false , 0 , & 0usize , 1 << 36 , non_determinism_source, None ) ;
14121412 // match result {
14131413 // ExecutionProverResult::MemoryCommitment(memory_commitment) => {
14141414 // for (circuit_type, commitment) in memory_commitment
0 commit comments