Leela

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Leela

Post by smcracraft » Sat Nov 30, 2019 3:52 am

Anyone get Leela working on Mac OS "Catalina" yet?

Had it just fine on Mojave - fun sparring partner.

Would like to have Leela in her Catalina swimsuit for some romps.

User avatar
phhnguyen
Posts: 449
Joined: Wed Apr 21, 2010 2:58 am
Location: Australia
Full name: Nguyen Hong Pham
Contact:

Re: Leela

Post by phhnguyen » Sun Dec 01, 2019 1:41 pm

From my experience, Lc0's binaries always work with Catalina. Only compiling problem! If you have a Mojave system, try to compile Lc0 from that system then copy to the new one.

My iMac can't compile Lc0 after upgrading to Catalina from Mojave. However, a new fresh (without pre-installing compilers) Catalina system can compile well.

If you want to try a ready Lc0's binary on your Catalina, download my Banksia GUI (download link in "General topics" forums) first then download it from Download dialog of the program.

Or you can use the direct link below (the link is temporary and may be removed later):

https://banksiagui.com/dl/lc0-0.23-mac-opencl.zip

The binary is compiled under Catalina. However, it is about 3-weeks-old, not up to date - I will recompile when have time.
https://banksiagui.com
A freeware chess GUI, based on opensource Banksia - the chess tournament manager

smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Leela

Post by smcracraft » Wed Dec 04, 2019 4:21 am

Thanks! That worked fine on Catalina here on my Mac. Here's the log.

I have a related question I'll post in the next note.

$ ./lc0
_
| _ | |
|_ |_ |_| v0.23.0-dev built Aug 10 2019
ucinewgame
Found pb network file: ./networks/weights_run1_61345.pb.gz
Creating backend [opencl]...
OpenCL, maximum batch size set to 16.
Initializing OpenCL.
Detected 1 OpenCL platforms.
Platform version: OpenCL 1.2 (Oct 2 2019 00:43:05)
Platform profile: FULL_PROFILE
Platform name: Apple
Platform vendor: Apple
Device ID: 0
Device name: Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
Device type: CPU
Device vendor: Intel
Device driver: 1.1
Device speed: 3100 MHZ
Device cores: 8 CU
Device score: 512
Device ID: 1
Device name: Intel(R) HD Graphics 630
Device type: GPU
Device vendor: Intel Inc.
Device driver: 1.2(Oct 21 2019 21:24:20)
Device speed: 1100 MHZ
Device cores: 24 CU
Device score: 612
Device ID: 2
Device name: AMD Radeon Pro 560 Compute Engine
Device type: GPU
Device vendor: AMD
Device driver: 1.2 (Oct 21 2019 21:20:14)
Device speed: 907 MHZ
Device cores: 16 CU
Device score: 1112
Selected platform: Apple
Selected device: AMD Radeon Pro 560 Compute Engine
with OpenCL 1.2 capability.
Started OpenCL SGEMM tuner with batch size 16.
Will try 578 valid configurations.
(1/578) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=16 NDIMB=8 NDIMC=8 NWG=16 SA=0 SB=0 STRM=0 STRN=0 VWM=1 VWN=1 6724.5 us (124.7 GFLOPS)
(5/578) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=0 SB=0 STRM=0 STRN=0 VWM=1 VWN=1 4323.0 us (194.0 GFLOPS)
(8/578) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=64 SA=0 SB=0 STRM=0 STRN=0 VWM=1 VWN=1 3956.0 us (212.0 GFLOPS)
(18/578) KWG=32 KWI=2 MDIMA=16 MDIMC=16 MWG=64 NDIMB=8 NDIMC=8 NWG=64 SA=0 SB=0 STRM=0 STRN=0 VWM=1 VWN=1 3933.3 us (213.3 GFLOPS)
(117/578) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=64 SA=0 SB=0 STRM=0 STRN=0 VWM=4 VWN=1 3063.0 us (273.9 GFLOPS)
(121/578) KWG=32 KWI=2 MDIMA=16 MDIMC=16 MWG=64 NDIMB=8 NDIMC=8 NWG=64 SA=0 SB=0 STRM=0 STRN=0 VWM=4 VWN=1 3053.9 us (274.7 GFLOPS)
(283/578) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=64 SA=0 SB=0 STRM=0 STRN=0 VWM=4 VWN=4 3045.8 us (275.4 GFLOPS)
(286/578) KWG=32 KWI=2 MDIMA=16 MDIMC=16 MWG=64 NDIMB=8 NDIMC=8 NWG=64 SA=0 SB=0 STRM=0 STRN=0 VWM=4 VWN=4 3042.1 us (275.8 GFLOPS)
(413/578) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=16 NDIMC=16 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=4 VWN=1 1135.3 us (738.9 GFLOPS)
Wavefront/Warp size: 64

Max workgroup size: 256
Max workgroup dimensions: 256 256 256
go nodes 1
info depth 1 seldepth 1 time 102 nodes 1 score cp 27 hashfull 0 nps 9 tbhits 0 pv d2d4
bestmove d2d4
go movetime 200000
info depth 2 seldepth 2 time 250 nodes 3 score cp 36 hashfull 0 nps 8 tbhits 0 pv g1f3 d7d5
bestmove g1f3 ponder d7d5
go movetime 2000000
info depth 3 seldepth 3 time 340 nodes 7 score cp 28 hashfull 0 nps 5 tbhits 0 pv g1f3 g8f6 c2c4
info depth 3 seldepth 4 time 468 nodes 13 score cp 29 hashfull 0 nps 17 tbhits 0 pv g1f3 e7e6 c2c4 g8f6
info depth 3 seldepth 5 time 804 nodes 25 score cp 30 hashfull 0 nps 24 tbhits 0 pv g1f3 e7e6 c2c4 g8f6 g2g3
info depth 4 seldepth 5 time 900 nodes 46 score cp 27 hashfull 0 nps 45 tbhits 0 pv g1f3 e7e6 c2c4 d7d5 d2d4
info depth 4 seldepth 6 time 1272 nodes 74 score cp 28 hashfull 0 nps 54 tbhits 0 pv g1f3 e7e6 c2c4 d7d5 d2d4
info depth 4 seldepth 7 time 1582 nodes 118 score cp 29 hashfull 1 nps 71 tbhits 0 pv g1f3 g8f6 c2c4 e7e6 g2g3 d7d5 f1g2
info depth 4 seldepth 8 time 1952 nodes 150 score cp 29 hashfull 1 nps 74 tbhits 0 pv g1f3 e7e6 c2c4 g8f6 g2g3 d7d5
info depth 5 seldepth 9 time 2297 nodes 199 score cp 29 hashfull 1 nps 84 tbhits 0 pv g1f3 e7e6 c2c4 g8f6 g2g3 d7d5 f1g2
info depth 5 seldepth 10 time 2564 nodes 279 score cp 28 hashfull 1 nps 106 tbhits 0 pv g1f3 d7d5 d2d4 e7e6 c2c4 f8e7 g2g3 g8f6 f1g2 e8g8
info depth 5 seldepth 11 time 2900 nodes 311 score cp 29 hashfull 2 nps 105 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 b1c3 d7d5 c1f4
info depth 5 seldepth 11 time 2934 nodes 385 score cp 28 hashfull 2 nps 129 tbhits 0 pv g1f3 d7d5 d2d4 e7e6 c2c4 f8e7 g2g3 g8f6 f1g2 e8g8
info depth 5 seldepth 11 time 3382 nodes 418 score cp 29 hashfull 2 nps 122 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5
info depth 5 seldepth 11 time 3441 nodes 423 score cp 28 hashfull 2 nps 121 tbhits 0 pv g1f3 d7d5 d2d4 e7e6 c2c4 f8e7 g2g3 g8f6 f1g2 e8g8
info depth 5 seldepth 12 time 3492 nodes 472 score cp 30 hashfull 2 nps 133 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5
info depth 6 seldepth 12 time 3680 nodes 522 score cp 30 hashfull 2 nps 140 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5
info depth 6 seldepth 13 time 4117 nodes 626 score cp 32 hashfull 3 nps 150 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5
info depth 6 seldepth 14 time 5803 nodes 1010 score cp 34 hashfull 4 nps 173 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1
info depth 6 seldepth 15 time 6887 nodes 1271 score cp 36 hashfull 5 nps 183 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4
info depth 6 seldepth 16 time 7693 nodes 1499 score cp 35 hashfull 5 nps 194 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4
info depth 6 seldepth 17 time 8591 nodes 1618 score cp 35 hashfull 6 nps 187 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4
info depth 6 seldepth 18 time 9717 nodes 1974 score cp 35 hashfull 7 nps 202 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4
info depth 7 seldepth 18 time 13514 nodes 2990 score cp 33 hashfull 10 nps 220 tbhits 0 pv d2d4 g8f6 g1f3 e7e6 c2c4 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6
info depth 7 seldepth 18 time 18570 nodes 4170 score cp 31 hashfull 14 nps 224 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7
info depth 7 seldepth 19 time 18723 nodes 4289 score cp 31 hashfull 15 nps 228 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7
info depth 7 seldepth 20 time 21163 nodes 4832 score cp 31 hashfull 16 nps 228 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 d4d5
info depth 7 seldepth 20 time 26192 nodes 6190 score cp 30 hashfull 20 nps 236 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4
info depth 7 seldepth 21 time 26351 nodes 6306 score cp 30 hashfull 21 nps 239 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4
info depth 7 seldepth 21 time 31391 nodes 7684 score cp 29 hashfull 25 nps 244 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4
info depth 7 seldepth 21 time 36413 nodes 9017 score cp 29 hashfull 29 nps 247 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6
info depth 7 seldepth 22 time 38322 nodes 9668 score cp 29 hashfull 31 nps 252 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6
info depth 8 seldepth 22 time 39961 nodes 9990 score cp 29 hashfull 32 nps 249 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6
info depth 8 seldepth 22 time 45046 nodes 11445 score cp 28 hashfull 36 nps 253 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 23 time 46249 nodes 11875 score cp 29 hashfull 38 nps 256 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 24 time 48954 nodes 12578 score cp 29 hashfull 40 nps 256 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 25 time 52056 nodes 13244 score cp 28 hashfull 42 nps 254 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 26 time 57061 nodes 14614 score cp 28 hashfull 46 nps 256 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 27 time 58713 nodes 15148 score cp 28 hashfull 49 nps 257 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 27 time 63784 nodes 16234 score cp 28 hashfull 51 nps 254 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 27 time 68789 nodes 18241 score cp 28 hashfull 57 nps 265 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 28 time 73221 nodes 19251 score cp 28 hashfull 60 nps 262 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 29 time 77881 nodes 20412 score cp 28 hashfull 64 nps 262 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 8 seldepth 30 time 79480 nodes 20877 score cp 28 hashfull 66 nps 262 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 9 seldepth 30 time 83877 nodes 22248 score cp 27 hashfull 70 nps 265 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 9 seldepth 30 time 88918 nodes 23861 score cp 27 hashfull 74 nps 268 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4
info depth 9 seldepth 30 time 93989 nodes 25364 score cp 27 hashfull 78 nps 269 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6
info depth 9 seldepth 30 time 99063 nodes 26732 score cp 27 hashfull 82 nps 269 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6
info depth 9 seldepth 30 time 104147 nodes 28235 score cp 27 hashfull 87 nps 271 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6
info depth 9 seldepth 30 time 109226 nodes 29905 score cp 27 hashfull 91 nps 273 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c2c4 d7c6 c1f4 e7d6
info depth 9 seldepth 30 time 114299 nodes 31007 score cp 27 hashfull 95 nps 271 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c2c4 d7c6 c1f4 e7d6
info depth 9 seldepth 31 time 117567 nodes 31945 score cp 27 hashfull 98 nps 271 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c2c4 d7c6 c1f4 e7d6
info depth 9 seldepth 31 time 122589 nodes 33368 score cp 27 hashfull 101 nps 272 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6 c4c1
info depth 9 seldepth 31 time 127640 nodes 35124 score cp 27 hashfull 107 nps 275 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6 c4c1
info depth 9 seldepth 31 time 132724 nodes 36684 score cp 27 hashfull 111 nps 276 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6 c4c1
info depth 9 seldepth 31 time 137730 nodes 37869 score cp 27 hashfull 115 nps 274 tbhits 0 pv d2d4 g8f6 c2c4 e7e6 g1f3 f8e7 g2g3 e8g8 f1g2 d7d5 e1g1 d5c4 d1c2 a7a6 a2a4 c8d7 c1f4 d7c6 c2c4 e7d6 c4c1
i

smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Leela

Post by smcracraft » Wed Dec 04, 2019 4:30 am

Do you have one for Mojave?

I want to put it on my other Mac which I want to keep on Mojave for now.

When I use that Catalina, the other Mac with Mojave errors out consistently after

ucinewgame
go nodes 1

or

ucinewgame
go movetime 100000

with an Illegal instruction: 4

regardless of reinstalls.

Thanks if you have it too.

smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Leela

Post by smcracraft » Wed Dec 04, 2019 4:37 am

Hi, I installed banksia but it seems to be specific to windows at least insofar as the documents/README/json in it.

Do you have banksia for Catalina?

The point is that I don't have a front-end for Leela on Mac OS and have been transcribing moves through the onerous non-gui interface...

smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Leela

Post by smcracraft » Wed Dec 04, 2019 4:41 am

I did see this but don't see the how-to in the README.md and json's which come with it?

https://banksiagui.com/2019/11/08/suppo ... rench-lc0/

User avatar
phhnguyen
Posts: 449
Joined: Wed Apr 21, 2010 2:58 am
Location: Australia
Full name: Nguyen Hong Pham
Contact:

Re: Leela

Post by phhnguyen » Wed Dec 04, 2019 8:15 am

smcracraft wrote:
Wed Dec 04, 2019 4:37 am
Hi, I installed banksia but it seems to be specific to windows at least insofar as the documents/README/json in it.

Do you have banksia for Catalina?

The point is that I don't have a front-end for Leela on Mac OS and have been transcribing moves through the onerous non-gui interface...
Both Banksia GUI and Lc0 (for macOS) are compiled under a Catalina system, thus they should be runnable. BSG works with JSON files. To run with Lc0, you need to add that engine first (go to Settings -> Engines tab, press button plus to add Lc0. With Catalina, you need to allow to run Lc0 and its libraries (there are a few popups about permission).
smcracraft wrote:
Wed Dec 04, 2019 4:41 am
I did see this but don't see the how-to in the README.md and json's which come with it?

https://banksiagui.com/2019/11/08/suppo ... rench-lc0/
Do you mean you want to see Lc0's stats? You need to turn on 2 options of Lc0. Go to Settings->Engines tab, click on Lc0 you will see the list of options. Tick on boxes of "LogLiveStats" and "VerboseMoveStats" as bellow image:

Image
https://banksiagui.com
A freeware chess GUI, based on opensource Banksia - the chess tournament manager

smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Leela

Post by smcracraft » Thu Dec 05, 2019 4:55 am

No, sorry, I wasn't clear.

I have banksia and leela/lc0 installed here on Catalina and need to know the exact command-line and/or json file to use on Catalina.

When I run banksia, it gives me a help blurb which is very windows-centric and I avoid windows like the plague.

Can you send us the command line to run lc0 on a Catalina machine
update your software to include that in the help blurb banksia uses which is Apple-friendly on Catalina
include a json file in the banksia distribution as an example

I think these are very reasonable user requests.

I am anxious to resume playing and have been down for some time. For example, I don't like to play against my (weak) grandmaster
program because a) it makes me think I have to do much more testing, bug-fixing, redesign, etc. and b) I like Leela's swooping positional
style as I think it helps me improve my chess better than my basic non-positional traditional tactician program.

Thanks!

User avatar
phhnguyen
Posts: 449
Joined: Wed Apr 21, 2010 2:58 am
Location: Australia
Full name: Nguyen Hong Pham
Contact:

Re: Leela

Post by phhnguyen » Thu Dec 05, 2019 12:29 pm

Sorry, I am still not clear about your problem.

I can't give you the command line since it depends on where you put your files. Nevertheless, BSG is designed to work mainly with JSON files, not the command line. You may run BSG with a simple command line with names/paths of JSON files but not engines' configurations.

I suppose:

1) If you want to run Banksia GUI and/or Lc0 after downloading:
- Unzip them
- Control-click into main file name (BanksiaGUI.app for BanksiaGUI, lc0 for Lc0) to popup menu -> Open

The most important of the above step you can give permissions to them to run (answer yes for popup dialogs) on your computer. Lc0 may require permissions for its libraries too.

I suggest you run this step once to make sure they all can run on your Mac.

2) If you want to integrate Lc0 into BanksiaGUI. There are two ways:
- Much easy way: Use the graphics interface of BSG: Settings->Engines-> click the button of add engine and follow instructions. You need only 30 seconds to complete
- Much harder way: Edit JSON file - the file "banksiaengines.json". I won't give you the JSON data of Lc0 since it is too long and you have to change some paths to adapt your system. From my experience, it is a nightmare to edit such a long JSON file and that task may take users a few days to find and fix errors.

Note again: there is no command line to run directly lc0 with BSG. Some JSON files much be edited thus BSG can aware of Lc0.
https://banksiagui.com
A freeware chess GUI, based on opensource Banksia - the chess tournament manager

smcracraft
Posts: 682
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: Leela

Post by smcracraft » Fri Dec 06, 2019 4:20 am

Sorry, I am still unclear.

Here are my banksia executable and lc0 executable.

What should I use to play a game with lc0 via the banksia executable on the Mac?

No tournament. Just me vs. lc0.

Code: Select all

Stuarts-MacBook-Pro:leela stuartcracraft$ ls -l lc0-0.23-mac-opencl/lc0
-rwxr-xr-x@ 1 stuartcracraft  staff  1212176 Aug 10 17:20 lc0-0.23-mac-opencl/lc0
Stuarts-MacBook-Pro:leela stuartcracraft$ ls -l Banksia/build/banksia 
-rwxr-xr-x  1 stuartcracraft  staff  1331632 Dec  3 20:34 Banksia/build/banksia
Stuarts-MacBook-Pro:leela stuartcracraft$ 
Thanks.

Post Reply