"A Master of Go", iOS/iPadOS Go AI app

For discussing go computing, software announcements, etc.
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Mr25 san,

Happy new year.
And thank you for purchasing my app!

Yes, not the latest, but 15b weight is already available.
Please see https://github.com/new3Rs/a_master_of_go.
You can download weights in the setting menu which open by tapping the tao button at the left-top corner of main menu.
And the shortcut button to input the URL will help you.
Limeztone
Dies in gote
Posts: 63
Joined: Sun Jan 12, 2020 9:28 pm
GD Posts: 0
Has thanked: 8 times
Been thanked: 4 times

Re: A Go AI app for iOS with that strong neural network

Post by Limeztone »

y_ish san,

First I want to say that I am really happy that your program exist! :-)

I have a small issue. When KataGo reaches 1000 playouts, it stops it's search, even if I have allowed more time. It seams that the maxPlayouts is set to 1000. Can you check if that is the case? And maybe remove that in future releases so longer thinking times is possible?

For me it would be very useful to be able to set maxVisits in settings, so I wish for that :-)

About the settings; which of the settings is used for KataGo?
ResignTreshold, VirtualLoss, StochasticOpening, Cint, softmax...

I just NOW noticed that KataGo v1.3 was released!
What is your plan about that?
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Limeztone san,

Thank you for using my app!
And I am sorry for inconvenience.

There should be no limits such a small number of "maxPlayouts".
The engine would stop normally in study mode,
1. if you set "Max time per position(sec.)" to finite value in the settings menu, or
2. if available memory runs out, which you may feel like "maxPlayouts".

Could you tell me your device and iOS version?
I will check a behavior by correspondent simulator.

For KataGo, only "Resign Threshold" is effective in the AI engine parameters.
And "Batch Size" and "Pondering" are also effective.

Of course, I started to prepare next version for KataGo v1.3!^^
Limeztone
Dies in gote
Posts: 63
Joined: Sun Jan 12, 2020 9:28 pm
GD Posts: 0
Has thanked: 8 times
Been thanked: 4 times

Re: A Go AI app for iOS with that strong neural network

Post by Limeztone »

y_ich san,

> There should be no limits such a small number of "maxPlayouts".

> The engine would stop normally in study mode,
> 1. if you set "Max time per position(sec.)" to finite value in the settings menu, or
> 2. if available memory runs out, which you may feel like "maxPlayouts".

The thing is that the output says "1000playouts 22eps"!
1000 exactly! And always "22eps", I think. If I set the time limit close to what is needed for 1000p then the output sometimes says a lower value. But it NEVER excedes 1000. If I enter a hight time limit the search stops about when 1000 playouts should be done.

And to be clear, it's not study mode as you write above, it's game mode. I have not dared to change the time setting for study yet :-) There is no problem in study mode! The search does not stop in study mode at 1000 playouts.

In study mode the playouts are updated continously for KataGo.
But in play (game) mode the playouts are only printed at the end of the search.
Also there is only "eps" in the printout for game mode In study mode there is "nps" and "eps".

When running Leela the playouts are displayed continiously also in game mode.

> Could you tell me your device and iOS version?
iOS 13.1.1
iPadAir 2019 (third generation)
batchsize 1
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Limeztone san,

For game mode, you can change "Time per move" just before starting a game.
(And pondering is also available.)

Regards.
Limeztone
Dies in gote
Posts: 63
Joined: Sun Jan 12, 2020 9:28 pm
GD Posts: 0
Has thanked: 8 times
Been thanked: 4 times

Re: A Go AI app for iOS with that strong neural network

Post by Limeztone »

i_ich san,

your reply implies that you don't fully understand what I try to report.
Naturaly I know that I can set the time limit for game mode!
How would I else notice the issue with a playout cap at 1000?

Fellow users, am I the only one that stumble on this problem.
Is there anyone here that uses KataGo and get longer playouts (than 1000) in game mode?

Regards,
Limez
Limeztone
Dies in gote
Posts: 63
Joined: Sun Jan 12, 2020 9:28 pm
GD Posts: 0
Has thanked: 8 times
Been thanked: 4 times

Re: A Go AI app for iOS with that strong neural network

Post by Limeztone »

Marcel wrote> After the AI made a move, it shows playouts and nps (but not "eps").

Interesting that you get "nps" but not "eps" as I get "eps" and not "nps".

(But before the AI makes any move, only the word "nps" is displayed and nothing more, just as you wrote)
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Limeztone san,

I am sorry that I totally misunderstood your comments.
Now I have reproduced what you are saying. I will investigate it.

Printing only nps (no eps) in play mode by KataGo is normal.
(Original KataGo does not output evaluations per sec, and I extended only for study mode.)

Thank you for your patience.
Limeztone
Dies in gote
Posts: 63
Joined: Sun Jan 12, 2020 9:28 pm
GD Posts: 0
Has thanked: 8 times
Been thanked: 4 times

Re: A Go AI app for iOS with that strong neural network

Post by Limeztone »

y_ich san,

I think my request was lost in our earlier conversation.

Is it possible for you to add a setting for KataGo i you excellent app?
It would be very useful for me to be able to set "maxVisits" (value in KataGo config).

I think setting max visits is a good hardware independent way to control the playing strength.
If I use 3200 visits on my computer and 3200 visits on my iPad the playing strength of KataGo should be about the same. It will only take KataGo longer to respond on the iPad.

Thanks in advance :-)
Regards,
Limez

PS I'm impressed how quick you fixed the issue I reported! That is excellent support!
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Limeztone san,

You are lucky because Apple's app review started soon and ended quickly this time^^

I need to consider how to make the settings for KataGo available for users.

Thank you.
Dfeldmann
Beginner
Posts: 2
Joined: Mon Jan 20, 2020 6:57 am
Rank: EGF 2d
GD Posts: 0

Re: A Go AI app for iOS with that strong neural network

Post by Dfeldmann »

Dear y-ish san,
I first want to congratulate you for your impressive work ; I am waiting impatiently for Katago v.1.3.
A few suggestions and remarks : 1) in study mode, it would be nice to have a pass option (as in play mode). 2) The colour of the current move suggested (in study mode) should be easier to distinguish from other plays (a nice pink, for instance ?) ; also, in the first information window (with horizontal bars), the best move is a little too far on the right, masking the coordinates of the move. 3) When we look for variations with Leela, it goes quickly to 20 or 30 moves deep, but it seems Katago is blocked on 10 moves variations ; is it a feature or a bug ? But mostly, those are minor flaws, and I must again thank you a lot for what you have done.
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Dfeldmann san,

Thank you for using my app and your comments!

I will consider about your comments.

About KataGo v1.3, it already works functionally on the app, but I am failing to tune the weights in order to use Neural Engine. they are extremely slower than v1.2 on A12 and later processors.

It was a kind of small miracle for the previous weight to run on Neural Engine.
(I cannot explain logically why it became to run on.)

Please pray good luck for me this time^^

Thank you!
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

Grünauer san,

Thank you for reporing issues!

1. "It doesn't look like a text file. UTF-8 is required as character code." message basically appears when you haven't downloaded a file from iCloud yet. Please download it via info menu.
The behavior after the error message is certainly a bug. I have fixed it for the next version.
2. A few functionalities related "share button" seem still buggy on iOS 13. I am sorry for your inconvenience.

Thank you for your cooperations.
y_ich
Dies with sente
Posts: 112
Joined: Fri Nov 16, 2018 5:29 pm
Rank: Tygem 7d
GD Posts: 0
Been thanked: 36 times

Re: A Go AI app for iOS with that strong neural network

Post by y_ich »

I released "A Master of Go" version 5.0.0 with KataGo v1.3.
On iPad Pro(A12X), g170-b20c256x2 weight achieves more than 60 evaluations per second(eps) and if you use lighter g170e-b10c128, eps is more than 200.

Enjoy!
Limeztone
Dies in gote
Posts: 63
Joined: Sun Jan 12, 2020 9:28 pm
GD Posts: 0
Has thanked: 8 times
Been thanked: 4 times

Re: A Go AI app for iOS with that strong neural network

Post by Limeztone »

y_ich wrote:I released "A Master of Go" version 5.0.0 with KataGo v1.3.
On iPad Pro(A12X), g170-b20c256x2 weight achieves more than 60 evaluations per second(eps) and if you use lighter g170e-b10c128, eps is more than 200.
I am so happy that you managed get KataGo-1.3 to work in your app!
I really like the way you now display "next move" in study mode!

Here is my thoughts:
- the naming of the KataGo weights as "g170-b20c256x2" is not the best of choice. There are currently (3) three released weights with names beginning like that. So some different naming is needed!
- It would be very useful if the name of the current selected weight file was displayed in the dialog from where one start game/study. Now one have to enter setup and scroll down to see that information (before starting). The text at the top of that dialog is not really needed and could be replaced with the name of the current weight file.
- Is it hard work for you to make the new 15b weight file for KataGo (g170e-15b) available for download? I have a strong feeling that will be the net I will use when playing on my iPad Air.
- I think that being able to set "number of visits per move" would be very useful as that is the way to make the AIs strength independent from once hardware. So I wish for that again :-)
- It would be great if there was an easy way to share a game just played on Pandanet to your app. Right now there is no "easy" way as I see it.


EDIT:
As for weight naming, "g170-20b-s1.42G" and "g170e-10b-s1.14G" would be an unique (and good enough) naming (according to lightvector). So I suggest that for a short :-)
Post Reply