Skip to content

Fix merged axes overflow in reduce op - #4888

Merged
zcbenz merged 2 commits into
ml-explore:mainfrom
BhodiSea:fix-reduce-merged-axes-overflow
Nov 22, 2026
Merged

zcbenz merged 2 commits into
ml-explore:mainfrom
BhodiSea:fix-reduce-merged-axes-overflow

Conversation

@BhodiSea

Copy link
Copy Markdown
Contributor
  • ☑️ I understand it is strictly prohibited to use AI to write PR description
  • AI usage disclosure:

The bug was found by Claude when designing a pre-training harness for a small language model with a large learned n-gram table using MLX.

After training was done and I made the repository public, I checked to see if the issue had been fixed upstream and it had not. I had Claude draft the code fixes, ran tests and confirmed no regressions.

@zcbenz
zcbenz force-pushed the fix-reduce-merged-axes-overflow branch from e72159b to 2116a54 Compare November 22, 2026 03:42
@zcbenz
zcbenz force-pushed the fix-reduce-merged-axes-overflow branch from 2116a54 to 7886edd Compare November 22, 2026 08:01
@BhodiSea

Copy link
Copy Markdown
Contributor Author

@zcbenz thanks for the approval and test fix. Any chance I could be added to the acknowledgements list? No worries at all, if not.

@zcbenz

zcbenz commented Nov 22, 2026

Copy link
Copy Markdown
Member

Thanks for your contributions, currently we only add major new features to acknowledgements.

@zcbenz zcbenz changed the title fix: reduce merged axes overflow Fix merged axes overflow in reduce op Nov 22, 2026
@zcbenz
zcbenz merged commit 52e02c5 into ml-explore:main Nov 22, 2026
24 checks passed
rcfa pushed a commit to cubiculum-ai/mlx that referenced this pull request Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants