Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-savelyevv committed Nov 14, 2024
1 parent 5f46593 commit e7617f1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ def get_random_integer_tensor(shape, low, high, dtype, backend, seed=0):

@contextmanager
def openvino_available(available: bool):
import nncf.utils
import nncf.import_utils

original_value = nncf.utils._openvino_available
nncf.utils._openvino_available = available
original_value = nncf.import_utils._openvino_available
nncf.import_utils._openvino_available = available
yield
nncf.utils._openvino_available = original_value
nncf.import_utils._openvino_available = original_value


@pytest.mark.parametrize("weight_shape", [(10000, 4)], ids=[""])
Expand Down

0 comments on commit e7617f1

Please sign in to comment.