Skip to content

Commit

Permalink
test (core/quant/float): set examples to 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfraser committed Dec 19, 2024
1 parent 2c8a4c3 commit 8e15a53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/brevitas/core/test_float_quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: BSD-3-Clause

from hypothesis import given
from hypothesis import settings
import mock
import pytest
import torch
Expand Down Expand Up @@ -237,6 +238,7 @@ def test_inner_scale(inp, minifloat_format, scale):


@given(minifloat_format_and_value=random_minifloat_format_and_value(min_bit_width=4, max_bit_with=10, rand_exp_bias=True))
@settings(max_examples=10000)
@jit_disabled_for_mock()
@torch.no_grad()
def test_valid_float_values(minifloat_format_and_value):
Expand Down

0 comments on commit 8e15a53

Please sign in to comment.