Not logged inRybka Chess Community Forum
Up Topic The Rybka Lounge / Computer Chess / LC0 For Android....History Made!!!
- - By supersharp77 (*) Date 2019-05-29 00:09 Edited 2019-05-29 01:51
Wow...This Is Great!....... :grin: :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/files/3198046/lc0-blas-armv7.zip

If your device supports 64 bits then choose this one:

https://github.com/LeelaChessZero/lc0/files/3198047/lc0-blas-aarch64.zip

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

New Compile with weights built in.....unfortunately Arm7 compile crashed in Chess for android (engine exit)

New: There are two special test builds for those who couldn't or wouldn't fiddle with UCI Options and full paths, or maybe those using a GUI without that capability. These builds contain a small 48x5 weights file embedded into the engine itself. You'll still be able to use other weights with them, but the embedded weights will load when you didn't specify one. Get them here:

32 bits:

https://github.com/LeelaChessZero/lc0/files/3228339/lc0-blas-armv7a-48x5.zip

64 bits:

https://github.com/LeelaChessZero/lc0/files/3223915/lc0-blas-aarch64-48x5.zip

BUILD YOUR OWN ANDROID LC0

This is a quick way of compiling lc0 on Android by using Termux, it might not be the best way to do it but it works right now. Important: Follow the PR below to stay up to date with the latest developments.

https://github.com/LeelaChessZero/lc0/pull/848
Start Here

First, install Termux from Google Play:

https://play.google.com/store/apps/details?id=com.termux

After the install you should be ready to start adding packages, but give the app permissions to access the storage as you'll need it later.
Automated installation

Just copy/paste the following command into your Termux, press enter and wait, everything will be ready when it's done.

pkg install curl && curl -L https://git.io/fj8jq | sh

It will build and install the engine to your DroidFish/uci folder, the libs and weights to DroidFish/lib. They will be ready to use with the DroidFish fork provided here. Done, no more fiddling needed.

If for some reason you can't find the engine files, then something went wrong and you'll need to start again clean, reinstall Termux and follow the steps in the remaining sections.

Disclaimer This is a simple script I wrote and tested on my phone only. It might not work for you, but please report any issues on Discord.
Parent - - By Labyrinth (*****) Date 2019-05-29 03:40
How strong could it possibly be on phone hardware though?
Parent - By gsgs (***) Date 2019-05-30 09:19 Edited 2019-05-31 15:29
the longer the TC , the stronger. I don't know, where the limit is here ...

Someone reported 6:4 against Senpai 2 with 8 cores for Lc0 and 1 core for Senpai at 600+5
(plus maybe 64bit vs. 32bit ?)
I had 4:6 against Demolito (2890) , both 8 cores at 600+10 and 1.5:8.5 against Hakkapeliitta (2999) , 8-1 cores
and 5.5:1.5 against Fruit 2.1 arm7, 1core (2694)

so maybe 2750 at 600+10 on a good phone or tablet , with 1 CPU ARM8 , (CCRL 40/4) , 2830 with 4CPU

5.0,1.5,7.5,17.5,19.0,29.5,34.5,39.5 points out of 60 against the same opponents
at 10+0,0+0.5,0+1,0+2,60+1,120+2,300+5,600+10

at small TCs / blitz it makes reasonably looking moves in the opening and in general ,
but then often blunders pieces or such in just 1 or 2 moves.

Some LeelaFish - like AB-help should help a lot
Up Topic The Rybka Lounge / Computer Chess / LC0 For Android....History Made!!!

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill