M1 Apple Silicon for Chess?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

George Sobala
Posts: 44
Joined: Sat Feb 03, 2018 2:42 pm
Location: Yorkshire, England

Re: M1 Apple Silicon for Chess?

Post by George Sobala »

Ckappe wrote: Wed Feb 17, 2021 7:15 pm Why not by a computer to run chess instead of a proprietary poser toy?
Perhaps we could have a new benchmark: how many giganodes of analysis can your device do on one battery charge? No power cord allowed.
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: M1 Apple Silicon for Chess?

Post by Milos »

George Sobala wrote: Wed Feb 17, 2021 10:04 pm
Ckappe wrote: Wed Feb 17, 2021 7:15 pm Why not by a computer to run chess instead of a proprietary poser toy?
Perhaps we could have a new benchmark: how many giganodes of analysis can your device do on one battery charge? No power cord allowed.
Yeah lets compare it to my server and its 3kWh UPS :lol:.
George Sobala
Posts: 44
Joined: Sat Feb 03, 2018 2:42 pm
Location: Yorkshire, England

Re: M1 Apple Silicon for Chess?

Post by George Sobala »

Milos wrote: Wed Feb 17, 2021 11:18 pm
George Sobala wrote: Wed Feb 17, 2021 10:04 pm
Ckappe wrote: Wed Feb 17, 2021 7:15 pm Why not by a computer to run chess instead of a proprietary poser toy?
Perhaps we could have a new benchmark: how many giganodes of analysis can your device do on one battery charge? No power cord allowed.
Yeah lets compare it to my server and its 3kWh UPS :lol:.
... on a plane.
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: M1 Apple Silicon for Chess?

Post by Milos »

George Sobala wrote: Wed Feb 17, 2021 11:29 pm
Milos wrote: Wed Feb 17, 2021 11:18 pm
George Sobala wrote: Wed Feb 17, 2021 10:04 pm
Ckappe wrote: Wed Feb 17, 2021 7:15 pm Why not by a computer to run chess instead of a proprietary poser toy?
Perhaps we could have a new benchmark: how many giganodes of analysis can your device do on one battery charge? No power cord allowed.
Yeah lets compare it to my server and its 3kWh UPS :lol:.
... on a plane.
You run chess analysis for 10 hours on your laptop on a plane??? :shock:
User avatar
towforce
Posts: 11589
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK

Re: M1 Apple Silicon for Chess?

Post by towforce »

Milos wrote: Thu Feb 18, 2021 11:24 amYou run chess analysis for 10 hours on your laptop on a plane??? :shock:

Is that not what one does on a long flight? :?
Writing is the antidote to confusion.
It's not "how smart you are", it's "how are you smart".
Your brain doesn't work the way you want, so train it!
George Sobala
Posts: 44
Joined: Sat Feb 03, 2018 2:42 pm
Location: Yorkshire, England

Re: M1 Apple Silicon for Chess?

Post by George Sobala »

towforce wrote: Thu Feb 18, 2021 1:44 pm
Milos wrote: Thu Feb 18, 2021 11:24 amYou run chess analysis for 10 hours on your laptop on a plane??? :shock:

Is that not what one does on a long flight? :?
Indeed. I think we will have to strip Milos of all his chess honours.
User avatar
AlexChess
Posts: 1524
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

acepoint_de wrote: Wed Feb 17, 2021 6:38 pm
AlexChess wrote: Wed Feb 17, 2021 5:17 pm
George Sobala wrote: Wed Feb 17, 2021 5:17 am The 32 bit version of Chessbase 15 works fine within Arm64 Windows 10 under Parallels.
also 64 bit apps work now
*Sigh*

Again a few more steps up in my list...does it work flawlessly?



Did you check it for your own? But you still need the emulator, don't you? That's a bit too much for my taste, an application needing an emulator in Win needing parallels on a MacOS.

YESS! Standard compilation using Homebrew. I have only changed a parameter on BacksiaGUI configuration (NNUE= BLAS) Lc0 *M1* is not fast, but already quite strong!

We can share them:
https://github.com/bmdanielsson/marvin- ... tag/v5.0.0 NNUE!!
http://www.sdchess.ru/engines/texel108a13all.zip
http://www.sdchess.ru/engines/vajolet2_2_62.zip
http://www.sdchess.ru/engines/Ethereal_12_77_mac.zip
http://www.sdchess.ru/engines/RubiChess ... mac_64.zip
http://www.sdchess.ru/engines/senpai_2_0mac.zip

I'd like to test Cfish (latest source, I have only Cfish 8) chessX and Crystal 3.1


I'm trying to learn how to compile them for myself. If you are able to compile for mac, here 2 other interesting engines for Mac:
https://github.com/vshcherbyna/igel


KN/MOVE. NPS. DEPTH/M TIME/M MOVES
1. SugaR AI ICCF 1.40a 14867K 3439099 21.4 4.3 38.5 166.4
2. Stockfish 12 21333K 6007701 34.1 3.6 84.3 299.5
3. Ethereal 12.77 (POPCNT) 35379K 8789749 27.2 4.0 47.5 191.2
4. Texel 1.08a13 39356K 8822433 22.1 4.5 39.2 175.1
5. Marvin 5.0.0 15323K 3787483 19.5 4.0 56.5 228.6
6. Senpai 2.0 1524K 354558 15.9 4.3 45.5 195.6
7. ShashChess Pro 2.0 64 POPCNT 32965K 9326038 29.8 3.5 93.7 331.1
8. Vajolet2 2.6.1 27508K 7010123 26.6 3.9 38.0 149.13
9. Lc0 v0.26.3+git.dirty 14K 3690 7.6 3.9 67.0

Meanwhile I'm collecting a bunch of chess software compiling native m1 binaries. Already working are

chessx
cute chess + cli
cfish (latest sources)
crystal 3.1
stockfish12 (native also available via homebrew)
stockfish (current sources)
sugar-AI-ICCF-140a

lc0-026.3 works with openCL but I wasn't able to install the tensorflow stuff correctly yet. Will last a while I guess

Any more wishes, Apple fangirls and -boys ;-) ? I will upload some stuff tomorrow or so.

Ciao

acepoint
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum TROLLS KINDERGARTEN
Ckappe
Posts: 81
Joined: Sun Feb 14, 2021 11:50 am
Full name: Rütger Andersen

Re: M1 Apple Silicon for Chess?

Post by Ckappe »

George Sobala wrote: Wed Feb 17, 2021 10:04 pm
Ckappe wrote: Wed Feb 17, 2021 7:15 pm Why not by a computer to run chess instead of a proprietary poser toy?
Perhaps we could have a new benchmark: how many giganodes of analysis can your device do on one battery charge? No power cord allowed.
Sound like an interesting test...(something Mac posers usally are not fond of.. They only want to do 20 seconds apple to oranges benches with geekbench in my experience :-) Post your number and I will do test under same condition on my new AMD laptop, , Shall we use LC0 as a bench? I am extremely confident that my laptop will do more positions than an M1 before power runs out... given my large battery and much faster machine..

But how long are you really away from a powerplug, when doing long-time analysis to be honest...
George Sobala
Posts: 44
Joined: Sat Feb 03, 2018 2:42 pm
Location: Yorkshire, England

Re: M1 Apple Silicon for Chess?

Post by George Sobala »

Ckappe wrote: Thu Feb 18, 2021 7:12 pm
George Sobala wrote: Wed Feb 17, 2021 10:04 pm
Ckappe wrote: Wed Feb 17, 2021 7:15 pm Why not by a computer to run chess instead of a proprietary poser toy?
Perhaps we could have a new benchmark: how many giganodes of analysis can your device do on one battery charge? No power cord allowed.
Sound like an interesting test...(something Mac posers usally are not fond of.. They only want to do 20 seconds apple to oranges benches with geekbench in my experience :-) Post your number and I will do test under same condition on my new AMD laptop, , Shall we use LC0 as a bench? I am extremely confident that my laptop will do more positions than an M1 before power runs out... given my large battery and much faster machine..

But how long are you really away from a powerplug, when doing long-time analysis to be honest...
I choose stockfish as the engine as it is the strongest. (Yeah and of course I have CPU power rather than GPU). Happy to try it out in the next couple of days.

Suggest go infinite from the start position with default hash and however many threads you want.
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: M1 Apple Silicon for Chess?

Post by jshriver »

Milos wrote: Thu Feb 18, 2021 11:24 am You run chess analysis for 10 hours on your laptop on a plane??? :shock:
What else is there to do when flying to Japan or Australia lol