-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
mlx - handle int64 and uint64 for scatter and cum* #19666
Conversation
@@ -211,6 +209,10 @@ def vectorized_map(function, elements): | |||
def scatter(indices, values, shape): | |||
indices = convert_to_tensor(indices) | |||
values = convert_to_tensor(values) | |||
if values.dtype == mx.int64: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporary fix for until scatter bug is resolved in mlx. See mlx_backend .
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## mlx #19666 +/- ##
======================================
Coverage ? 75.54%
======================================
Files ? 508
Lines ? 47222
Branches ? 8686
======================================
Hits ? 35675
Misses ? 9805
Partials ? 1742
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! LGTM
No description provided.