Skip to content

Commit 2436a9f

Browse files
committed
test
1 parent af48030 commit 2436a9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

optimum/exporters/openvino/__main__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def main_export(
137137
>>> main_export("gpt2", output="gpt2_onnx/")
138138
```
139139
"""
140-
device = "cpu"
141140
original_task = task
142141
task = TasksManager.map_from_synonym(task)
143142
framework = TasksManager.determine_framework(model_name_or_path, subfolder=subfolder, framework=framework)
@@ -239,7 +238,7 @@ class StoreAttr(object):
239238
framework=framework,
240239
device=device,
241240
library_name=library_name,
242-
torch_dtype=torch.float32,
241+
# torch_dtype=torch.float32,
243242
**loading_kwargs,
244243
)
245244

0 commit comments

Comments
 (0)