Skip to content

Commit

Permalink
fix: update plots for graph translation
Browse files Browse the repository at this point in the history
  • Loading branch information
mattephi committed Dec 7, 2024
1 parent f81465c commit 64162de
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 16 deletions.
Binary file modified benchmarks/cuda_benchmark_results.npz
Binary file not shown.
Binary file modified benchmarks/jaxadi_benchmark_results.npz
Binary file not shown.
8 changes: 4 additions & 4 deletions benchmarks/run_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class Paths:
FUNCTIONS_DIR = os.path.join(cur_dir, "data")
OUTPUT_DIR = cur_dir
RUN_CUSADI = False
RUN_CUSADI = True


class ColabPaths:
Expand All @@ -43,11 +43,11 @@ class ColabPaths:

torch.manual_seed(0)

N_ENVS_SWEEP = [2**i for i in range(1)]
N_EVALS = 20
N_ENVS_SWEEP = [2**i for i in range(15)]
N_EVALS = 10

# 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", "fn_1e3.casadi", "fn_1e4.casadi"]
benchmark_fns = [Function.load(os.path.join(PathsProvider.FUNCTIONS_DIR, fn)) for fn in fn_files]


Expand Down
25 changes: 13 additions & 12 deletions benchmarks/visualize.ipynb

Large diffs are not rendered by default.

Binary file modified docs/static/images/compare_1e1_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/images/compare_1e2_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/images/compare_1e3_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/images/compare_1e4_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/images/speedup_ratio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 64162de

Please sign in to comment.