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
I haven't been running this model recently, but one of the models I was targeting in my recent dynamic shapes work is a BERT Model from HuggingFace, imported via the ONNX importer. It's written in a dynamic fashion, but it's actually a complex static model, so I'm testing my ONNX refactor against it before starting on fully dynamic models. I was testing it again this week after a break, and noticed the model is broken on master.
The basic issue is that before #4312, I get strided slices that look like this:
Hi @yongwww @kevinthesun @lixiaoquan,
I haven't been running this model recently, but one of the models I was targeting in my recent dynamic shapes work is a BERT Model from HuggingFace, imported via the ONNX importer. It's written in a dynamic fashion, but it's actually a complex static model, so I'm testing my ONNX refactor against it before starting on fully dynamic models. I was testing it again this week after a break, and noticed the model is broken on master.
The basic issue is that before #4312, I get strided slices that look like this:
And after #4312, I get strided slices that look like this:
The -1 is a problem, becuase the shape of the input tensor is (1, 1, 1, 128), so I end up with an empty array.
I can reproduce this with a change to the onnx importer tests:
Which passes before #4312 but fails after with this error:
I haven't figured out which change in #4312 is causing the problem, but if you guys have any ideas, I'd love to hear them.
Thanks!
Matthew
The text was updated successfully, but these errors were encountered: