Skip to content

Commit

Permalink
decrease fps of testing (#1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
samwinebrake authored Nov 12, 2024
1 parent 5c4f9e8 commit 98a3d34
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_compute_temporal_context():

@pytest.mark.memory_intense
@pytest.mark.parametrize("preprocess", ["normal", "downsample"])
@pytest.mark.parametrize("fps", [1, 40])
@pytest.mark.parametrize("fps", [1, 10])
def test_causal_inferencer(preprocess, fps):
if preprocess == "normal":
preprocess = dummy_preprocess
Expand Down Expand Up @@ -186,4 +186,4 @@ def test_block_inferencer(preprocess, fps):
manual_compute_values = manual_compute_values.reshape(len(manual_compute_values), -1).astype(output_values.dtype)
if preprocess == "downsample":
output_values = output_values[::2]
assert np.allclose(output_values, manual_compute_values)
assert np.allclose(output_values, manual_compute_values)

0 comments on commit 98a3d34

Please sign in to comment.