Skip to content

M1 Max + GNU coreutils: "Your arch is announced as x86_64, but it seems to actually be ARM64" #101

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

Closed
Birch-san opened this issue Mar 13, 2023 · 2 comments
Labels
bug Something isn't working build Compilation issues hardware Hardware related stale

Comments

@Birch-san
Copy link

When I build, the makefile detects my M1 Max as 86_64.

This is because I have GNU coreutils uname on my PATH, which announces my architecture as arm64 (whereas the system distribution of uname would call the same architecture arm).

Lightning-AI/pytorch-lightning#13992 (comment)
Lightning-AI/pytorch-lightning#13991

this condition needs widening to accept both arm and arm64:

https://github.com/ggerganov/llama.cpp/blob/c09a9cfb06c87d114615c105adda91b0e6273b69/Makefile

@gjmulder gjmulder added hardware Hardware related build Compilation issues bug Something isn't working labels Mar 15, 2023
@cryolite-ai
Copy link

@Birch-san is this an issue which can be closed? I think there's an urgent need to try to close issues (because there are now over 800 live on the repo). I have an M1 Max and haven't had that issue with the current build, so I think this is probably stale..

@github-actions github-actions bot added the stale label Mar 25, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working build Compilation issues hardware Hardware related stale
Projects
None yet
Development

No branches or pull requests

3 participants