Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Feb 22, 2024
1 parent 1aef938 commit af48030
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optimum/exporters/openvino/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ class StoreAttr(object):
return model

GPTQQuantizer.post_init_model = post_init_model
import torch

model = TasksManager.get_model_from_task(
task,
Expand All @@ -238,7 +239,7 @@ class StoreAttr(object):
framework=framework,
device=device,
library_name=library_name,
torch_dype=torch.float32,
torch_dtype=torch.float32,
**loading_kwargs,
)

Expand Down

0 comments on commit af48030

Please sign in to comment.