Skip to content

Commit 134a322

Browse files
[release_v2180] [pt] update reference for sparsity (#3637)
### Changes Update expected ov_weight_ratio for some models ### Reason for changes Change size of original an compressed model with openvino 2025.3.0 nightly/job/torch_nightly/628 ### Tests nightly/job/torch_nightly/629
1 parent f842e75 commit 134a322

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/torch/sparsity/movement/test_model_saving.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_same_outputs_in_torch_and_exported_onnx(self, tmp_path: Path, recipe: B
150150
[
151151
ParamDesc(
152152
nncf_weight_ratio=0.14,
153-
ov_weight_ratio=0.11,
153+
ov_weight_ratio=0.17,
154154
recipe=BertRunRecipe().model_config_(
155155
max_position_embeddings=2,
156156
intermediate_size=4,
@@ -163,7 +163,7 @@ def test_same_outputs_in_torch_and_exported_onnx(self, tmp_path: Path, recipe: B
163163
),
164164
ParamDesc(
165165
nncf_weight_ratio=0.1,
166-
ov_weight_ratio=0.08,
166+
ov_weight_ratio=0.12,
167167
recipe=Wav2Vec2RunRecipe().model_config_(
168168
intermediate_size=4,
169169
num_labels=1,
@@ -211,12 +211,12 @@ def test_same_outputs_in_torch_and_exported_onnx(self, tmp_path: Path, recipe: B
211211
),
212212
ParamDesc(
213213
nncf_weight_ratio=0.63,
214-
ov_weight_ratio=0.38,
214+
ov_weight_ratio=0.29,
215215
recipe=MobileBertRunRecipe().model_config_(),
216216
),
217217
ParamDesc(
218218
nncf_weight_ratio=0.42,
219-
ov_weight_ratio=0.33,
219+
ov_weight_ratio=0.25,
220220
recipe=MobileBertRunRecipe()
221221
.model_config_()
222222
.algo_config_(
@@ -230,7 +230,7 @@ def test_same_outputs_in_torch_and_exported_onnx(self, tmp_path: Path, recipe: B
230230
),
231231
ParamDesc(
232232
nncf_weight_ratio=0.15,
233-
ov_weight_ratio=0.12,
233+
ov_weight_ratio=0.18,
234234
recipe=ClipVisionRunRecipe().model_config_(),
235235
),
236236
],

0 commit comments

Comments
 (0)