You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if L == target_len:
UserWarning: Exporting aten::index operator of advanced indexing in opset 14 is achieved by combination of multiple ONNX operators, including Reshape, Transpose, Concat, and Gather. If indices include negative values, the exported graph will produce incorrect results.
warnings.warn(
he shape inference of prim::PackPadded type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. (function UpdateReliable)
UserWarning: Exporting a model to ONNX with a batch_size other than 1, with a variable length with LSTM can cause an error when running the ONNX model with a different batch size. Make sure to save the model with a batch size of 1, or define the initial states (h0/c0) as inputs of the model.
I also see these warnings when converting urchade/gliner_multi-v2.1 with Python=3.13.9, gliner=0.2.25, onnx=1.21.0, onnxruntime=1.24.3 but the performance of the model seems to be the same as if it had not been converted to ONNX.
Activity
TopCoder2K commentedon Apr 6, 2026
I also see these warnings when converting
urchade/gliner_multi-v2.1withPython=3.13.9, gliner=0.2.25, onnx=1.21.0, onnxruntime=1.24.3but the performance of the model seems to be the same as if it had not been converted to ONNX.