Page 1 of 7

LC0 For Android!!! History Made!!

Posted: Thu May 23, 2019 10:42 pm
by supersharp77
Wow...This Is Great!....... :D :wink:

Get lc0 for Android

Android builds are not official yet, but there are some that you could try. First lookup the architecture of your Android device and if it's 32 bits, choose this first build:

https://github.com/LeelaChessZero/lc0/f ... -armv7.zip

If your device supports 64 bits then choose this one:

https://github.com/LeelaChessZero/lc0/f ... arch64.zip

If you want to read more information about the above builds, browse this PR: https://github.com/LeelaChessZero/lc0/pull/848

Re: LC0 For Android!!! History Made!!

Posted: Thu May 23, 2019 10:54 pm
by Dann Corbit
Do android devices have powerful GPUs?
If not, then I guess it stinks on android.

Re: LC0 For Android!!! History Made!!

Posted: Thu May 23, 2019 11:00 pm
by ernest
Lc0 for iPad, now Lc0 for Android...

Just for the fantasm to have Lc0 !

But without a good GPU, what a weak Lc0... :shock:

I am impatient to see the results. :D

Re: LC0 For Android!!! History Made!!

Posted: Thu May 23, 2019 11:04 pm
by Dann Corbit
On the other hand, it might be fun to have something that sounds powerful and yet does not beat your brains in every single game.

And you can say, "I beat the world's strongest chess program the other day!"
:twisted:

Re: LC0 For Android!!! History Made!!

Posted: Fri May 24, 2019 1:52 am
by dkappe
Weak? I suppose against stockfish. But pick up the 48x5 network and even a GM won’t beat it on an android device. https://github.com/dkappe/leela-chess-w ... d-Networks

Re: LC0 For Android!!! History Made!!

Posted: Fri May 24, 2019 3:26 am
by supersharp77
dkappe wrote:
Fri May 24, 2019 1:52 am
Weak? I suppose against stockfish. But pick up the 48x5 network and even a GM won’t beat it on an android device. https://github.com/dkappe/leela-chess-w ... d-Networks
Man I was ready to do some android testing..but unfortunately (engine exits error) with chess for android and with Droidfish for LC0 (special droidfish for LC0) my version needs a pgo compile or pie... unknown what this compile is.....back to the drawing board.. :wink:

Re: LC0 For Android!!! History Made!!

Posted: Fri May 24, 2019 3:29 am
by Eduard
Can someone explain how to correctly install the engine under Droidfish? I have Android 8.1.0 64 Bit. I installed the engine (blas) and copied a distilled network to the same directory. The engine loads, but it does not runs.

Re: LC0 For Android!!! History Made!!

Posted: Fri May 24, 2019 4:00 am
by MikeB
Dann Corbit wrote:
Thu May 23, 2019 10:54 pm
Do android devices have powerful GPUs?
If not, then I guess it stinks on android.
Correct no GPU, but it will not stink if you use a one of the smaller nets offered by dkappe - GM+ strength on a Pi ( similar to a weak andriod) .

Re: LC0 For Android!!! History Made!!

Posted: Fri May 24, 2019 5:25 am
by Ferdy
Tried the 64bit compile and it worked. I use Acid Ape Chess Grandmaster Edition to run the engine at 1 core, on blas backend on Android 7.0. Here is a sample game using network file 11258-16x2-se from dkappe. Speed is around 500 nps from startpos.

Weak at tactics but plays an opening as if it is using an opening book.



Tried to intall it at different gui.
1. Droidfish, ok
2. Chess for android, not ok
3. Analyze this pro, not ok
4. Acid Ape Chess Grandmaster edition, ok

Items 2 and 3 did not work because the WeightsFile option cannot be set.

Auto discover of weight file does not work, it should be set via WeightsFile option which items 1 and 4 are capable.

Re: LC0 For Android!!! History Made!!

Posted: Fri May 24, 2019 6:55 am
by Eduard
Thank You for this message. It works now on my Smartphone with droidfish. I had to set the following line manually (no auto):

sdcard/Droidfish/uci/11258-16x2-se-4.pb