Skip to content

Remove the LLAMA_ACCELERATE matrix dimension from Ubuntu builds in the CI #1074

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

dfyz
Copy link
Collaborator

@dfyz dfyz commented Apr 20, 2023

Accelerate is an Apple framework which can only be used on macOS, and the CMake build ignores the LLAMA_ACCELERATE variable when run on non-Apple platforms. This implies setting LLAMA_ACCELERATE is a no-op on Ubuntu and can be removed.

This will reduce visual noise in CI check results (in addition to reducing the number of checks we have to run for every PR). Right now every sanitized build is duplicated twice for no good reason (e.g., we have CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, ON) and CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, OFF)).

…e CI

[Accelerate](https://developer.apple.com/documentation/accelerate) is an Apple framework which can only be used on macOS, and the CMake build [ignores](https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L102) the `LLAMA_ACCELERATE` variable when run on non-Apple platforms. This implies setting `LLAMA_ACCELERATE` is a no-op on Ubuntu and can be removed.

This will reduce visual noise in CI check results (in addition to reducing the number of checks we have to run for every PR). Right now every sanitized build is duplicated twice for no good reason (e.g., we have `CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, ON)` and `CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, OFF)`).
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants