It is currently Thu Mar 28, 2024 8:41 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 523 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 27  Next
Author Message
Offline
 Post subject: Re: New android app "BadukAI"
Post #21 Posted: Sat Sep 19, 2020 2:43 pm 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
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 )

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #22 Posted: Sat Sep 19, 2020 4:03 pm 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
@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 )

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #23 Posted: Sat Sep 19, 2020 10:41 pm 
Lives in gote

Posts: 337
Liked others: 22
Was liked: 97
@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.

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #24 Posted: Sun Sep 20, 2020 6:41 am 
Lives with ko

Posts: 174
Liked others: 13
Was liked: 151
@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.


This post by akigo was liked by 2 people: go4thewin, Vargo
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #25 Posted: Sun Sep 20, 2020 7:58 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
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

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )


Last edited by go4thewin on Wed Sep 23, 2020 6:43 am, edited 3 times in total.
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #26 Posted: Sun Sep 20, 2020 8:12 am 
Lives in gote

Posts: 337
Liked others: 22
Was liked: 97
It works with my tablet and with my phone :tmbup:
Thanks

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #27 Posted: Sun Sep 20, 2020 9:57 am 
Judan

Posts: 6725
Location: Cambridge, UK
Liked others: 436
Was liked: 3719
Rank: UK 4 dan
KGS: Uberdude 4d
OGS: Uberdude 7d
KataGo works on phone now, thanks. :tmbup:

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #28 Posted: Sun Sep 20, 2020 3:18 pm 
Lives in gote

Posts: 418
Liked others: 9
Was liked: 83
Rank: kgs 5 kyu
KGS: 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.

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #29 Posted: Sun Sep 20, 2020 4:02 pm 
Lives with ko

Posts: 174
Liked others: 13
Was liked: 151
@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.

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #30 Posted: Sun Sep 20, 2020 8:22 pm 
Lives in gote

Posts: 337
Liked others: 22
Was liked: 97
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 944 times

This post by Vargo was liked by 2 people: akigo, go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #31 Posted: Sun Sep 20, 2020 9:40 pm 
Lives in gote

Posts: 337
Liked others: 22
Was liked: 97
Another game : H4, komi 7.5, Exynos 990

W: BadukAI 0.3 (KG 20b, 5sec/move)
v
B: CrazyStone Deep Learning 5d

W+1 :tmbup:


PS at move 302, B passed, considering the game was over with W+1. W wanted to continue, I stopped the game, to avoid 50+ useless moves.


Attachments:
H4BadukAI03KG20b5sec_CSDL5dkomi75.sgf [2.26 KiB]
Downloaded 948 times

This post by Vargo was liked by 2 people: akigo, go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #32 Posted: Mon Sep 21, 2020 7:44 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
Lazy Baduk is installed but your program is not - incompatibility. tablet on MediaTek MT8321, 4x1.3 GHz ARM Cortex-A7. Android 7.0. will not work?
limitation on android version? is the limitation in the program?

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #33 Posted: Mon Sep 21, 2020 10:46 am 
Lives with ko

Posts: 174
Liked others: 13
Was liked: 151
@Vargo

thanks for conducting and sharing the games.

As far as KataGo's behaviour at the end of the second game is concerned, the reason is as follows:

I configured KataGo to use Tromp-Taylor rules (for the sake of consistency within the app since LeelaZero always uses Tromp-Taylor rules, it doesn't know any other ruleset). With these rules your final score is "stones on the board" + "territory". They have the advantage that they can be formulated very concisely (ideal for AI). But a "disadvantage" is that you can continue playing until the board is full without hurting your score: Playing inside your safe territory doesn't cost (the stone will live, so +1 for the additional stone and -1 for the lost territory) and playing inside your opponent's safe territory doesn't cost either (the stone will die, so no plus here, but also no minus for lost territory). So when there is nothing productive left to do, all moves and the pass are of equal value. I assume that in this case KataGo just plays one of these candidates randomly which is mostly an additional move.


This post by akigo was liked by 2 people: go4thewin, Vargo
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #34 Posted: Mon Sep 21, 2020 11:14 am 
Lives with ko

Posts: 174
Liked others: 13
Was liked: 151
@And

The reason for the incompatibility is that the tablet you mentioned has 32 bit operating system whereas BadukAI-APK currently only supplies 64 bit binaries.

I will try to provide a 32 bit build too. But for this to succeed all the 3rd party software that I use must be available/buildable for 32 bit, so I can't promise anything at the moment. But I will try ...


This post by akigo was liked by 2 people: And, go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #35 Posted: Mon Sep 21, 2020 1:30 pm 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
it would be great! users have many more 32-bit devices, many will say thank you!

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #36 Posted: Mon Sep 21, 2020 7:56 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Vargo wrote:
W wanted to continue, I stopped the game, to avoid 50+ useless moves.


akigo wrote:
I configured KataGo to use Tromp-Taylor rules (for the sake of consistency within the app since LeelaZero always uses Tromp-Taylor rules, it doesn't know any other ruleset). With these rules your final score is "stones on the board" + "territory". They have the advantage that they can be formulated very concisely (ideal for AI). But a "disadvantage" is that you can continue playing until the board is full without hurting your score: Playing inside your safe territory doesn't cost (the stone will live, so +1 for the additional stone and -1 for the lost territory) and playing inside your opponent's safe territory doesn't cost either (the stone will die, so no plus here, but also no minus for lost territory). So when there is nothing productive left to do, all moves and the pass are of equal value. I assume that in this case KataGo just plays one of these candidates randomly which is mostly an additional move.


@Vargo @akigo - Just so you know, it should be fairly rare that KataGo prolongs the game by a lot. Usually play some solid connecting moves to make some of its groups absolutely connected, and then proceed to focusedly capture all the dead groups. After that, it will pass, and will usually *not* attempt to play any further moves that would waste time. For example, you can take a look at games like this for typical behavior: https://online-go.com/game/27067104
Or this one, which has more dead stones: https://online-go.com/game/27066163 - after the last dame is finished, kata spends almost all moves to cleanly capture the dead stones (required by tromp-taylor) and interposes one or two solid connection moves besides that, but no more, and then readily passes.

The reason KataGo behaves like this is because I added a *very* slight bias to prefer "orderly cleanup and then pass without wasting time" moves as a way to discriminate between moves at the end of the game that otherwise have no intrinsic preference or difference. It's only a very slight bias, but enough to produce this kind of behavior when all the moves still lead to the same outcome, rather than cleanup and passing being at the whim of the neural net's random noise preferences among all the possible moves. Unless you've disabled or changed it, the default config also has KataGo play faster if the opponent is passing a lot, so this cleanup also often doesn't take long.

50+ moves would be very atypical, although maybe it could happen in some case. But very, very atypical.


This post by lightvector was liked by: Vargo
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #37 Posted: Mon Sep 21, 2020 11:20 pm 
Lives in gote

Posts: 337
Liked others: 22
Was liked: 97
@akigo @lightvector
Very clear explanations, thanks.


Two more games (BadukAI03_KG20b is White, 5sec/move, komi 7.5, Exynos990):

H9 : Gnugo 3.8 is Black. Result W+R

H6 : CrazyStoneDL 5d is Black. Result B+1.5


Attachments:
BadukAI03KG20b5sec_GnuGo38H9.sgf [1.5 KiB]
Downloaded 865 times
BadukAIKG20b5sec_CSDL5dH6komi75.sgf [1.93 KiB]
Downloaded 858 times
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #38 Posted: Tue Sep 22, 2020 5:45 am 
Lives with ko

Posts: 129
Liked others: 20
Was liked: 17
KG init was almost instantly here. Huawei Mate 20 X

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #39 Posted: Tue Sep 22, 2020 7:09 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
KataGo 10 blocks are stronger than Leelaz 15 blocks: KataGo g170e 10 block d204M - Leelaz 15b 0c4ade79 2 sec/move (GT 610) 152:48 (76-24 KataGo Black, also White)


This post by And was liked by 2 people: go4thewin, veikko
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #40 Posted: Tue Sep 22, 2020 8:15 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Wow that means that katago 10b is stronger than some of the 40b Leela nets from last year when Leelazero .17 was first released (time parity)? That's crazy. If I remember right, bubblesid's 15b was ahead of the 40b nets for quite some time on consumer machines. That's ridiculous how strong katago is. I think the 10b with 1 playout was stronger than zen6 on breakawa's 5d setting.

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 523 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 27  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group