Skip to content

Commit

Permalink
Give some slack to the multi batch test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbenito committed Sep 17, 2023
1 parent d398c27 commit a3b1d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/value/test_semivalues.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_shapley_batch_size(
config=parallel_config,
)
total_seconds_multi_batch = timed_fn.execution_time
assert total_seconds_multi_batch < total_seconds_single_batch
assert total_seconds_multi_batch < total_seconds_single_batch * 1.1

# Occasionally, batch_2 arrives before batch_1, so rtol isn't always 0.
check_values(result_single_batch, result_multi_batch, rtol=1e-4)
Expand Down

0 comments on commit a3b1d4a

Please sign in to comment.