You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: optimum/intel/openvino/modeling.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -434,8 +434,8 @@ def _from_transformers(
434
434
save_dir=TemporaryDirectory()
435
435
save_dir_path=Path(save_dir.name)
436
436
437
-
# If load_in_8bit or quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
438
-
ifload_in_8bitisNoneornotquantization_config:
437
+
# If load_in_8bit and quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
Copy file name to clipboardexpand all lines: optimum/intel/openvino/modeling_base.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -314,8 +314,8 @@ def _from_transformers(
314
314
save_dir=TemporaryDirectory()
315
315
save_dir_path=Path(save_dir.name)
316
316
317
-
# If load_in_8bit or quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
318
-
ifload_in_8bitisNoneornotquantization_config:
317
+
# If load_in_8bit and quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
Copy file name to clipboardexpand all lines: optimum/intel/openvino/modeling_base_seq2seq.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -258,8 +258,8 @@ def _from_transformers(
258
258
ifuse_cache:
259
259
task=task+"-with-past"
260
260
261
-
# If load_in_8bit or quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
262
-
ifload_in_8bitisNoneornotquantization_config:
261
+
# If load_in_8bit and quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
Copy file name to clipboardexpand all lines: optimum/intel/openvino/modeling_decoder.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ def _from_transformers(
260
260
ifuse_cache:
261
261
task=task+"-with-past"
262
262
263
-
# If load_in_8bit or quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
263
+
# If load_in_8bit and quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
Copy file name to clipboardexpand all lines: optimum/intel/openvino/modeling_diffusion.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -321,8 +321,8 @@ def _from_transformers(
321
321
save_dir=TemporaryDirectory()
322
322
save_dir_path=Path(save_dir.name)
323
323
324
-
# If load_in_8bit or quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
325
-
ifload_in_8bitisNoneornotquantization_config:
324
+
# If load_in_8bit and quantization_config not specified then ov_config is set to None and will be set by default in convert depending on the model size
0 commit comments