Skip to content

Commit

Permalink
[CI] Upgrade pytorch to 2.4.1 (#784)
Browse files Browse the repository at this point in the history
* upgrade pytorch to 2.4.1

* use onnx opset 13
  • Loading branch information
mshr-h authored Oct 16, 2024
1 parent ccc3ada commit c5186d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
env:
TVM_VERSION_TAG: v0.17.0
PYTORCH_VERSION: 2.2.0
PYTORCH_VERSION: 2.4.1
LLVM_VERSION: 18

steps:
Expand Down
2 changes: 1 addition & 1 deletion hummingbird/ml/_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def convert(topology, backend, test_input, device, extra_config={}):

if backend == onnx.__name__:
onnx_model_name = output_model_name = None
target_opset = 11
target_opset = 13

# Set optional configuration options for ONNX if any.
if constants.ONNX_OUTPUT_MODEL_NAME in extra_config:
Expand Down

0 comments on commit c5186d8

Please sign in to comment.