Skip to content

Fix for CI macOS-latest-cmake-arm64#6619

Merged
HanClinto merged 1 commit intoggml-org:masterfrom
HanClinto:fix_ci_eval_callback
Apr 11, 2024
Merged

Fix for CI macOS-latest-cmake-arm64#6619
HanClinto merged 1 commit intoggml-org:masterfrom
HanClinto:fix_ci_eval_callback

Conversation

@HanClinto
Copy link
Copy Markdown
Contributor

As suggested by @slaren ( #6576 (comment) ), disabling Metal for test invocation of eval-callback to fix CI build on macOS-latest-cmake-arm64

Example failure:
https://github.com/ggerganov/llama.cpp/actions/runs/8651988935/job/23723903645#step:5:4773

@HanClinto
Copy link
Copy Markdown
Contributor Author

I would prefer it if I could add -ngl 0 only for the osx platform, but I'm not familiar enough with cmake to do that, and welcome suggestions / corrections.

@slaren
Copy link
Copy Markdown
Member

slaren commented Apr 11, 2024

I think -ngl 0 is fine, the github runners do not have a GPU anyway. And -ngl 0 is already the default for all backends except Metal. To test with a GPU it could be run in the ggml-ci (in ci/run.sh), but it's not important.

@HanClinto HanClinto merged commit f7001cc into ggml-org:master Apr 11, 2024
@phymbert
Copy link
Copy Markdown
Collaborator

Thanks, sorry I did not read the error log carefully in the PR as I was thinking the metal test randomly failed :/

@HanClinto
Copy link
Copy Markdown
Contributor Author

Thanks, sorry I did not read the error log carefully in the PR as I was thinking the metal test randomly failed :/

Not a problem at all! The eval-callback program looks awesome, and I'm glad it's added to the suite -- nice job on that!

Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 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.

3 participants