Is there going to be an app for leela?

735 views
Skip to first unread message

Norton Freeman

unread,
Aug 30, 2018, 2:13:30 AM8/30/18
to LCZero
It would be nice if leela could run on Android and iOS.

Stephen Ryan

unread,
Aug 30, 2018, 5:42:39 AM8/30/18
to LCZero
The issue is that the weights are so large. If you had 3 difficulty settings, that's 3 weights, each of which are ~60mb.

jadelan

unread,
Aug 30, 2018, 5:50:03 AM8/30/18
to LCZero
Difficulty setting may be adjusted by the number of nodes, though, so just one network will do. Let's hope someone will port Leela to Android and iOS soon, even a few tens of nodes will give us pretty decent play already.

Curious

unread,
Aug 30, 2018, 6:28:56 AM8/30/18
to LCZero
One can probably train smaller nets that are strong enough for most people. If you play a 2800 Elo Leela vs a 3500 Elo Leela, would you notice a difference?

Scally

unread,
Aug 30, 2018, 7:04:22 AM8/30/18
to LCZero
Hi,

I have leela compiled for the Raspberry Pi and PicoChess but as you say because of the size of the weights it runs slowly and loses on time in short time games.

I have asked more than once on here if I can compile differently, i.e. which parameters can I set to true and false in ‘meson_options.txt’ but no answers yet. I currently have cudnn, opencl & tensorflow set to false but wonder whether I should also set gtest or other options to false?

Or are there UCI parameters I can alter to quicken up the engine?

Thanks,

Al.

Norton Freeman

unread,
Aug 30, 2018, 7:12:20 AM8/30/18
to LCZero
I think the size of the nets may not be the problem.There are apps for leela zero using elf`s 20b network,and they are pretty strong even running on average smartphones.

Francesco Tommaso

unread,
Aug 30, 2018, 8:00:41 AM8/30/18
to LCZero
The same happens on my Celeron J1800 processor. It plays at 3 nps and it takes the processor around 7 seconds to "start running" the engine at every move, so I either set games with 15 seconds increments or with fixed time per move, higher than 30 seconds. On these conditions Leela plays over 3000 elo.

Eric Silverman

unread,
Aug 31, 2018, 4:31:56 AM8/31/18
to LCZero
Yeah Leela Zero runs just fine on my Android phone (Moto G5) using Gridmaster.  That being the case it should be possible to have LC0 running pretty decently on mid-range or higher smartphones.  It'll eat battery for sure, but then so does Droidfish, so probably not a huge issue for people who would seek out a chess app with a strong engine.

Scally

unread,
Sep 1, 2018, 10:28:14 AM9/1/18
to LCZero
Hi all,

Today’s Lc0 code change “Changes to build.sh (#322)” has solved my meson-options.txt dilemma, thanks.

Lc0 now plays a lot quicker on my Raspberry Pi.

I have one last request for those boffins out there, what uci options can I change to avoid any future losses on time?


Thanks,

Al.
Reply all
Reply to author
Forward
0 new messages