Skip to content

[torchlib] aten.min.other #2146

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

Open
justinchuby opened this issue Mar 28, 2025 · 4 comments
Open

[torchlib] aten.min.other #2146

justinchuby opened this issue Mar 28, 2025 · 4 comments
Labels
contribution welcome We welcome code contributions for this module: torchlib Related to the torch/aten function lib in development

Comments

@justinchuby
Copy link
Collaborator

ERR_export: Failed to convert the exported program to an ONNX model. [96mThis is step 3/3[0m of exporting the model to ONNX. Next steps:- If there is a missing ONNX function implement it and register it to the registry.- If there is an internal error during ONNX conversion debug the error and summit a PR to PyTorch.- Create an error report with torch.onnx.export(... report=True)and save the ExportedProgram as a pt2 file. Create an issue in the PyTorch GitHub repository against the [96m*onnx*[0m component. Attach the error report and the pt2 model.## Exception summary<class 'torch.onnx._internal.exporter._errors.DispatchError'>: No ONNX function found for <OpOverload(op='aten.min' overload='other')>. Failure message: All overloads did not match the node%min_1 : [num_users=1] = call_function[target=torch.ops.aten.min.other](args = (%add_6 %clone) kwargs = {}).- Failed to match overload OnnxDecompMeta(onnx_function=OnnxFunction(<function aten_minimum at 0x7fa2671fea70>) fx_target=<OpOverload(op='aten.min' overload='other')> signature=OpSignature(domain='pkg.onnxscript.torch_lib' name='aten_minimum' overload='' params=[Parameter(name='self' type_constraint=TypeConstraintParam(name='TReal' allowed_types={Tensor(INT16) Tensor(FLOAT) Tensor(BFLOAT16) Tensor(FLOAT16) Tensor(INT32) Tensor(INT64) Tensor(INT8) Tensor(DOUBLE)} description='') required=True variadic=False default=_EMPTY_DEFAULT) Parameter(name='other' type_constraint=TypeConstraintParam(name='TReal' allowed_types={Tensor(INT16) Tensor(FLOAT) Tensor(BFLOAT16) Tensor(FLOAT16) Tensor(INT32) Tensor(INT64) Tensor(INT8) Tensor(DOUBLE)} description='') required=True variadic=False default=_EMPTY_DEFAULT)] outputs=[Parameter(name='TReal' type_constraint=TypeConstraintParam(name='TReal' allowed_types={Tensor(INT16) Tensor(FLOAT) Tensor(BFLOAT16) Tensor(FLOAT16) Tensor(INT32) Tensor(INT64) Tensor(INT8) Tensor(DOUBLE)} description='') required=True variadic=False default=_EMPTY_DEFAULT)] opset_version=1) is_custom=False is_comp...`

@justinchuby justinchuby added module: torchlib Related to the torch/aten function lib in development contribution welcome We welcome code contributions for this labels Mar 28, 2025
@justinchuby
Copy link
Collaborator Author

pyhpc_isoneutral_mixing

@justinchuby
Copy link
Collaborator Author

@justinchuby
Copy link
Collaborator Author

Maybe we need type promotion? Need to check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome We welcome code contributions for this module: torchlib Related to the torch/aten function lib in development
Projects
None yet
Development

No branches or pull requests

2 participants