Rework split_reshape simplification to handle multiple reshapes from same slice (#2146)
This resolves an edge case found in multiple huggingface models in some cases the find_split_reshape matcher will match with reshape2, but vec_rsp will consist of reshape1 dims causing a shape mismatch error. Solution is to include rsp when checking all reshapes are the same.
Showing
Please register or sign in to comment