Skip to content

Commit

Permalink
fix: prints
Browse files Browse the repository at this point in the history
  • Loading branch information
mattephi committed Sep 17, 2024
1 parent a24ad63 commit 75bbc9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions jaxadi/_stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ def stage_generator(func: Function) -> str:
workers[o_idx[0]] = OP_JAX_VALUE_DICT[op].format(workers[i_idx[0]])
else:
raise Exception("Unknown CasADi operation: " + str(op))
print(sum(len(s) for s in workers))

print("finished stages")
return stages


Expand Down
1 change: 0 additions & 1 deletion jaxadi/_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def translate(func: Function, add_jit=False, add_import=False, num_threads=1) ->

# get the shapes of input and output
out_shapes = [func.size_out(i) for i in range(n_out)]
print(out_shapes)
stages = stage_generator(func)
stages = squeeze(stages, num_threads=num_threads)
# get information about casadi function
Expand Down

0 comments on commit 75bbc9e

Please sign in to comment.