Skip to content

Fix nax condition for iphone#3083

Merged
awni merged 2 commits intomainfrom
fix_nax_condition_iphone
Jan 29, 2026
Merged

Fix nax condition for iphone#3083
awni merged 2 commits intomainfrom
fix_nax_condition_iphone

Conversation

@awni
Copy link
Member

@awni awni commented Jan 29, 2026

As title. Will eventually close ml-explore/mlx-swift-examples#462

CC @davidkoski

@awni
Copy link
Member Author

awni commented Jan 29, 2026

Also bumped fmt version to fix the build on the latest macOS.

@awni awni requested review from angeloskath and jagrit06 January 29, 2026 20:26
Copy link
Member

@angeloskath angeloskath left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@davidkoski davidkoski left a comment

Choose a reason for hiding this comment

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

Tested on iPhone 16 Pro and it now behaves as expected

Copy link
Contributor

@davidkoski davidkoski left a comment

Choose a reason for hiding this comment

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

Tested on iPhone 16 Pro and it now behaves as expected

@awni awni merged commit cc6e4ee into main Jan 29, 2026
16 checks passed
@awni awni deleted the fix_nax_condition_iphone branch January 29, 2026 21:30
@philipwhiuk
Copy link

FYI @objectivecosta

@objectivecosta
Copy link

Oh wow, I wish I had seen this before!

benjaminsoo added a commit to benjaminsoo/mlx-swift that referenced this pull request Mar 2, 2026
iPhone 16 (A18, gen 17) was incorrectly detected as having Neural
Accelerator support, causing garbage output. Require gen >= 18 for
phone ('p') architectures.

Vendored mlx and mlx-c submodules as regular files to include the fix.
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.

[BUG] MLXChatExample and LLMEval provide gibberish outputs on iPhone 16 Pro (iOS 26.2 and iOS 26.2.1)

5 participants