Apple M1 Ultra - is this enough for chess?

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

Moderator: Ras

Sopel
Posts: 391
Joined: Tue Oct 08, 2019 11:39 pm
Full name: Tomasz Sobczyk

Re: Apple M1 Ultra - is this enough for chess?

Post by Sopel »

dangi12012 wrote: Thu Mar 10, 2022 2:01 am
Sopel wrote: Wed Mar 09, 2022 11:53 pm You can get the same and more from AVX512 galois field instructions
Pls dont ever quote me ever again. You half knowledge is just too annoying.
Have you looked at the throughput and latency? Not to mention that AVX512 is DOA and Intel is suspected to drop it soon... Enabling AVX512 often makes every other process on the system run slower.

If you are using this in production code - measure what you did to everyone around you.
If anyone reads this: Sopel is a confirmed forum troll who is just very annoying to every thread he writes to.


Back to topic:
M1 looks interesting - will wait for INDEPENDENT reviews.
Yes, I did. VGF2P8AFFINEQB has 0.5 rtp and latency of ~7. Enabling AVX512 doesn't throttle in itself; if you limit yourself to <512-bit wide instructions there is no throttling, and even if you don't it only throttles on a subset of them.
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.

Maybe you copied your stockfish commits from someone else too?
I will look into that.
WuShock
Posts: 182
Joined: Thu Jul 19, 2007 3:13 am

Re: Apple M1 Ultra - is this enough for chess?

Post by WuShock »

Does the Neural Engine do anything for chess ?

The 32-core Neural Engine in M1 Ultra runs up to 22 trillion operations per second, speeding through the most challenging machine learning tasks.

https://www.apple.com/newsroom/2022/03/ ... -computer/
Sopel
Posts: 391
Joined: Tue Oct 08, 2019 11:39 pm
Full name: Tomasz Sobczyk

Re: Apple M1 Ultra - is this enough for chess?

Post by Sopel »

WuShock wrote: Thu Mar 10, 2022 4:03 pm Does the Neural Engine do anything for chess ?

The 32-core Neural Engine in M1 Ultra runs up to 22 trillion operations per second, speeding through the most challenging machine learning tasks.

https://www.apple.com/newsroom/2022/03/ ... -computer/
There's no way to use it aside from a very limited high-level library specific for apple (Core ML) so it's useless for NNUE. Lc0 could maybe use it because it uses a more typical NN but it's not clear if even that would be possible.
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.

Maybe you copied your stockfish commits from someone else too?
I will look into that.
Magnum
Posts: 195
Joined: Thu Feb 04, 2021 10:24 pm
Full name: Arnold Magnum

Re: Apple M1 Ultra - is this enough for chess?

Post by Magnum »

Luecx wrote: Wed Mar 09, 2022 12:45 pm Koivisto has support for ARM (M1) CPUs. I tested the performance compared to my 3950x and the speed is very similar.
Very similar to 3950x sounds fine.
Magnum
Posts: 195
Joined: Thu Feb 04, 2021 10:24 pm
Full name: Arnold Magnum

Re: Apple M1 Ultra - is this enough for chess?

Post by Magnum »

Sopel wrote: Wed Mar 09, 2022 4:08 pm For stockfish 14.1 pure nnue we should expect about 30MNps, extrapolating from https://forums.macrumors.com/threads/st ... 0.2326552/ and https://browser.geekbench.com/v5/cpu/co ... e=13330272. Comparing to http://ipmanchess.yolasite.com/amd--int ... ckfish.php it should place around AMD Ryzen 9 3900X/ Intel Core i5 12600K. Respectable, but nothing special.
M2 chips will be release in the second half of 2022.
M2 Ultra will have +4 performance cores:
16 + 4 = 20 performance cores
+4 high efficiency cores = 24 CPU cores.
On top of that the M2 Ultra cores will be 20% faster.
For Stockfish 14.1 pure nnue we should expect 44MNps.
Werewolf
Posts: 2061
Joined: Thu Sep 18, 2008 10:24 pm

Re: Apple M1 Ultra - is this enough for chess?

Post by Werewolf »

Magnum wrote: Sat Mar 12, 2022 9:47 am
Sopel wrote: Wed Mar 09, 2022 4:08 pm For stockfish 14.1 pure nnue we should expect about 30MNps, extrapolating from https://forums.macrumors.com/threads/st ... 0.2326552/ and https://browser.geekbench.com/v5/cpu/co ... e=13330272. Comparing to http://ipmanchess.yolasite.com/amd--int ... ckfish.php it should place around AMD Ryzen 9 3900X/ Intel Core i5 12600K. Respectable, but nothing special.
M2 chips will be release in the second half of 2022.
M2 Ultra will have +4 performance cores:
16 + 4 = 20 performance cores
+4 high efficiency cores = 24 CPU cores.
On top of that the M2 Ultra cores will be 20% faster.
For Stockfish 14.1 pure nnue we should expect 44MNps.
About half a Threadripper then :lol:
Sopel
Posts: 391
Joined: Tue Oct 08, 2019 11:39 pm
Full name: Tomasz Sobczyk

Re: Apple M1 Ultra - is this enough for chess?

Post by Sopel »

Magnum wrote: Sat Mar 12, 2022 9:47 am
Sopel wrote: Wed Mar 09, 2022 4:08 pm For stockfish 14.1 pure nnue we should expect about 30MNps, extrapolating from https://forums.macrumors.com/threads/st ... 0.2326552/ and https://browser.geekbench.com/v5/cpu/co ... e=13330272. Comparing to http://ipmanchess.yolasite.com/amd--int ... ckfish.php it should place around AMD Ryzen 9 3900X/ Intel Core i5 12600K. Respectable, but nothing special.
M2 chips will be release in the second half of 2022.
M2 Ultra will have +4 performance cores:
16 + 4 = 20 performance cores
+4 high efficiency cores = 24 CPU cores.
On top of that the M2 Ultra cores will be 20% faster.
For Stockfish 14.1 pure nnue we should expect 44MNps.
That's a lot of numbers to add up without any source. Either way, it's not like AMD/Intel is sleeping
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.

Maybe you copied your stockfish commits from someone else too?
I will look into that.
User avatar
Ras
Posts: 2722
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Apple M1 Ultra - is this enough for chess?

Post by Ras »

Werewolf wrote: Sat Mar 12, 2022 4:26 pmAbout half a Threadripper then :lol:
Quite a Big Mac. 8-)
Rasmus Althoff
https://www.ct800.net
Modern Times
Posts: 3789
Joined: Thu Jun 07, 2012 11:02 pm

Re: Apple M1 Ultra - is this enough for chess?

Post by Modern Times »

Is it "enough" for chess, the answer has to be yes unless you have some sort of extreme requirements. Whether or not you want to pay the Apple premium, be tied into the Apple eco-system, and use Apple's OS is another question altogether.
mar
Posts: 2670
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Apple M1 Ultra - is this enough for chess?

Post by mar »

the efficiency cores on M1 run at least 2x slower than performance cores (depending on what you do), I imagine this could add a ton of noise when playing multiple games in parallel.