Skip to content

Commit c3c9b3c

Browse files
committed
fix test
1 parent 9061322 commit c3c9b3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
INSTALL_REQUIRE = [
3030
"torch>=1.11",
3131
"transformers>=4.36.0,<4.42.0",
32-
"optimum~=1.19",
32+
"optimum @ git+https://github.com/huggingface/optimum.git@bump-transformers",
3333
"datasets>=1.4.0",
3434
"sentencepiece",
3535
"scipy",

tests/openvino/test_quantization.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def preprocess_function(examples, tokenizer):
663663

664664

665665
class OVTrainerTest(unittest.TestCase):
666-
SUPPORTED_ARCHITECTURES_WITH_EXPECTED_QUANTIZED_MATMULS = (("distilbert-base-uncased", 50, 38),)
666+
SUPPORTED_ARCHITECTURES_WITH_EXPECTED_QUANTIZED_MATMULS = (("distilbert-base-uncased", 49, 38),)
667667

668668
@parameterized.expand(SUPPORTED_ARCHITECTURES_WITH_EXPECTED_QUANTIZED_MATMULS)
669669
def test_aware_training_quantization(self, model_name, expected_fake_quantize, expected_int8):

0 commit comments

Comments
 (0)