Skip to content

Commit cfe07db

Browse files
Update NNCF commit; tweak number of FQ for albert
1 parent da2211b commit cfe07db

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/test_openvino.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
pip install .[openvino,openvino-tokenizers,tests,diffusers] onnxruntime
4141
pip install transformers==${{ matrix.transformers-version }}
4242
pip install -U --pre openvino==2024.5.0.dev20240923 openvino-tokenizers==2024.5.0.dev20240923 --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly/
43-
pip install git+https://github.com/openvinotoolkit/nncf.git@2efda7dd16276c8d8f70fabfb9a94b4bcd7af08f
4443
4544
- name: Test with Pytest
4645
env:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161

6262
EXTRAS_REQUIRE = {
6363
"neural-compressor": ["neural-compressor[pt]>3.0", "accelerate", "transformers<=4.43.2"],
64-
"openvino": ["openvino-nightly==2024.5.0.dev20240923", "nncf@git+https://github.com/openvinotoolkit/nncf.git@2efda7dd16276c8d8f70fabfb9a94b4bcd7af08f", "openvino-tokenizers[transformers]"],
65-
"nncf": ["nncf@git+https://github.com/openvinotoolkit/nncf.git@2efda7dd16276c8d8f70fabfb9a94b4bcd7af08f"],
64+
"openvino": ["openvino-nightly==2024.5.0.dev20240923", "nncf@git+https://github.com/nikita-savelyevv/nncf.git@release_2_13_1", "openvino-tokenizers[transformers]"],
65+
"nncf": ["nncf@git+https://github.com/nikita-savelyevv/nncf.git@release_2_13_1"],
6666
"ipex": ["intel-extension-for-pytorch", "transformers>=4.39,<4.45"],
6767
"diffusers": ["diffusers"],
6868
"quality": QUALITY_REQUIRE,

tests/openvino/test_quantization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ def preprocess_function(examples, tokenizer):
745745

746746

747747
class OVTrainerTest(unittest.TestCase):
748-
SUPPORTED_ARCHITECTURES_WITH_EXPECTED_QUANTIZED_MATMULS = (("albert", 64, 39),)
748+
SUPPORTED_ARCHITECTURES_WITH_EXPECTED_QUANTIZED_MATMULS = (("albert", 63, 39),)
749749

750750
@parameterized.expand(SUPPORTED_ARCHITECTURES_WITH_EXPECTED_QUANTIZED_MATMULS)
751751
def test_aware_training_quantization(self, model_name, expected_fake_quantize, expected_int8):

0 commit comments

Comments
 (0)