Skip to content

Commit

Permalink
Fix aimet-onnx test dependency collision (#3830)
Browse files Browse the repository at this point in the history
Signed-off-by: Kyunggeun Lee <[email protected]>
  • Loading branch information
quic-kyunggeu authored Feb 23, 2025
1 parent d3e25c5 commit a95300e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/plugins/local/aimet.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def optional_dependencies() -> dict[str, list[str]]:
"beautifulsoup4",
"deepspeed",
"matplotlib",
"onnxruntime",
"peft",
"pylint<3",
"pytest",
Expand Down Expand Up @@ -116,6 +115,8 @@ def optional_dependencies() -> dict[str, list[str]]:
if aimet_variant not in ("torch-gpu", "torch-cpu"):
return optional_dependencies

optional_dependencies["test"].append("onnxruntime")

try:
import torch
except ImportError:
Expand Down

0 comments on commit a95300e

Please sign in to comment.