Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update optimum version for having latest fixes #1085

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion optimum/exporters/openvino/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def export_pytorch(
import torch
from torch.utils._pytree import tree_map

from optimum.exporters.onnx.convert import check_dummy_inputs_are_allowed
from optimum.exporters.utils import check_dummy_inputs_are_allowed

logger.info(f"Using framework PyTorch: {torch.__version__}")
output = Path(output)
Expand Down
2 changes: 1 addition & 1 deletion optimum/intel/openvino/quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def _quantize_torchmodel(

quantization_config = ov_config.quantization_config
if isinstance(quantization_config, OVWeightQuantizationConfig):
from optimum.exporters.onnx.convert import check_dummy_inputs_are_allowed
from optimum.exporters.utils import check_dummy_inputs_are_allowed

if stateful:
# patch model before weight compression
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

INSTALL_REQUIRE = [
"torch>=1.11",
"optimum~=1.23",
"optimum@git+https://github.com/huggingface/optimum.git",
"transformers>=4.36,<4.47",
"datasets>=1.4.0",
"sentencepiece",
Expand Down