fix running larger sizes

This commit is contained in:
Jaremy Creechley 2024-04-29 12:53:34 +03:00
parent b43fd950bc
commit b548a09131
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 10 additions and 4 deletions

View File

@ -114,7 +114,7 @@ when isMainModule:
maxslots: 256, # maximum number of slots maxslots: 256, # maximum number of slots
cellsize: 2048, # cell size in bytes cellsize: 2048, # cell size in bytes
blocksize: 65536, # block size in bytes blocksize: 65536, # block size in bytes
nsamples: 5, # number of samples to prove nsamples: 1, # number of samples to prove
entropy: 1234567, # external randomness entropy: 1234567, # external randomness
seed: 12345, # seed for creating fake data seed: 12345, # seed for creating fake data
nslots: 11, # number of slots in the dataset nslots: 11, # number of slots in the dataset
@ -122,7 +122,12 @@ when isMainModule:
ncells: 512, # number of cells in this slot ncells: 512, # number of cells in this slot
) )
for i in 1..10: for i in 1..9:
args.nsamples = i args.nsamples = i
echo "\nbenchmarking args: ", args stdout.styledWriteLine(fgYellow, "\nbenchmarking args: ", $args)
args.runBenchmark()
for i in 1..16:
args.nsamples = 10*i
stdout.styledWriteLine(fgYellow, "\nbenchmarking args: ", $args)
args.runBenchmark() args.runBenchmark()

View File

@ -31,7 +31,8 @@ var
circuitDirIncludes = "vendor" / "codex-storage-proofs-circuits" / "circuit" circuitDirIncludes = "vendor" / "codex-storage-proofs-circuits" / "circuit"
ptauDefPath = "benchmarks" / "ceremony" / "powersOfTau28_hez_final_21.ptau" ptauDefPath = "benchmarks" / "ceremony" / "powersOfTau28_hez_final_21.ptau"
ptauDefUrl = ptauDefUrl =
"https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_21.ptau" # "https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_21.ptau"
"https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_23.ptau"
codexProjDir = "" codexProjDir = ""
proc checkEnv*() = proc checkEnv*() =