-
Notifications
You must be signed in to change notification settings - Fork 211
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
New Squeeze
(ONNX opset >= 13)
#1154
Comments
Squeeze
fails to analyze for some models Squeeze
(ONNX opset >= 13)
Squeeze now takes the axes to remove as a second input instead of a parameter. Will fix. In the meantime, serializing the model with ONNX operator set <13 may be a workaround. |
OK, more subtle than I thought. Second input is already implemented, but it is optional (tract code assume it is required). When it is optional, squeeze remove all 1-dim indexed. I will implement it. But I strongly recommend not using this feature, it is an absolutely terrible idea. This network has a variable batch size, as long as it will be using a symbol, tract will not remove the axis. But if something sets the batch_size to 1, then the axis will be removed. This is bad. |
ty so much |
A user of ours ran into a set of models which tract fails to analyze.
Here is the output for one such model using the
tract
cli built from the latest commit (0ee4781 at time of writing):You can find a zip with all the models in question at zkonduit/ezkl#411 .
To reproduce the issue simply run
tract <MODEL IN QUESTION>
with one of the files in the zip.The text was updated successfully, but these errors were encountered: