M1 Apple Silicon for Chess?
Moderator: Ras
-
- Posts: 1356
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
Re: M1 Apple Silicon for Chess?
Do you know if there is an OpenCL implimentation for M1? Curious if lc0 can use the GPU, or any OpenCL apps like hashcat.
-
- Posts: 86
- Joined: Tue Jun 11, 2013 1:14 am
Re: M1 Apple Silicon for Chess?
Yes, there is:
Code: Select all
% ./lc0-0.27.0
_
| _ | |
|_ |_ |_| v0.27.0+git.unknown built Feb 23 2021
Found configuration file: ./lc0.config
uci
id name Lc0 v0.27.0+git.unknown
id author The LCZero Authors.
option name WeightsFile type string default weights/LS15-20x256SE-jj-9-75000000.pb.gz
option name Backend type combo default opencl var opencl var blas var eigen var random var check var recordreplay var roundrobin var multiplexing var demux
option name BackendOptions type string default
Code: Select all
% ./lc0-0.27.0 benchmark
_
| _ | |
|_ |_ |_| v0.27.0+git.unknown built Feb 23 2021
Found pb network file: ./weights_42850.txt.gz
Creating backend [opencl]...
OpenCL, maximum batch size set to 16.
Initializing OpenCL.
Detected 1 OpenCL platforms.
Platform version: OpenCL 1.2 (Dec 21 2020 17:26:51)
Platform profile: FULL_PROFILE
Platform name: Apple
Platform vendor: Apple
Device ID: 0
Device name: Apple M1
Device type: GPU
Device vendor: Apple
Device driver: 1.2 1.0
...
===========================
Total time (ms) : 350347
Nodes searched : 126205
Nodes/second : 360
acepoint
-
- Posts: 86
- Joined: Tue Jun 11, 2013 1:14 am
Re: M1 Apple Silicon for Chess?
And here for comparison the numbers with backend blas:
Ciao
acepoint
Code: Select all
% ./lc0-0.27.0 % ./lc0-0.27.0 benchmark --backend=blas
_
| _ | |
|_ |_ |_| v0.27.0+git.unknown built Feb 23 2021
Found pb network file: ./weights_42850.txt.gz
Creating backend [blas]...
BLAS vendor: Apple vecLib.
BLAS max batch size is 256.
...
===========================
Total time (ms) : 356653
Nodes searched : 91821
Nodes/second : 257
acepoint
-
- Posts: 86
- Joined: Tue Jun 11, 2013 1:14 am
Re: M1 Apple Silicon for Chess?
Two updates and two new builds...
https://acepoint.de/two-updates-and-two-new-engines/
Ciao
acepoint
https://acepoint.de/two-updates-and-two-new-engines/
Ciao
acepoint
-
- Posts: 1562
- Joined: Sat Feb 06, 2021 8:06 am
- Full name: Alex Morales
Re: M1 Apple Silicon for Chess?
Thank you!
AlexChess
PS: Are you experiencing frequent commons Kernel Panics for overflow with M1? I have finally solved but I don't know which worked between SOS fix in Disk utilities, CleanmyMax X, Macbuster8 or Etrecheck removing something residual from Zoom unistallation.
https://forums.macrumors.com/threads/re ... 1.2276724/
AlexChess
PS: Are you experiencing frequent commons Kernel Panics for overflow with M1? I have finally solved but I don't know which worked between SOS fix in Disk utilities, CleanmyMax X, Macbuster8 or Etrecheck removing something residual from Zoom unistallation.
https://forums.macrumors.com/threads/re ... 1.2276724/
Chess engines and dedicated chess computers fan since 1981
macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum

ProteusSF Dev Forum
-
- Posts: 1562
- Joined: Sat Feb 06, 2021 8:06 am
- Full name: Alex Morales
Re: M1 Apple Silicon for Chess?
Another kernel panic (probable overflow) today after a week...acepoint_de wrote: ↑Wed Mar 24, 2021 10:48 pm Two updates and two new builds...
https://acepoint.de/two-updates-and-two-new-engines/
Ciao
acepoint

https://www.reddit.com/r/mac/comments/m ... id_kernel/
Chess engines and dedicated chess computers fan since 1981
macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum

ProteusSF Dev Forum
-
- Posts: 86
- Joined: Tue Jun 11, 2013 1:14 am
Re: M1 Apple Silicon for Chess?
I never had one yet. But I also have no spare time at the moment to check the postings from the forums you mentioned.AlexChess wrote: ↑Fri Mar 26, 2021 12:14 pm Another kernel panic (probable overflow) today after a week...![]()
https://www.reddit.com/r/mac/comments/m ... id_kernel/
Ciao
acepoint
-
- Posts: 186
- Joined: Wed Feb 17, 2021 7:44 pm
- Full name: Christian Petersen
Re: M1 Apple Silicon for Chess?
Maybe a year and Linux will at least half decently run on it hopefully.
I'm very excitedt for the new models (soon to be announced?)!
-
- Posts: 1562
- Joined: Sat Feb 06, 2021 8:06 am
- Full name: Alex Morales
Re: M1 Apple Silicon for Chess?
Still too much experimental. I run Ubuntu ARM64 on Parallels Desktop M1. It is stable and fast, but there aren't M1 IDE and UCI chess engines available until now.
Chess engines and dedicated chess computers fan since 1981
macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum

ProteusSF Dev Forum
-
- Posts: 2696
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: M1 Apple Silicon for Chess?
That will never happen unless you count software rendering (i.e. no graphics acceleration) as even somewhat decent. Apple will not support any OSS driver development because they want a locked and closed system.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net