-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Apple M1 support #2313
Comments
Are you using the .dmg install? It is x86_64 only and the native M1 install requires using git - but that is fully ARM native. I plan to post a 1.1.0 all M1 .dmg in a couple of days. |
Yes I used dmg, so if i replace my install with brew install, it will install it with apple arch ? |
If you use the development install version you will get an all M1/Apple Silicon build. You can run both - but not both GUIs at the same time. |
@hoffmang9 install failed I had to install more packages like cmake but still it fails with
|
The reason it failed is that we assume all M1's have Python 3.9 as I did not think Python 3.8 can run natively on M1. If you upgrade to 3.9 it should build. |
yes that worked. installed pyenv and 3.9 |
I was probably too optimistic @hoffmang9 i was able to install it, but GUI hangs on connecting to wallet and in terminal i have
|
@radvansky-tomas have you managed to find a solution? |
@radvansky-tomas also, as you are aiming to use M1, I assume you are using a external drive for farming? May I ask what ymis your setup? Thanks |
Yes for now I have just one 4TB drive to store my plots. But I will build separate NAS storage. M1 is pretty good for making plots, and I am sure it could be faster with native implementation |
yeah, M1 is a good idea, have you experimented with the speed difference on plotting on built-in SSD vs the external hard drive? will the external hard drive be slower as in if the USB3.0 can be the bottleneck? |
You can use TB3 with nvme enclosure...that is not really a bottleneck... But in general is much faster then cloud plotting i tried, or ryzen3100 |
Is this one still in the works? Thanks. |
It did not work for me....I installed it from GIT but its still under Intel arch |
@radvansky-tomas Exactly what version of Python are you using? I suggest downloading the whole latest Python package fresh, and then deleting your Chia app folder and re-downloading the latest release of Chia from Github to it. That worked for me yesterday on M1 MacBook |
Python 3.9 is required to get the M1 native wheels. |
Python 3.9.4 @alexjcampbell @hoffmang9 |
And you can see in my screenshot that python instances are running with Apple arch...but chia is running with Intel |
I am actually able to get Chia 1.1.2 to run natively on an M1 Mac. Here are the main steps:
|
@zwyuan Electron process is running natively, no one said anything about it ;) chia process is running with Intel |
Well, I could be wrong, but all I can see when I started plotting using command line, is that it spawned |
Maybe that chia process is for farming / node keeping |
It runs natively on the company M1 that also generates the M1 wheels. If only we had CI... |
I have tested using 2TB internal SSD on 16GB Mac Mini.
|
An update. I have received a USB31 interface (10Gb) for my NVME and now I
can do two parallel plots in 5hrs .. 2.5hrs each, I don't know if I can do
better on an 8G RAM M1, anyone tried 3 in parallel?
…On Wed, 26 May 2021 at 3:14 PM, firesh ***@***.***> wrote:
I have tried using 2TB internal SSD on 16GB Mac Mini,
Got 20 plot each day.
The SSD is good enough in both speed and space. And SSD speed still can
reach 2GB/s during the plotting.
I think It's the limitation of M1(16GB). Expect M1X(32GB)...
Anyone get more plots?
about 5 hours each plot but four in parallel.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2313 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNHVB7UQKQWA64RWS7UETLTPRRRPANCNFSM43LNM5AA>
.
|
@bmentink whats your set up ram threads etc, thats pretty quick on usb 3.1... |
Hi, I ran with 3400MB and 6 threads.. cheers
…On Wed, 26 May 2021, 7:24 pm atf130, ***@***.***> wrote:
@bmentink <https://github.com/bmentink> whats your set up ram threads
etc, thats pretty quick on usb 3.1...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2313 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNHVB7EK2PIDD3T7BA4IB3TPSOZ5ANCNFSM43LNM5AA>
.
|
@bmentink thanks for sharing, did you have a delay on both plot or run at same time ? |
Delay was 85min :) |
@bmentink thanks sir, its interesting changing the settings and playing around to get optimum plot rates Are you using native M1 build ? |
Can you tell us the status on M1 dmg? |
We are waiting on any of the major CIs that are compatible with GitHub to have M1 runners. |
Yes, built with homebrew .. let me know if you achieve better :) |
@bmentink I have been tryinf but get errors at last stage or building chia code sh install.sh Message is Failed to build blspy chiapos chiavdf |
Omg just watch a video on YT and he said he can plot 30-40TB a day but the production cannot catch-up the growth of the chia net work. And he Only made half of the money back for every TB he spent on the drives. |
Please avoid posting about anything other than M1 support here. (Reddit's /r/chia is a good place for general whining.) |
@atf130 : Google says you may need to update pip You could try to install/plotting chia via my guide ( no homebrew ): https://github.com/scotopic/chia-guide#setup-chia-from-git |
@scotopic thanks for the suggestion will try it out. Pyhon installed fine will give it a go again |
@scotopic just tried updating pip ny ideas? |
@scotopic sorry my bad didn't use sudo |
Update: I am achieving 10 plots per day on my 8G M1 with 3400MB and 1TB 10Gbit SSD, 2 parallel plots ... I am getting a 40Gbit interface for my SSD soon, will see if I can do 3 parallel plots with 8G memory :) |
Wow that’s good numbers. What’s the threads set for the 2 parallel plots.
Also What is the speed on your ssd by using the black magic. My 10gbit ssd
enclosure only give me 700-800ish.
…On Fri, May 28, 2021 at 1:41 PM bmentink ***@***.***> wrote:
Update: I am achieving 10 plots per day on my 8G M1 with 3400MB and 1T
10Gbit SSD, 2 parallel plots ... I am getting a 40Gbit interface for my SSD
soon, will see if I can do 3 parallel plots with 8G memory :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2313 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASDGYUWKCZBJARAMWYY23FTTP75WPANCNFSM43LNM5AA>
.
|
Hi, threads are 6. My 10Gb SSD enclosure is about the same speed .. using a WD green .. be interested in seeing what sort of life I will get out of it, being so cheap ... Also, I am using plotman to run my plots, it's set to run the 2nd plot on stage 2 of the ist plot. Also setup so only two plots can happen in parallel at all times .. |
I am struggling to get the m1 native build still. |
@atf130 Did you follow @nerirififi's build instructions in an earlier post? I had several failed attempts, then it all came together by following his method .. |
Hmmm, his posts seem to have vanished ... here are the instructions anyway .... Install brew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Set brew in the path Install python & node brew install pyenv set python in the path Check if python 3.9 is use python -V install rust you can try this Do as instructed and put in PATH Next, compile chia blockchain ======================================================= git clone https://github.com/Chia-Network/chia-blockchain.git -b latest then sh install.sh then sh install-gui.sh then cd chia-blockchain-gui ` |
@bmentink thanks for reposting. Yes i followed the exact steps and was getting errors. Managed to get passed it all until the last stage npm run electron & Which gave error cant find npm command. Gona try it all again in my other mac which is M1 macbook pro and see if it works on there. |
@bmentink damn this is annoying now failing at python stage GitHub down or what... |
I closed this issue, as it has been resolved weeks ago and you are basically discussing here...move your questions to discussion or other platform please |
|
App works fine on m1 mac mini, however main plotting process chia still runs with intel arch (ie emulation)
I think i would def speed up processing process if it was compiled agains arm/apple silicon
The text was updated successfully, but these errors were encountered: