Disable some flags in Apple x86_64#3424
Closed
Freed-Wu wants to merge 1 commit intoggml-org:masterfrom
Freed-Wu:apple-x86
Closed
Disable some flags in Apple x86_64#3424Freed-Wu wants to merge 1 commit intoggml-org:masterfrom Freed-Wu:apple-x86
Freed-Wu wants to merge 1 commit intoggml-org:masterfrom
Freed-Wu:apple-x86
Conversation
@abetlen reports some flags cannot work in Apple x86_64. Disable them by default. https://github.com/abetlen/llama-cpp-python/blob/b4939c2d99cb3b0e49bcaeee8731050deed9ccfe/CMakeLists.txt#L9-L16
Contributor
Author
|
@abetlen, I advise to move https://github.com/abetlen/llama-cpp-python/blob/b4939c2d99cb3b0e49bcaeee8731050deed9ccfe/CMakeLists.txt#L9-L16 |
Collaborator
|
These are just defaults - they are meant to be changed via the command line if you are on an older processor. This is not an Apple-specific concern. The build script currently does not warn if you are trying to use flags that are not compatible with the processor you are compiling on. |
Contributor
Author
|
Thanks, #3273 is awesome. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@abetlen reports some flags cannot work in Apple x86_64.
Disable them by default.
https://github.com/abetlen/llama-cpp-python/blob/b4939c2d99cb3b0e49bcaeee8731050deed9ccfe/CMakeLists.txt#L9-L16