From e43908e1e46006306df5dde47c2c54bc88c35fd4 Mon Sep 17 00:00:00 2001 From: Chris Tian Date: Thu, 2 Jan 2025 22:08:50 +0000 Subject: [PATCH] bump rpc --- .github/workflows/suite.yml | 2 +- crates/perf/src/main.rs | 10 +- crates/perf/workflow_prove.sh | 456 ++++++++++++++++++---------------- 3 files changed, 249 insertions(+), 219 deletions(-) diff --git a/.github/workflows/suite.yml b/.github/workflows/suite.yml index 272f579dd..e864f6fae 100644 --- a/.github/workflows/suite.yml +++ b/.github/workflows/suite.yml @@ -209,4 +209,4 @@ jobs: SP1_PROVER: network SP1_PRIVATE_KEY: ${{ secrets.SP1_PRIVATE_KEY }} NETWORK_PRIVATE_KEY: ${{ secrets.NETWORK_PRIVATE_KEY }} - NETWORK_RPC_URL: "https://rpc.production2.succinct.tools" \ No newline at end of file + NETWORK_RPC_URL: "https://rpc.temp.succinct.tools" diff --git a/crates/perf/src/main.rs b/crates/perf/src/main.rs index f07ee7688..da9521021 100644 --- a/crates/perf/src/main.rs +++ b/crates/perf/src/main.rs @@ -192,21 +192,21 @@ fn main() { } ProverMode::Network => { let prover = ProverClient::builder().network().build(); - let (_, _) = time_operation(|| prover.execute(&elf, &stdin)); + // let (_, _) = time_operation(|| prover.execute(&elf, &stdin)); - let prover = ProverClient::builder().network().build(); + // let prover = ProverClient::builder().network().build(); - let (_, _) = time_operation(|| prover.execute(&elf, &stdin)); + // let (_, _) = time_operation(|| prover.execute(&elf, &stdin)); let use_groth16: bool = rand::thread_rng().gen(); if use_groth16 { let (proof, _) = - time_operation(|| prover.prove(&pk, &stdin).groth16().run().unwrap()); + time_operation(|| prover.prove(&pk, &stdin).skip_simulation(true).groth16().run().unwrap()); let (_, _) = time_operation(|| prover.verify(&proof, &vk)); } else { let (proof, _) = - time_operation(|| prover.prove(&pk, &stdin).plonk().run().unwrap()); + time_operation(|| prover.prove(&pk, &stdin).skip_simulation(true).plonk().run().unwrap()); let (_, _) = time_operation(|| prover.verify(&proof, &vk)); } diff --git a/crates/perf/workflow_prove.sh b/crates/perf/workflow_prove.sh index 6faff58e7..80de321d0 100755 --- a/crates/perf/workflow_prove.sh +++ b/crates/perf/workflow_prove.sh @@ -31,112 +31,112 @@ NETWORK_WORKLOADS=( "v4/blobstream-10476-10547" "v4/blobstream-10552-10820" "v4/blobstream-10666-10849" - "v4/blobstream-10873-11833" - "v4/blobstream-10983-11478" - "v4/blobstream-11220-11619" - "v4/blobstream-11297-12243" - "v4/blobstream-11393-11455" - "v4/blobstream-1144-1235" - "v4/blobstream-11509-12149" - "v4/blobstream-11526-12448" - "v4/blobstream-11688-12155" - "v4/blobstream-1211-1249" - "v4/blobstream-12130-12394" - "v4/blobstream-1238-2149" - "v4/blobstream-12532-12763" - "v4/blobstream-1257-1835" - "v4/blobstream-12620-13504" - "v4/blobstream-12987-13378" - "v4/blobstream-13361-13965" - "v4/blobstream-13375-14264" - "v4/blobstream-1380-2098" - "v4/blobstream-13967-14032" - "v4/blobstream-14166-14647" - "v4/blobstream-14446-14985" - "v4/blobstream-14480-14869" - "v4/blobstream-14490-14607" - "v4/blobstream-14625-14821" - "v4/blobstream-15108-15559" - "v4/blobstream-15795-16380" - "v4/blobstream-17176-17190" - "v4/blobstream-17346-17579" - "v4/blobstream-1784-1991" - "v4/blobstream-17854-18628" - "v4/blobstream-18108-18990" - "v4/blobstream-18254-19020" - "v4/blobstream-1847-2176" - "v4/blobstream-18509-18920" - "v4/blobstream-1864-2105" - "v4/blobstream-18820-19529" - "v4/blobstream-1918-2761" - "v4/blobstream-19477-19767" - "v4/blobstream-19646-20138" - "v4/blobstream-19651-19705" - "v4/blobstream-2048-3048" - "v4/blobstream-224-735" - "v4/blobstream-2285-2391" - "v4/blobstream-2326-2695" - "v4/blobstream-2372-3155" - "v4/blobstream-3107-3544" - "v4/blobstream-3448-4438" - "v4/blobstream-3541-4011" - "v4/blobstream-4071-4323" - "v4/blobstream-4111-4575" - "v4/blobstream-4145-4955" - "v4/blobstream-4209-5050" - "v4/blobstream-4472-4730" - "v4/blobstream-4609-5541" - "v4/blobstream-4644-5079" - "v4/blobstream-4671-5497" - "v4/blobstream-4796-5466" - "v4/blobstream-4817-5259" - "v4/blobstream-5051-5469" - "v4/blobstream-5061-5958" - "v4/blobstream-5202-5805" - "v4/blobstream-5289-5877" - "v4/blobstream-5480-6102" - "v4/blobstream-5482-6230" - "v4/blobstream-5725-6605" - "v4/blobstream-576-1544" - "v4/blobstream-5808-6763" - "v4/blobstream-583-1315" - "v4/blobstream-590-1210" - "v4/blobstream-6027-6921" - "v4/blobstream-627-964" - "v4/blobstream-6297-6712" - "v4/blobstream-6369-6979" - "v4/blobstream-6370-7053" - "v4/blobstream-6378-7064" - "v4/blobstream-6420-6501" - "v4/blobstream-6491-7323" - "v4/blobstream-6551-6586" - "v4/blobstream-656-1533" - "v4/blobstream-6599-7086" - "v4/blobstream-6637-7604" - "v4/blobstream-6754-7168" - "v4/blobstream-6775-7063" - "v4/blobstream-6945-7480" - "v4/blobstream-7144-7203" - "v4/blobstream-729-1184" - "v4/blobstream-7356-7984" - "v4/blobstream-7364-7576" - "v4/blobstream-7528-8446" - "v4/blobstream-7806-8758" - "v4/blobstream-8059-9043" - "v4/blobstream-8228-9162" - "v4/blobstream-8239-9109" - "v4/blobstream-8366-9145" - "v4/blobstream-8368-8370" - "v4/blobstream-8581-9358" - "v4/blobstream-8649-9142" - "v4/blobstream-8934-9690" - "v4/blobstream-9217-10050" - "v4/blobstream-9406-10330" - "v4/blobstream-958-1141" - "v4/blobstream-9735-9883" - "v4/blobstream-9837-10292" - "v4/blobstream-9941-10566" - "v4/blobstream-9960-10420" +# "v4/blobstream-10873-11833" +# "v4/blobstream-10983-11478" +# "v4/blobstream-11220-11619" +# "v4/blobstream-11297-12243" +# "v4/blobstream-11393-11455" +# "v4/blobstream-1144-1235" +# "v4/blobstream-11509-12149" +# "v4/blobstream-11526-12448" +# "v4/blobstream-11688-12155" +# "v4/blobstream-1211-1249" +# "v4/blobstream-12130-12394" +# "v4/blobstream-1238-2149" +# "v4/blobstream-12532-12763" +# "v4/blobstream-1257-1835" +# "v4/blobstream-12620-13504" +# "v4/blobstream-12987-13378" +# "v4/blobstream-13361-13965" +# "v4/blobstream-13375-14264" +# "v4/blobstream-1380-2098" +# "v4/blobstream-13967-14032" +# "v4/blobstream-14166-14647" +# "v4/blobstream-14446-14985" +# "v4/blobstream-14480-14869" +# "v4/blobstream-14490-14607" +# "v4/blobstream-14625-14821" +# "v4/blobstream-15108-15559" +# "v4/blobstream-15795-16380" +# "v4/blobstream-17176-17190" +# "v4/blobstream-17346-17579" +# "v4/blobstream-1784-1991" +# "v4/blobstream-17854-18628" +# "v4/blobstream-18108-18990" +# "v4/blobstream-18254-19020" +# "v4/blobstream-1847-2176" +# "v4/blobstream-18509-18920" +# "v4/blobstream-1864-2105" +# "v4/blobstream-18820-19529" +# "v4/blobstream-1918-2761" +# "v4/blobstream-19477-19767" +# "v4/blobstream-19646-20138" +# "v4/blobstream-19651-19705" +# "v4/blobstream-2048-3048" +# "v4/blobstream-224-735" +# "v4/blobstream-2285-2391" +# "v4/blobstream-2326-2695" +# "v4/blobstream-2372-3155" +# "v4/blobstream-3107-3544" +# "v4/blobstream-3448-4438" +# "v4/blobstream-3541-4011" +# "v4/blobstream-4071-4323" +# "v4/blobstream-4111-4575" +# "v4/blobstream-4145-4955" +# "v4/blobstream-4209-5050" +# "v4/blobstream-4472-4730" +# "v4/blobstream-4609-5541" +# "v4/blobstream-4644-5079" +# "v4/blobstream-4671-5497" +# "v4/blobstream-4796-5466" +# "v4/blobstream-4817-5259" +# "v4/blobstream-5051-5469" +# "v4/blobstream-5061-5958" +# "v4/blobstream-5202-5805" +# "v4/blobstream-5289-5877" +# "v4/blobstream-5480-6102" +# "v4/blobstream-5482-6230" +# "v4/blobstream-5725-6605" +# "v4/blobstream-576-1544" +# "v4/blobstream-5808-6763" +# "v4/blobstream-583-1315" +# "v4/blobstream-590-1210" +# "v4/blobstream-6027-6921" +# "v4/blobstream-627-964" +# "v4/blobstream-6297-6712" +# "v4/blobstream-6369-6979" +# "v4/blobstream-6370-7053" +# "v4/blobstream-6378-7064" +# "v4/blobstream-6420-6501" +# "v4/blobstream-6491-7323" +# "v4/blobstream-6551-6586" +# "v4/blobstream-656-1533" +# "v4/blobstream-6599-7086" +# "v4/blobstream-6637-7604" +# "v4/blobstream-6754-7168" +# "v4/blobstream-6775-7063" +# "v4/blobstream-6945-7480" +# "v4/blobstream-7144-7203" +# "v4/blobstream-729-1184" +# "v4/blobstream-7356-7984" +# "v4/blobstream-7364-7576" +# "v4/blobstream-7528-8446" +# "v4/blobstream-7806-8758" +# "v4/blobstream-8059-9043" +# "v4/blobstream-8228-9162" +# "v4/blobstream-8239-9109" +# "v4/blobstream-8366-9145" +# "v4/blobstream-8368-8370" +# "v4/blobstream-8581-9358" +# "v4/blobstream-8649-9142" +# "v4/blobstream-8934-9690" +# "v4/blobstream-9217-10050" +# "v4/blobstream-9406-10330" +# "v4/blobstream-958-1141" +# "v4/blobstream-9735-9883" +# "v4/blobstream-9837-10292" +# "v4/blobstream-9941-10566" +# "v4/blobstream-9960-10420" "v4/chess" "v4/fibonacci" "v4/json" @@ -148,112 +148,142 @@ NETWORK_WORKLOADS=( "v4/vector-10575-10942" "v4/vector-10983-11740" "v4/vector-11972-12036" - "v4/vector-12294-12988" - "v4/vector-13400-14122" - "v4/vector-13407-13524" - "v4/vector-1374-2341" - "v4/vector-13822-14726" - "v4/vector-14013-14621" - "v4/vector-14070-15006" - "v4/vector-14242-14254" - "v4/vector-14298-14423" - "v4/vector-14918-15658" - "v4/vector-1519-1555" - "v4/vector-15544-15942" - "v4/vector-15992-16388" - "v4/vector-16434-16718" - "v4/vector-16495-17244" - "v4/vector-1676-1691" - "v4/vector-16766-17427" - "v4/vector-16974-17753" - "v4/vector-17692-18269" - "v4/vector-17730-18329" - "v4/vector-17806-18019" - "v4/vector-17922-18776" - "v4/vector-17959-18724" - "v4/vector-18507-19337" - "v4/vector-18964-19165" - "v4/vector-19220-19874" - "v4/vector-19456-19572" - "v4/vector-19495-19727" - "v4/vector-19552-20431" - "v4/vector-20118-21085" - "v4/vector-20754-21232" - "v4/vector-21244-22003" - "v4/vector-21513-21709" - "v4/vector-21553-22504" - "v4/vector-21655-22085" - "v4/vector-2174-2688" - "v4/vector-21748-22502" - "v4/vector-22110-22501" - "v4/vector-22113-22170" - "v4/vector-22266-22712" - "v4/vector-22506-23291" - "v4/vector-22644-23303" - "v4/vector-23168-24082" - "v4/vector-23589-23936" - "v4/vector-24463-24490" - "v4/vector-24574-24630" - "v4/vector-24649-25231" - "v4/vector-24870-25828" - "v4/vector-25089-25128" - "v4/vector-25322-25570" - "v4/vector-25372-26146" - "v4/vector-25536-25579" - "v4/vector-25576-26246" - "v4/vector-2640-2873" - "v4/vector-26410-27116" - "v4/vector-26565-26590" - "v4/vector-26698-26837" - "v4/vector-2677-3329" - "v4/vector-26830-27571" - "v4/vector-27343-27474" - "v4/vector-27520-28181" - "v4/vector-27833-28655" - "v4/vector-28340-28600" - "v4/vector-28557-29239" - "v4/vector-28872-29142" - "v4/vector-29053-29833" - "v4/vector-29263-29384" - "v4/vector-2954-3721" - "v4/vector-29649-30646" - "v4/vector-29798-30561" - "v4/vector-30014-30264" - "v4/vector-30323-31318" - "v4/vector-30336-30973" - "v4/vector-3080-3695" - "v4/vector-3111-3632" - "v4/vector-31262-32035" - "v4/vector-31408-31492" - "v4/vector-31561-32087" - "v4/vector-32033-32702" - "v4/vector-32045-32056" - "v4/vector-32216-32437" - "v4/vector-3561-3816" - "v4/vector-3695-4546" - "v4/vector-3814-3943" - "v4/vector-4263-4696" - "v4/vector-4457-4705" - "v4/vector-4579-5414" - "v4/vector-4730-5428" - "v4/vector-4890-5540" - "v4/vector-51-679" - "v4/vector-517-1360" - "v4/vector-5249-6054" - "v4/vector-5750-5949" - "v4/vector-5763-6083" - "v4/vector-5764-5923" - "v4/vector-5809-5925" - "v4/vector-6002-6824" - "v4/vector-6146-6195" - "v4/vector-6212-6306" - "v4/vector-6387-6498" - "v4/vector-699-1432" - "v4/vector-713-1021" - "v4/vector-7552-8283" - "v4/vector-9201-9801" - "v4/vector-9482-9834" - "v4/vector-9844-10412" +# "v4/vector-12294-12988" +# "v4/vector-13400-14122" +# "v4/vector-13407-13524" +# "v4/vector-1374-2341" +# "v4/vector-13822-14726" +# "v4/vector-14013-14621" +# "v4/vector-14070-15006" +# "v4/vector-14242-14254" +# "v4/vector-14298-14423" +# "v4/vector-14918-15658" +# "v4/vector-1519-1555" +# "v4/vector-15544-15942" +# "v4/vector-15992-16388" +# "v4/vector-16434-16718" +# "v4/vector-16495-17244" +# "v4/vector-1676-1691" +# "v4/vector-16766-17427" +# "v4/vector-16974-17753" +# "v4/vector-17692-18269" +# "v4/vector-17730-18329" +# "v4/vector-17806-18019" +# "v4/vector-17922-18776" +# "v4/vector-17959-18724" +# "v4/vector-18507-19337" +# "v4/vector-18964-19165" +# "v4/vector-19220-19874" +# "v4/vector-19456-19572" +# "v4/vector-19495-19727" +# "v4/vector-19552-20431" +# "v4/vector-20118-21085" +# "v4/vector-20754-21232" +# "v4/vector-21244-22003" +# "v4/vector-21513-21709" +# "v4/vector-21553-22504" +# "v4/vector-21655-22085" +# "v4/vector-2174-2688" +# "v4/vector-21748-22502" +# "v4/vector-22110-22501" +# "v4/vector-22113-22170" +# "v4/vector-22266-22712" +# "v4/vector-22506-23291" +# "v4/vector-22644-23303" +# "v4/vector-23168-24082" +# "v4/vector-23589-23936" +# "v4/vector-24463-24490" +# "v4/vector-24574-24630" +# "v4/vector-24649-25231" +# "v4/vector-24870-25828" +# "v4/vector-25089-25128" +# "v4/vector-25322-25570" +# "v4/vector-25372-26146" +# "v4/vector-25536-25579" +# "v4/vector-25576-26246" +# "v4/vector-2640-2873" +# "v4/vector-26410-27116" +# "v4/vector-26565-26590" +# "v4/vector-26698-26837" +# "v4/vector-2677-3329" +# "v4/vector-26830-27571" +# "v4/vector-27343-27474" +# "v4/vector-27520-28181" +# "v4/vector-27833-28655" +# "v4/vector-28340-28600" +# "v4/vector-28557-29239" +# "v4/vector-28872-29142" +# "v4/vector-29053-29833" +# "v4/vector-29263-29384" +# "v4/vector-2954-3721" +# "v4/vector-29649-30646" +# "v4/vector-29798-30561" +# "v4/vector-30014-30264" +# "v4/vector-30323-31318" +# "v4/vector-30336-30973" +# "v4/vector-3080-3695" +# "v4/vector-3111-3632" +# "v4/vector-31262-32035" +# "v4/vector-31408-31492" +# "v4/vector-31561-32087" +# "v4/vector-32033-32702" +# "v4/vector-32045-32056" +# "v4/vector-32216-32437" +# "v4/vector-3561-3816" +# "v4/vector-3695-4546" +# "v4/vector-3814-3943" +# "v4/vector-4263-4696" +# "v4/vector-4457-4705" +# "v4/vector-4579-5414" +# "v4/vector-4730-5428" +# "v4/vector-4890-5540" +# "v4/vector-51-679" +# "v4/vector-517-1360" +# "v4/vector-5249-6054" +# "v4/vector-5750-5949" +# "v4/vector-5763-6083" +# "v4/vector-5764-5923" +# "v4/vector-5809-5925" +# "v4/vector-6002-6824" +# "v4/vector-6146-6195" +# "v4/vector-6212-6306" +# "v4/vector-6387-6498" +# "v4/vector-699-1432" +# "v4/vector-713-1021" +# "v4/vector-7552-8283" +# "v4/vector-9201-9801" +# "v4/vector-9482-9834" +# "v4/vector-9844-10412" + "op-succinct-op-sepolia-18301300-18301340" + "op-succinct-chain-10-128926215-128926230" + "op-succinct-op-sepolia-18301423-18301463" + "op-succinct-op-sepolia-18301956-18301996" + "op-succinct-chain-10-128926365-128926380" + "op-succinct-op-sepolia-18300123-18300163" + "op-succinct-chain-10-range-128926160-128926175" + "op-succinct-chain-10-128926350-128926365" + "op-succinct-op-sepolia-18300341-18300381" + "op-succinct-chain-10-128926500-128926515" + "op-succinct-op-sepolia-range-18129400-18129401" + "op-succinct-op-sepolia-18302940-18302980" + "op-succinct-op-sepolia-18302038-18302078" + "op-succinct-op-sepolia-18300041-18300081" + "op-succinct-op-sepolia-18302981-18303000" + "op-succinct-op-sepolia-18302858-18302898" + "op-succinct-op-sepolia-18302448-18302488" + "op-succinct-op-sepolia-18302694-18302734" + "op-succinct-chain-480-7660601-7660701" + "op-succinct-op-sepolia-18300710-18300750" + "op-succinct-op-sepolia-18302899-18302939" + "op-succinct-chain-480-7086799-7086809" + "op-succinct-op-sepolia-18200000-18200030" + "op-succinct-op-sepolia-18302243-18302283" + "op-succinct-chain-10-128926485-128926500" + "op-succinct-chain-10-128926395-128926410" + "op-succinct-op-sepolia-18302612-18302652" + "op-succinct-chain-480-7086879-7086889" + "op-succinct-chain-10-128926560-128926575" + "op-succinct-chain-10-128926455-128926470" ) # Create a JSON object with the list of workloads. @@ -264,4 +294,4 @@ WORKLOADS=$(jq -n \ '{cpu_workloads: $cpu, cuda_workloads: $cuda, network_workloads: $network}') # Run the workflow with the list of workloads. -echo $WORKLOADS | gh workflow run suite.yml --ref $GIT_REF --json +echo $WORKLOADS | gh workflow run suite.yml --ref $GIT_REF --json --repo succinctlabs/sp1-wip