Skip to content

Commit

Permalink
fix: increase batch
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Sep 17, 2024
1 parent 3c5bd18 commit a24ad63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/run_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ class ColabPaths:

torch.manual_seed(0)

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

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


Expand Down

0 comments on commit a24ad63

Please sign in to comment.