File tree 2 files changed +2
-3
lines changed
optimum/exporters/openvino
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,6 @@ class StoreAttr(object):
223
223
return model
224
224
225
225
GPTQQuantizer .post_init_model = post_init_model
226
- import torch
227
226
228
227
model = TasksManager .get_model_from_task (
229
228
task ,
@@ -238,7 +237,6 @@ class StoreAttr(object):
238
237
framework = framework ,
239
238
device = device ,
240
239
library_name = library_name ,
241
- # torch_dtype=torch.float32,
242
240
** loading_kwargs ,
243
241
)
244
242
Original file line number Diff line number Diff line change 50
50
"onnxruntime" ,
51
51
],
52
52
"openvino-tokenizers" : ["openvino-tokenizers[transformers]" ],
53
- "nncf" : ["nncf>=2.8.1" ],
53
+ # "nncf": ["nncf>=2.8.1"],
54
+ "nncf" : ["nncf @ git+https://github.com/openvinotoolkit/nncf.git" ],
54
55
"ipex" : ["intel-extension-for-pytorch" , "onnx" ],
55
56
"diffusers" : ["diffusers" ],
56
57
"quality" : QUALITY_REQUIRE ,
You can’t perform that action at this time.
0 commit comments