Skip to content

Commit

Permalink
add ops quant num gpt2
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed May 23, 2024
1 parent f3be817 commit ae1f449
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/openvino/test_quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ class OVQuantizerTest(unittest.TestCase):
(OVModelForSequenceClassification, "bert", 22, 35),
(OVModelForCausalLM, "gpt2", 41, 3),
)
SUPPORTED_ARCHITECTURES_OV_MODEL = ((OVModelForSequenceClassification, "bert", 32, 35),)
SUPPORTED_ARCHITECTURES_OV_MODEL = (
(OVModelForSequenceClassification, "bert", 32, 35),
# (OVModelForCausalLM, "gpt2", 31, 3),
)

@parameterized.expand(SUPPORTED_ARCHITECTURES_TORCH_MODEL)
def test_automodel_static_quantization(self, model_cls, model_name, expected_fake_quantize, expected_int8):
Expand Down

0 comments on commit ae1f449

Please sign in to comment.