alpaca-electron icon indicating copy to clipboard operation
alpaca-electron copied to clipboard

Mac ARM release broken

Open glowingkitty opened this issue 1 year ago • 16 comments

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

glowingkitty avatar Apr 11 '23 14:04 glowingkitty

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

thelamedia avatar Apr 11 '23 15:04 thelamedia

Same.

This works:

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

Then retry.

bakman2 avatar Apr 11 '23 16:04 bakman2

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.

mdellen avatar Apr 11 '23 18:04 mdellen

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.

ItsPi3141 avatar Apr 11 '23 18:04 ItsPi3141

image it's anyway doesn't work :)

snatvb avatar Apr 11 '23 21:04 snatvb

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.

ItsPi3141 avatar Apr 11 '23 22:04 ItsPi3141

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

image

mkellerman avatar Apr 13 '23 22:04 mkellerman

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.

ItsPi3141 avatar Apr 13 '23 23:04 ItsPi3141

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 avatar Apr 15 '23 10:04 snatvb

image image Same problem

snatvb avatar Apr 15 '23 14:04 snatvb

image image Same problem

What model are you using?

ItsPi3141 avatar Apr 15 '23 16:04 ItsPi3141

image image Same problem

What model are you using?

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

snatvb avatar Apr 16 '23 10:04 snatvb

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.

ItsPi3141 avatar Apr 16 '23 16:04 ItsPi3141

Ok, I will try it later :)

snatvb avatar Apr 17 '23 09:04 snatvb

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

snatvb avatar May 01 '23 18:05 snatvb

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

enzyme69 avatar May 22 '23 10:05 enzyme69