Skip to content

Commit

Permalink
use block_until_ready on benchmark output
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhelal committed Oct 1, 2024
1 parent 48e9832 commit f3ad64b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def harness():
def test_construct_basis(benchmark):
def harness():
mol = molecule("water")
basisset(mol, "6-31g")
basis = basisset(mol, "6-31g")
return jax.block_until_ready(basis)

benchmark(harness)

0 comments on commit f3ad64b

Please sign in to comment.