-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
fix: numpy indexing in tf backend getitem #28556
Conversation
lgtm! Feel free to merge the PR once the speedup is tested, thanks @mattbarrett98 😄 |
probably let's also create the |
haris said it seems to be working for the problematic models so all good there. How does the ci work, how come it is raising these errors if they aren't related? (although some of them definitely do seem to be unrelated) |
seems it doesn't do the same for mutations, but this isn't a blocker for the demos anyway so it's okay (for now) |
I think the main issue is the way mapping is computed across tests. So when we try to compute the mapping with |
Yeah sure, but probably we can do something similar to this by just doing the getitem call instead of this line (where we have to convert the array to numpy before applying the get_item) and that should help just get the |
i see, so the only one listed with |
makes sense, i'd say let's give it at least a week or 2 so we can gauge how well the new solution is working |
No description provided.