Skip to content

update for mlx 0.31.0#368

Merged
davidkoski merged 3 commits intomainfrom
mlx-0310
Mar 23, 2026
Merged

update for mlx 0.31.0#368
davidkoski merged 3 commits intomainfrom
mlx-0310

Conversation

@davidkoski
Copy link
Copy Markdown
Collaborator

@davidkoski davidkoski commented Mar 4, 2026

Proposed changes

Note: CI will fail until #366 and the corresponding mlx-c is tagged.

Changes for mlx 0.31.0

Three new functions:

  • blackman()
  • hamming()
  • hanning()

Adds globalScale for various nvfp4 operations.

Add MLXArray(rawPointer:) which can pass borrowed memory to MLX, e.g. initialize an MLXArray from an IOSurface.

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

Copy link
Copy Markdown
Member

@andresy andresy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- clean up some build settings (c++ version, warnings)
- set mlx version
@davidkoski davidkoski merged commit 399f231 into main Mar 23, 2026
7 checks passed
@davidkoski davidkoski deleted the mlx-0310 branch March 23, 2026 21:35
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