M1 Apple Silicon for Chess?

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

Moderator: Ras

User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

Hi Acepoint,

I've just tried to use nightnurse_n_bin and darkhorse_n.bin (also renaming them .nnue) with Cfish 140421 64 NEON binary compiled by you, but they doesn't work (BanksiaGui cannot bind these NNUE files)

Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: M1 Apple Silicon for Chess?

Post by dkappe »

AlexChess wrote: Sun May 30, 2021 6:02 pm Hi Acepoint,

I've just tried to use nightnurse_n_bin and darkhorse_n.bin (also renaming them .nnue) with Cfish 140421 64 NEON binary compiled by you, but they doesn't work (BanksiaGui cannot bind these NNUE files)

Regards, AlexChess
Not sure which nets these are. The latest versions of DarkHorse and Night Nurse can be found at the links below.

https://www.patreon.com/posts/47913036
https://www.patreon.com/posts/46830152
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: M1 Apple Silicon for Chess?

Post by dkappe »

acepoint_de wrote: Sun Apr 25, 2021 11:49 pm Only Fire is source code (I already thought so when reading the links), the others are a binary and known nets. For Fire and Brainfish I have to adjust the makefile, this will last a day or two due to lack of time.

Ciao

acepoint
Toga III is the latest RL Toga III running in the Toga II engine, so it “is source code.” :)

Compiles can be found here: https://www.patreon.com/posts/50193195
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
acepoint_de
Posts: 86
Joined: Tue Jun 11, 2013 1:14 am

Re: M1 Apple Silicon for Chess?

Post by acepoint_de »

AlexChess wrote: Sun May 30, 2021 6:02 pm I've just tried to use nightnurse_n_bin and darkhorse_n.bin (also renaming them .nnue) with Cfish 140421 64 NEON binary compiled by you, but they doesn't work (BanksiaGui cannot bind these NNUE files)
I might be wrong, but if I remember correctly you have to configure the full path name. At least I remember something like this for certain engines in Chessbase. Nonetheless, the engine code itself is from February, so it must be cfish-1.3.

Ciao

acepoint
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

acepoint_de wrote: Mon May 31, 2021 1:52 pm
AlexChess wrote: Sun May 30, 2021 6:02 pm I've just tried to use nightnurse_n_bin and darkhorse_n.bin (also renaming them .nnue) with Cfish 140421 64 NEON binary compiled by you, but they doesn't work (BanksiaGui cannot bind these NNUE files)
I might be wrong, but if I remember correctly you have to configure the full path name. At least I remember something like this for certain engines in Chessbase. Nonetheless, the engine code itself is from February, so it must be cfish-1.3.

Ciao

acepoint
Hi!

@acepoint @dkappe
I've managed to bind both ninu-0.4b.bin and NightNurse_n.bin (I think they are the same) on Night Nurse CF for Windows 10 ARM64, but not on macOS M1 inside CFish 210311, Stockfish 210404 or Stockfish-slim 210523 (tried Cutechess and BanksiaGui) specifying full path, as .bin or renaming them .nnue

@dkappe Downloaded also Toga III 0.3.12 that works fine on Windows 10 ARM64. Isn't there also Dark Horse 0.4b.bin ? They are very strong on my Windows 10 tests.
Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
JohnWoe
Posts: 529
Joined: Sat Mar 02, 2013 11:31 pm

Re: M1 Apple Silicon for Chess?

Post by JohnWoe »

AlexChess wrote: Thu May 27, 2021 5:44 pm SuperBlitz 30 Engines 3 secs + 3 mins / all + Tb Syzygy 6-man on BanksiaGUI Mac Mini M1 - 4CPUs

Image

Fat Fritz 2.0 Github (compiled by me thanks to CP guide) is first on Mac Mini M1 but not on the official build for Windows 10 :D

Now switched to 30 mins+30 secs / all NOBOOK TB Syzygy 6-man roundrobin BanksiaGUI tournament between best engines above + Stockfish 230521 slim (EXP56)

Regards, AlexChess
Mayhem 4.5 finished last ...
...
I think that's because Mayhem used only its classical evaluation?
Mayhem's classical is oversimplified not so strong. Missing king safety etc.
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: M1 Apple Silicon for Chess?

Post by dkappe »

AlexChess wrote: Mon May 31, 2021 4:57 pm

@acepoint @dkappe
I've managed to bind both ninu-0.4b.bin and NightNurse_n.bin (I think they are the same) on Night Nurse CF for Windows 10 ARM64, but not on macOS M1 inside CFish 210311, Stockfish 210404 or Stockfish-slim 210523 (tried Cutechess and BanksiaGui) specifying full path, as .bin or renaming them .nnue

@dkappe Downloaded also Toga III 0.3.12 that works fine on Windows 10 ARM64. Isn't there also Dark Horse 0.4b.bin ? They are very strong on my Windows 10 tests.
Regards, AlexChess
There was only a DarkHorse 0.3 but also The White Rose, which is definitely the strongest net I’ve trained outside of Komodo.
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
wickedpotus
Posts: 153
Joined: Sun May 16, 2021 5:33 pm
Full name: Aron Rodgriges

Re: M1 Apple Silicon for Chess?

Post by wickedpotus »

AlexChess wrote: Sat May 29, 2021 7:10 pm
Can malware use this vulnerability to take over my computer?
No.
(true not by the flaw itself)
AlexChess wrote: Sat May 29, 2021 7:10 pm Can malware use this vulnerability to steal my private information?
No.
Wrong.. letting unprivileged supposedly sandboxed applications communicate is a perfect way for keyloggers, browser-malware, NSA-style spying orgs, etc. to steal and transmit private information.
AlexChess wrote: Sat May 29, 2021 7:10 pm Can malware use this vulnerability to rickroll me?
Yes. I mean, it could also rickroll you without using it.
These kinds of basic fail from Apple to follow design guidelines from ARM do not help security in any way, and as it is unfixable it will be an added tool in the toolkit for the North-Koreans out there :-)
AlexChess wrote: Sat May 29, 2021 7:10 pm Can this be exploited from Javascript on a website?
No.
If you simply assume that the browser, OS, javascript implementation, and webassembly implementation is 100% flawless and bulletproof then this added security defect won't be possible to exploit... But ... ...
AlexChess wrote: Sat May 29, 2021 7:10 pm Can this be exploited from Java apps?
Wait, people still use Java?
Java is most definitively used more than any Swift or even MacOS as a whole.
AlexChess wrote: Sat May 29, 2021 7:10 pm Can this be exploited from Flash applets?
Please stop.
I thought your argument about why security is not a problem on Apple products could not get any worse... But you managed to sink the rhetoric lower :-)
wickedpotus
Posts: 153
Joined: Sun May 16, 2021 5:33 pm
Full name: Aron Rodgriges

Re: M1 Apple Silicon for Chess?

Post by wickedpotus »

BTW AMD just released 16-threads APU - 5700GE extending the lead even more and asserting dominance over Apple, Intel, ARM, combing a 4.6 GHz 8-core, 16-threads CPU more than twice as fast as the M1 with a built-in high-end Radeon GPU on the same chip with an amazing low tdp of 35W.
User avatar
towforce
Posts: 12353
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: M1 Apple Silicon for Chess?

Post by towforce »

wickedpotus wrote: Wed Jun 02, 2021 2:23 am BTW AMD just released 16-threads APU - 5700GE extending the lead even more and asserting dominance over Apple, Intel, ARM, combing a 4.6 GHz 8-core, 16-threads CPU more than twice as fast as the M1 with a built-in high-end Radeon GPU on the same chip with an amazing low tdp of 35W.

Wow!
Human chess is partly about tactics and strategy, but mostly about memory