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

Use opset19 | chore(torchlib) #880

Closed
wants to merge 5 commits into from
Closed
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 onnxscript/function_libs/torch_lib/ops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
TTensor2,
TTensorOrString,
)
from onnxscript.onnx_opset import opset18 as op
from onnxscript.onnx_opset import opset19 as op
from onnxscript.onnx_types import TensorType

_INT64_MAX = 9223372036854775807
Expand Down
2 changes: 1 addition & 1 deletion onnxscript/function_libs/torch_lib/ops/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
TReal,
TTensor,
)
from onnxscript.onnx_opset import opset18 as op
from onnxscript.onnx_opset import opset19 as op
from onnxscript.onnx_types import BOOL, TensorType

_MATH_PI = math.pi
Expand Down
2 changes: 1 addition & 1 deletion onnxscript/function_libs/torch_lib/ops/prims.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from onnxscript import INT64
from onnxscript.function_libs.torch_lib.registration import torch_op
from onnxscript.function_libs.torch_lib.tensor_typing import RealType, TTensor
from onnxscript.onnx_opset import opset18 as op
from onnxscript.onnx_opset import opset19 as op
from onnxscript.onnx_types import COMPLEX64, COMPLEX128, DOUBLE, FLOAT, TensorType

COMPLEX64_TYPE = COMPLEX64.dtype
Expand Down
2 changes: 1 addition & 1 deletion onnxscript/function_libs/torch_lib/ops/special.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from onnxscript import FLOAT
from onnxscript.function_libs.torch_lib.registration import torch_op
from onnxscript.function_libs.torch_lib.tensor_typing import TFloatOrBFloat16
from onnxscript.onnx_opset import opset18 as op
from onnxscript.onnx_opset import opset19 as op
from onnxscript.onnx_types import TensorType


Expand Down
Loading