Life In 19x19
http://lifein19x19.com/

New android app "BadukAI"
http://lifein19x19.com/viewtopic.php?f=18&t=17784
Page 13 of 16

Author:  And [ Fri Nov 20, 2020 7:15 am ]
Post subject:  Re: New android app "BadukAI"

KaTrain simple style(2d) - CS Zero 9d 1:1 (W+, W+)

Author:  akigo [ Sat Nov 21, 2020 4:02 pm ]
Post subject:  Re: New android app "BadukAI"

I made a new version (0.18) with the following changes:

1) If (and only if) you have loaded an sgf with only set stones (that is without any moves), you can now delete stones by placing a move on an already existing stone (useful to edit a position to analyze).

2) The built-in 20b KG network in the 64 bit version is now optimized for android. On CPU it should run about twice as fast as before. Furthermore it will try to use the NPU if possible. The effect depends very much on your device. On my handset with Snapdragon 855+ it is about 6 times faster than the previous version.

The second change is quite experimental as it is very HW-dependent and I could test it only on my device. If you experience problems, please tell me.

Author:  go4thewin [ Sat Nov 21, 2020 4:51 pm ]
Post subject:  Re: New android app "BadukAI"

Amazing speed increase. With the new optimized net on my snapdragon 625, with the default settings it plays at 9d bot strength, even if you reduce it to just 1 thread!

Author:  And [ Sun Nov 22, 2020 8:42 am ]
Post subject:  Re: New android app "BadukAI"

does it matter in what format the network, txt or bin? after unpacking do they look the same in memory?
and I wonder why, after connecting networkg g170-b15c192-s74759936-d68801237.txt.gz, KataGo is initialized for 22 seconds, and after network g170e-b15c192-s1672170752-d466197061.txt.gz for 4 seconds? tried many times

Author:  And [ Sun Nov 22, 2020 9:14 am ]
Post subject:  Re: New android app "BadukAI"

go4thewin wrote:
Amazing speed increase. With the new optimized net on my snapdragon 625, with the default settings it plays at 9d bot strength, even if you reduce it to just 1 thread!

network remains the same, its use is optimized

Author:  akigo [ Sun Nov 22, 2020 12:46 pm ]
Post subject:  Re: New android app "BadukAI"

And wrote:
does it matter in what format the network, txt or bin? after unpacking do they look the same in memory?
and I wonder why, after connecting networkg g170-b15c192-s74759936-d68801237.txt.gz, KataGo is initialized for 22 seconds, and after network g170e-b15c192-s1672170752-d466197061.txt.gz for 4 seconds? tried many times


In my understanding they will look the same in memory. But .bin.gz loads faster, so if you have both formats available, you should prefer .bin.gz

The 15b models you quoted have the same loading time on my handset, so I have no explanation for the difference on your device.

Author:  go4thewin [ Mon Nov 23, 2020 8:25 am ]
Post subject:  Re: New android app "BadukAI"

@And, please please please get yourself this for christmas and test out if the npu feature in baduk ai works https://www.amazon.com/dp/B0824QJHKW?ref=myi_title_dp

that would be crazy if we start getting huge numbers of playouts on $100 devices. i already am getting more than i could ever use!

even on my $220 rockchip rk3365 e ink device the 20b net can make instant moves now.

Author:  go4thewin [ Mon Nov 23, 2020 8:53 am ]
Post subject:  Re: New android app "BadukAI"

akigo wrote:
I made a new version (0.18) with the following change. Furthermore it will try to use the NPU if possible. The effect depends very much on your device. On my handset with Snapdragon 855+ it is about 6 times faster than the previous version.

The second change is quite experimental as it is very HW-dependent and I could test it only on my device. If you experience problems, please tell me.

thanks so much akigo! so if i understand correctly, if i plug an npu stick https://www.amazon.com/Orange-Pi-Neural ... ACXX9CH5E2 in the otg port of my ereader, it may increase playouts? wow

also does windows/linux katago builds support npu?

Author:  And [ Mon Nov 23, 2020 9:02 am ]
Post subject:  Re: New android app "BadukAI"

go4thewin wrote:
@And, please please please get yourself this for christmas and test out if the npu feature in baduk ai works https://www.amazon.com/dp/B0824QJHKW?ref=myi_title_dp

that would be crazy if we start getting huge numbers of playouts on $100 devices. i already am getting more than i could ever use!

even on my $220 rockchip rk3365 e ink device the 20b net can make instant moves now.

Thanks, but ... I can't find time to check how KataGo works on my netbook with an AMD C-60, and install the GF GTX 1650 video card (bought back in the spring!) in a computer with Ryzen 5 and see how KataGo works there! :)

Author:  akigo [ Mon Nov 23, 2020 4:08 pm ]
Post subject:  Re: New android app "BadukAI"

Quote:
thanks so much akigo! so if i understand correctly, if i plug an npu stick https://www.amazon.com/Orange-Pi-Neural ... ACXX9CH5E2 in the otg port of my ereader, it may increase playouts? wow


Unfortunately not, as the stick can not be accessed by standard android interfaces. It has its own SDK, that is you must write programs specifically for the stick.

Quote:
also does windows/linux katago builds support npu?


No, the NPU access I added is android-specific. On a PC the way to accelerate is still a powerful graphics card.

Author:  go4thewin [ Tue Nov 24, 2020 8:13 am ]
Post subject:  Re: New android app "BadukAI"

oh well i guess its already faster than i could ever need :) any chance to add gnugo level 1-10?

Author:  And [ Tue Nov 24, 2020 9:12 am ]
Post subject:  Re: New android app "BadukAI"

go4thewin wrote:
oh well i guess its already faster than i could ever need :) any chance to add gnugo level 1-10?

net 6b(b6c96-s34290432-d5157105) 1p - gnugo 3.6(12k-13k) 1:4
net 6b(b6c96-s24455424-d3879081) 1p - gnugo 3.0(16k) 3:3
from networks 6b can you probably choose the one suitable for the game?

Author:  go4thewin [ Tue Nov 24, 2020 10:18 am ]
Post subject:  Re: New android app "BadukAI"

@And, thanks but they both sometimes play 1st move on 2nd line. I think for that level 6b s114 with kyu_rank 7 is better? s114 with 1po is like a human a little bit.

Author:  And [ Tue Nov 24, 2020 10:42 am ]
Post subject:  Re: New android app "BadukAI"

why not choose a position to your liking and continue playing with KataGo?

Author:  go4thewin [ Tue Nov 24, 2020 11:32 am ]
Post subject:  Re: New android app "BadukAI"

this seems to work well. if you pre place the stones on the star points like the older style of playing go http://gokifu.com/s/2i9-gokifu-17000101-Zhou_Donghou()-Huang_Longshi().html then it seems like a fun game with s342 if you don't want to use the calibrated ai. I wish you could just get it to use an opening book for the first moves.
EDIT: just found out you can play the opening moves with the bigger net, then use the smaller net and hit the "load last game" button in Baduk Ai and continue your game. Thanks And, great idea

Author:  And [ Tue Nov 24, 2020 12:22 pm ]
Post subject:  Re: New android app "BadukAI"

akigo wrote:
In my understanding they will look the same in memory. But .bin.gz loads faster, so if you have both formats available, you should prefer .bin.gz

I understand correctly, if during the game I do not connect another network, the network is loaded only once, at the beginning of the game, anyway? I have doubts after your answer because this first load time is very negligible in my opinion :)

Author:  And [ Tue Nov 24, 2020 12:28 pm ]
Post subject:  Re: New android app "BadukAI"

go4thewin wrote:
this seems to work well. if you pre place the stones on the star points like the older style of playing go http://gokifu.com/s/2i9-gokifu-17000101-Zhou_Donghou()-Huang_Longshi().html then it seems like a fun game with s342 if you don't want to use the calibrated ai. I wish you could just get it to use an opening book for the first moves.
EDIT: just found out you can play the opening moves with the bigger net, then use the smaller net and hit the "load last game" button in Baduk Ai and continue your game. Thanks And, great idea

in AQGoPro there is an option "master opening book": "After turning on the opening book, if the current situation exists in the opening book, Al will automatically select the best point in the opening book to play."

Author:  And [ Tue Nov 24, 2020 1:32 pm ]
Post subject:  Re: New android app "BadukAI"

@akigo

could you add the option "opening book"? even a simple

Author:  akigo [ Thu Nov 26, 2020 4:20 pm ]
Post subject:  Re: New android app "BadukAI"

And wrote:
@akigo

could you add the option "opening book"? even a simple


I think your idea (starting with a bigger net, then switching to a smaller one) is a much better solution as it is way more flexible than any opening book could ever be.

Author:  Amigo [ Sat Nov 28, 2020 9:59 am ]
Post subject:  Re: New android app "BadukAI"

could you add a 13x13 board?

Page 13 of 16 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/