Skip to content

Commit

Permalink
Update opset version to 21 when importing onnx models (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchen62 authored Aug 20, 2024
1 parent a555bf1 commit 0fff0b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2eshark/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def runOnnxToTorchMLIRGeneration(
logfilename = curphase + ".log"
scriptcommand = (
f"{torch_mlir_pythonpath} python -m torch_mlir.tools.import_onnx "
+ "--opset-version=21 "
+ onnxfilename
+ " -o "
+ torchonnxfilename
Expand Down

0 comments on commit 0fff0b9

Please sign in to comment.