New android app "BadukAI"

For discussing go computing, software announcements, etc.
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: New android app "BadukAI"

Post by Vargo »

Thanks, go4thewin.
1.jpg
1.jpg (315.4 KiB) Viewed 242256 times
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@Vargo

Thanks for the detailed information. Based on that I made a small change which might help. Unfortunately I don't have an Exynos 990 device, so I can't test it, but I think it's worth a try. Please download and install the APK file again (version 0.2 now).
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: New android app "BadukAI"

Post by Uberdude »

@akigo: I waited longer this time, and after around 2 mins it went from KG is initialising to dead/crashed.

Here's the platforms from clpeak:
vendor lib64
system vendor lib64
system vendor lib
mali
pocl
default
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@Uberdude

This is the same output from clpeak as Vargo's, so you might also try downloading the new version ...
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@Uberdude,Vargo

I forgot to say that you should uninstall the old "BadukAI" app before installing the new version.
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

Would it be possible to release a version with the 15b katago net, or even the 10b one?
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

@akigo I adjusted the private file with winrar (using zip?) to use the 10b katago (kg.bin.gz)
private.mp3:
https://drive.google.com/file/d/1-1PCX9 ... p=drivesdk

but i can't sign it. Maybe some time in the future when you are not too busy, can you sign and upload? Thanks so much!!!
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: New android app "BadukAI"

Post by Vargo »

@akigo : I uninstalled and then downloaded the new version. It's still the same, (the message "KG is dead/crashed" comes instantly)

But even without KG, it's a great app.
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@Vargo,go4thewin,Uberdude

Obviously OpenCL is somewhat different on each device type and I can't analyse all these cases since I have only one device here at my disposal. Therefore I checked again with the latest cpu version of katago and lightvector seems to have done a lot here recently since it has become much faster. So it's usable now and I decided to switch to the cpu version in BadukAI. Please download the APK again (version 0.3 now) and check if katago is working for you now.

@go4thewin

From your admirable work to patch the APK I understand that the need for a 10 blocks network is really urgent, so I have included both the 10b and the 20b network in the new version and added a switch in the settings to choose one of them.
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

Thanks so much! Works great on all my devices!

edit: 32 bit version even works on old chromebook, wow!

katago now works on windows, mac, linux, android, chromebook, ios and ogs, what wonderful work by these programmers
Last edited by go4thewin on Wed Sep 23, 2020 6:43 am, edited 3 times in total.
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: New android app "BadukAI"

Post by Vargo »

It works with my tablet and with my phone :tmbup:
Thanks
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: New android app "BadukAI"

Post by Uberdude »

KataGo works on phone now, thanks. :tmbup:
Pio2001
Lives in gote
Posts: 418
Joined: Mon Feb 16, 2015 12:13 pm
Rank: kgs 5 kyu
GD Posts: 0
KGS: Pio2001
Has thanked: 9 times
Been thanked: 83 times

Re: New android app "BadukAI"

Post by Pio2001 »

Hi,
Thank you for this app ! It is the first time that I can use a go AI since Leela 11 :clap: (other softwares won't run in Linux Mint Debian since Leela 11).

Is it normal that KG runs faster than LZ ? If I understand properly, KG runs in CPU mode while LZ runs in GPU mode. But I get around 20 visits/s with KG and around 10 visits/s with LZ on a Samsung Galaxy S7 smartphone.
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@Pio2001

KataGo will always run on CPU, LeelaZero will use the Neural Processing Unit (called DSP) on Qualcomm devices and use the CPU (with some optimizations) on other chipsets. As the LZ 15b model is much bigger than the KG 10b model (and also a lot stronger), the number of playouts, that you observed, seems plausible.
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: New android app "BadukAI"

Post by Vargo »

Same test (H3, komi 7.5, Exynos 990)

W: BadukAI 0.3 (KG 20b, 5sec/move)
v
B: CrazyStone Deep Learning 5d
KG 20b and LZ 40b both win at H3, I'll try at H4 :)
Attachments
BadukAI03KG20B5sec_CSDL5dkomi75sgf.sgf
(2.09 KiB) Downloaded 1834 times
Post Reply