Skip to content

Conversation

@jhen0409
Copy link
Collaborator

Make sure to read the contributing guidelines before submitting a PR

Fix #15977.

I tried newFunctionWithName: as well and it also works, but it can't handle error, not sure if it is because the error handle is not necessary for that case.

@jhen0409 jhen0409 requested a review from ggerganov September 18, 2025 03:46
@github-actions github-actions bot added ggml changes relating to the ggml tensor library for machine learning Apple Metal https://en.wikipedia.org/wiki/Metal_(API) labels Sep 18, 2025
@ggerganov
Copy link
Member

I tried newFunctionWithName: as well and it also works, but it can't handle error, not sure if it is because the error handle is not necessary for that case.

Seems like the better option, regardless there is no error: #16065

@jhen0409 jhen0409 closed this Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apple Metal https://en.wikipedia.org/wiki/Metal_(API) ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eval bug: validateNewFunctionWithConstantArguments:227: failed assertion `constantValues must not be nil.'

2 participants