Skip to content

Conversation

@john-sp
Copy link
Member

@john-sp john-sp commented Oct 17, 2025

Replaced [self variableWithData:...] with [self constantWithData:...] allowing MPS to do more optimizations to the network.

I measured between a 12% (10 seconds on benchmark) and 26% (30 seconds) performance uplift.

@john-sp john-sp requested a review from almaudoh October 23, 2025 18:29
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.

1 participant