Skip to content

Commit a580b7c

Browse files
committed
fix setup
1 parent 4550620 commit a580b7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

optimum/intel/openvino/trainer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def _save(self, output_dir: Optional[str] = None, state_dict=None):
905905
self.compression_controller.prepare_for_export()
906906
model_type = self.model.config.model_type.replace("_", "-")
907907
exporter_config_class = TasksManager.get_exporter_config_constructor(
908-
exporter="openvino",
908+
exporter="onnx",
909909
model=self.model,
910910
task=self.task,
911911
model_type=model_type,

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
INSTALL_REQUIRE = [
3030
"torch>=1.11",
31-
"transformers>=4.36.0,<4.42.0",
32-
"optimum @ git+https://github.com/huggingface/optimum.git@bump-transformers",
31+
"transformers>=4.36.0,<4.41.0",
32+
"optimum",
3333
"datasets>=1.4.0",
3434
"sentencepiece",
3535
"scipy",

0 commit comments

Comments
 (0)