justinchuby / torch-onnx

A standalone version of the next PyTorch ONNX exporter
MIT License
2 stars 1 forks source link

Range dtype #94

Open justinchuby opened 1 month ago

justinchuby commented 1 month ago

1 like: [ONNXRuntimeError] : 1 : FAIL : Load model from /opt/pytorch/.onnx_models/XLNetLMHeadModel/torch_onnx_patch/XLNetLMHeadModel_torch_onnx_patch.onnx failed:Type Error: Type parameter (T) of Optype (Range) bound to different types (tensor(int64) and tensor(float) in node (node_Range_25).

XLNetLMHeadModel

justinchuby commented 1 month ago

image