Skip to content

Commit a24ad63

Browse files
committed
fix: increase batch
1 parent 3c5bd18 commit a24ad63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/run_benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ class ColabPaths:
4343

4444
torch.manual_seed(0)
4545

46-
N_ENVS_SWEEP = [1, 2, 4, 8, 16, 32, 64, 128, 256] # , 512, 1024, 2048, 4096, 8192, 16384, 32768]
46+
N_ENVS_SWEEP = [2**i for i in range(20)]
4747
N_EVALS = 20
4848

4949
# Load functions for CUDA benchmarking
50-
fn_files = ["fn_1e1.casadi", "fn_1e2.casadi", "fn_1e3.casadi"] # , "fn_1e4.casadi", "fn_1e5.casadi"]
50+
fn_files = ["fn_1e1.casadi", "fn_1e2.casadi"]
5151
benchmark_fns = [Function.load(os.path.join(PathsProvider.FUNCTIONS_DIR, fn)) for fn in fn_files]
5252

5353

0 commit comments

Comments
 (0)