LC0 For Android!!! History Made!!

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
supersharp77
Posts: 754
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

LC0 For Android!!! History Made!!

Post by supersharp77 » Thu May 23, 2019 10:42 pm

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

Dann Corbit
Posts: 10128
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

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

Post by Dann Corbit » Thu May 23, 2019 10:54 pm

Do android devices have powerful GPUs?
If not, then I guess it stinks on android.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

ernest
Posts: 1860
Joined: Wed Mar 08, 2006 7:30 pm

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

Post by ernest » Thu May 23, 2019 11:00 pm

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

Dann Corbit
Posts: 10128
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

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

Post by Dann Corbit » Thu May 23, 2019 11:04 pm

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:
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

dkappe
Posts: 263
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

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

Post by dkappe » 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

supersharp77
Posts: 754
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

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

Post by supersharp77 » Fri May 24, 2019 3:26 am

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:

User avatar
Eduard
Posts: 210
Joined: Fri Oct 26, 2018 10:58 pm
Location: Germany
Full name: Eduard Nemeth
Contact:

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

Post by Eduard » Fri May 24, 2019 3:29 am

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.

MikeB
Posts: 3467
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

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

Post by MikeB » Fri May 24, 2019 4:00 am

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) .

Ferdy
Posts: 4111
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

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

Post by Ferdy » Fri May 24, 2019 5:25 am

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.

User avatar
Eduard
Posts: 210
Joined: Fri Oct 26, 2018 10:58 pm
Location: Germany
Full name: Eduard Nemeth
Contact:

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

Post by Eduard » Fri May 24, 2019 6:55 am

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

Post Reply