Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Mac ARM release broken #38

Open
glowingkitty opened this issue Apr 11, 2023 · 16 comments
Open

Mac ARM release broken #38

glowingkitty opened this issue Apr 11, 2023 · 16 comments
Labels
bug Something isn't working

Comments

@glowingkitty
Copy link

the Mac ARM release cannot be opened. MacOS says the download is broken.
Using MacOS 13.2 on an MacBook Pro M1 (2020).

@thelamedia
Copy link

Showing the same issue here. Says the package is damaged and will not open. Same OS and Macbook Pro M1 Max.

@bakman2
Copy link

bakman2 commented Apr 11, 2023

Same.

This works:

`xattr -cr /Applications/Alpaca\ Electron.app/`

Then retry.

@mdellen
Copy link

mdellen commented Apr 11, 2023

Same issues here: “Alpaca Electron” is damaged and can’t be opened. You should move it to the Bin.

Thank you @bakman2, this worked, but should off-course not be needed.

@ItsPi3141
Copy link
Owner

Thank you @bakman2, this worked, but should off-course not be needed.

It is needed. There's no way around it. I don't have an app signing certificate (I don't want to buy one) so when you download the file, MacOS writes an extended attribute that tells the system that the file is downloaded from the internet. When you open the file, the system will check if the developer is recognized and whether it was downloaded from the internet. If it was downloaded and the developer is not recognized, then it will say the app cannot be run. The only way to get around this is to clear the file's extended attribute (the xattr -cr command) so that the system no longer thinks the file was downloaded from the internet.

@snatvb
Copy link

snatvb commented Apr 11, 2023

image
it's anyway doesn't work :)

@ItsPi3141
Copy link
Owner

image
it's anyway doesn't work :)

Your RAM is full so it's using swap, which is very slow. If you're using a large mode (e.g. 30B or 65B), it will also take very long to start generating an output. Also on the first run, it has to load the model into RAM, so if your disk is slow, it will take a long time.

@mkellerman
Copy link

I would recommend you add it to the instruction in the installer.

image

@ItsPi3141
Copy link
Owner

I would recommend you add it to the instruction in the installer.

image

I might add it to the FAQ instead of the MacOS installer.

@snatvb
Copy link

snatvb commented Apr 15, 2023

image
it's anyway doesn't work :)

Your RAM is full so it's using swap, which is very slow. If you're using a large mode (e.g. 30B or 65B), it will also take very long to start generating an output. Also on the first run, it has to load the model into RAM, so if your disk is slow, it will take a long time.

I have m1 max with 64gb ram and 1tb ssd
I'll restart and try more and come back with news

@snatvb
Copy link

snatvb commented Apr 15, 2023

image
image
Same problem

@ItsPi3141
Copy link
Owner

image
image
Same problem

What model are you using?

@snatvb
Copy link

snatvb commented Apr 16, 2023

image
image
Same problem

What model are you using?

https://huggingface.co/Pi3141/alpaca-7b-native-enhanced/tree/main
ggml-model-q4_1.bin

@ItsPi3141
Copy link
Owner

What model are you using?
https://huggingface.co/Pi3141/alpaca-7b-native-enhanced/tree/main
ggml-model-q4_1.bin

How long did you wait for? I don't know the specs of ARM64 Macs, but it's possible that it's still loading the model into the RAM. The CPU usage from the screenshot seems to indicate that it's doing something.

Try waiting longer, maybe half an hour. I don't really know any other solution for this since I don't have an ARM64 Mac myself.

@snatvb
Copy link

snatvb commented Apr 17, 2023

Ok, I will try it later :)

@ItsPi3141 ItsPi3141 added the bug Something isn't working label Apr 23, 2023
@snatvb
Copy link

snatvb commented May 1, 2023

So, I tried again. I waited 30 minutes but it still doesn't work

@enzyme69
Copy link

macOS version does not seem to response or working. confirmed. waited long time, no response whatsoever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants