Skip to content

Commit

Permalink
Cherry-pick fix for mobilenet numerics that caused unit tests to hang.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Jan 7, 2025
1 parent 04ef073 commit 2c158c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shortfin/tests/invocation/mobilenet_program_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def assert_mobilenet_ref_output(device, device_output):
absmean = functools.reduce(
lambda x, y: x + abs(y) / len(flat_output), flat_output, 0.0
)
assert absmean == pytest.approx(5.01964943873882)
assert absmean == pytest.approx(0.81196929)


# Tests that a single invocation on a single fiber works.
Expand Down

0 comments on commit 2c158c4

Please sign in to comment.