It is currently Sun Nov 29, 2020 7:12 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 262 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14  Next
Author Message
Offline
 Post subject: Re: New android app "BadukAI"
Post #241 Posted: Fri Nov 20, 2020 7:15 am 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
KaTrain simple style(2d) - CS Zero 9d 1:1 (W+, W+)

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #242 Posted: Sat Nov 21, 2020 4:02 pm 
Dies in gote

Posts: 63
Liked others: 12
Was liked: 80
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.


This post by akigo was liked by 3 people: Amigo, And, go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #243 Posted: Sat Nov 21, 2020 4:51 pm 
Dies with sente

Posts: 96
Liked others: 134
Was liked: 22
Rank: 25 kyu
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!

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #244 Posted: Sun Nov 22, 2020 8:42 am 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
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

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #245 Posted: Sun Nov 22, 2020 9:14 am 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
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

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #246 Posted: Sun Nov 22, 2020 12:46 pm 
Dies in gote

Posts: 63
Liked others: 12
Was liked: 80
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.


This post by akigo was liked by: And
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #247 Posted: Mon Nov 23, 2020 8:25 am 
Dies with sente

Posts: 96
Liked others: 134
Was liked: 22
Rank: 25 kyu
@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.

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #248 Posted: Mon Nov 23, 2020 8:53 am 
Dies with sente

Posts: 96
Liked others: 134
Was liked: 22
Rank: 25 kyu
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?


Last edited by go4thewin on Mon Nov 23, 2020 9:20 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #249 Posted: Mon Nov 23, 2020 9:02 am 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
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! :)


This post by And was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #250 Posted: Mon Nov 23, 2020 4:08 pm 
Dies in gote

Posts: 63
Liked others: 12
Was liked: 80
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.


This post by akigo was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #251 Posted: Tue Nov 24, 2020 8:13 am 
Dies with sente

Posts: 96
Liked others: 134
Was liked: 22
Rank: 25 kyu
oh well i guess its already faster than i could ever need :) any chance to add gnugo level 1-10?

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #252 Posted: Tue Nov 24, 2020 9:12 am 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
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?

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #253 Posted: Tue Nov 24, 2020 10:18 am 
Dies with sente

Posts: 96
Liked others: 134
Was liked: 22
Rank: 25 kyu
@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.

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #254 Posted: Tue Nov 24, 2020 10:42 am 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
why not choose a position to your liking and continue playing with KataGo?


This post by And was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #255 Posted: Tue Nov 24, 2020 11:32 am 
Dies with sente

Posts: 96
Liked others: 134
Was liked: 22
Rank: 25 kyu
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

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #256 Posted: Tue Nov 24, 2020 12:22 pm 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
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 :)

Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #257 Posted: Tue Nov 24, 2020 12:28 pm 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
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."


This post by And was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #258 Posted: Tue Nov 24, 2020 1:32 pm 
Lives in gote
User avatar

Posts: 574
Liked others: 118
Was liked: 94
@akigo

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


This post by And was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #259 Posted: Thu Nov 26, 2020 4:20 pm 
Dies in gote

Posts: 63
Liked others: 12
Was liked: 80
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.


This post by akigo was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: New android app "BadukAI"
Post #260 Posted: Sat Nov 28, 2020 9:59 am 
Dies in gote

Posts: 26
Liked others: 16
Was liked: 6
could you add a 13x13 board?

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 262 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14  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