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

"A Master of Go", iOS/iPadOS Go AI app
http://www.lifein19x19.com/viewtopic.php?f=18&t=16216
Page 11 of 12

Author:  jkal [ Wed Jul 28, 2021 10:54 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Hi y_ich san,

First of all, thanks for the apps. I really enjoy using it.
I don't have a powerful PC so having this app really makes my iPad Pro purchase guilt-free. :lol:

I wanted to bring to your attention a performance problem when using Katago on iPadOS 15.
I know that iPadOS 15 is still in beta, so I'm not trying to complain about it here.
I'm running the apps with Katago on my 2018 iPad Pro 11 on iPadOS 15 beta 4.
The performance drops significantly for the Katago engine.
When running with the 40b, the number of playouts dropped to an average of 1 per second.
When running with the 10b, the number of playouts dropped to an average of about 35-40 per second.
The performance for the other engine doesn't seem to be affected. I don't really use the other engine so I can't confirm this.
I tried to tweak the settings around but doesn't seem to help in improving the performance.
I also tried to delete and reinstall the app as well.

I hope this helps.
Lastly, I really like the updates visualizing the battlefield. Great work!

Author:  y_ich [ Thu Jul 29, 2021 4:23 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

jkal san,

Thank you for using the app!
And also thank you to let me know the issue on iPadOS 15.

I will investigate it right after releasing iPadOS 15 or possibly its Release Candidate.

Author:  elliotdong [ Wed Aug 18, 2021 2:34 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Hi, I would like to know if the app could still work on the new M1 chip Ipad pro? I supposed the A14 new Ipad air would be Ok. Any test about this?

Author:  Limeztone [ Fri Aug 27, 2021 11:49 am ]
Post subject:  Re: A Go AI app for iPad with that strong neural network

It works great on the M1 iPad!
It's magnitudes faster!
Just amazing!

edit: removed the wrong quote

Author:  Limeztone [ Sat Aug 28, 2021 10:45 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

elliotdong wrote:
Hi, I would like to know if the app could still work on the new M1 chip Ipad pro? I supposed the A14 new Ipad air would be Ok. Any test about this?

I quoted the wrong post :-)

The M1 iPad works and is way faster than my other iPad pro.

For an arbitrary mid game position (b40s985 net) :
iPad pro with A12X chip : 1437 playouts with 100 sec thinking time.
iPad pro with M1 chip : 29763 playouts with 100 sec thinking time.

Author:  elliotdong [ Sat Sep 04, 2021 12:21 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Limeztone wrote:
elliotdong wrote:
Hi, I would like to know if the app could still work on the new M1 chip Ipad pro? I supposed the A14 new Ipad air would be Ok. Any test about this?

I quoted the wrong post :-)

The M1 iPad works and is way faster than my other iPad pro.

For an arbitrary mid game position (b40s985 net) :
iPad pro with A12X chip : 1437 playouts with 100 sec thinking time.
iPad pro with M1 chip : 29763 playouts with 100 sec thinking time.


Thanks for the reply!

Author:  goame [ Sun Sep 05, 2021 1:22 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Limeztone wrote:
elliotdong wrote:
Hi, I would like to know if the app could still work on the new M1 chip Ipad pro? I supposed the A14 new Ipad air would be Ok. Any test about this?

I quoted the wrong post :-)

The M1 iPad works and is way faster than my other iPad pro.

For an arbitrary mid game position (b40s985 net) :
iPad pro with A12X chip : 1437 playouts with 100 sec thinking time.
iPad pro with M1 chip : 29763 playouts with 100 sec thinking time.


Thanks.
Does it use the cpu cores or gpu cores or the neural engine cores?
M1X will double the cpu fire cores.
GPU will have 32 cores instead of 8 cores. This will change playlists from 30000 to 120000!!
Neural engine / metal I don’t know but maybe they will double the cores too.

Author:  wineandgolover [ Wed Sep 22, 2021 4:03 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Hi y_ich,

I updated my A13 iPhone 11 Pro to iOS 15, (release version not beta), in preparation for migrating to a new A15 iPhone 13 Pro.

I can confirm jkal's findings that katago has greatly slowed in the new OS. I’m getting maybe 7 visits per second on version 5.15 with the updated b40c256-s1000 engine. Under ios 14 I believe I got 30-40 visits per second.

It’s not just the engine that is slower, the whole app is sluggish, for example, placing a stone can take 1-3 seconds after tapping.

On my older iPad Air with A12 Processor and iOS 14, I’m getting 17 visits per second, and the app feels fine.

I sure hope you can fix the app for iOS 15 soon!

Thank you.

y_ich wrote:
jkal san,

Thank you for using the app!
And also thank you to let me know the issue on iPadOS 15.

I will investigate it right after releasing iPadOS 15 or possibly its Release Candidate.

Author:  y_ich [ Fri Sep 24, 2021 3:31 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

The version 5.15.1 has been released.

1. fixed a problem that KataGo ran extremely slowly on iPadOS/iOS 15 depending on devices. As a bonus, you may get performance boost on iPadOS/iOS 15 compared with on iPadOS/iOS 14.

Enjoy!

Author:  jkal [ Fri Sep 24, 2021 6:04 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

y_ich wrote:
The version 5.15.1 has been released.

1. fixed a problem that KataGo ran extremely slowly on iPadOS/iOS 15 depending on devices. As a bonus, you may get performance boost on iPadOS/iOS 15.

Enjoy!



Thanks y_ich san for the quick updates!
Just updated the apps and KataGo runs a lot faster on my iPad than before.
Great work!

Author:  wineandgolover [ Fri Sep 24, 2021 9:16 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Dear y_ich,

When I updated the app, it repeatedly opened for one second, then crashed. I deleted and reinstalled the app, then restored katago, and that fixed everything.

On the new iPhone 13 pro, I went from 20 visits per second on the last version to nearly 200 visits per second after the fix. That’s approaching decent desktop GPU performance!

Great job, and thanks!

y_ich wrote:
The version 5.15.1 has been released.

1. fixed a problem that KataGo ran extremely slowly on iPadOS/iOS 15 depending on devices. As a bonus, you may get performance boost on iPadOS/iOS 15.

Enjoy!

Author:  wineandgolover [ Fri Sep 24, 2021 9:27 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

On further experimentation, I think there is a problem with batch size. Reinstalling reset batch size to one, and it worked great.

When I reset batch size to four or more it instantly crashes when I start study. Batch size of two is inconsistent, sometimes crashing.

I’ll happily settle for batch size one now.

Thanks and good luck y_ich!

Author:  y_ich [ Fri Sep 24, 2021 9:43 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

wineandgolover san,

Thank you for your helpful information!
I will investigate it soon.

Author:  y_ich [ Sun Sep 26, 2021 4:25 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

The version 5.15.2 was released.

It fixed a bug that the app crashed on A14/A15 devices with iOS/iPadOS 15 when you use KataGo with batchSize more than (or equal to) 2.

Author:  wineandgolover [ Sun Oct 03, 2021 3:19 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

As far as I can tell, the 13 Pro is not taking advantage of its extra gpu core versus the regular 13 for a Master of Go. I tested both side by side, and they alternated being faster by at most 3%.

So unless y_ich can modify the code to leverage the pro's advantage, I don’t recommend buying the pro just for this app.

Author:  y_ich [ Sun Oct 03, 2021 8:35 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

wineandgolover san,

I have no way to know inside A15 and Core ML, but your experiment is quite reasonable.

A15's Neural Engine runs at 15.8FLOPS (though Apple says TOPS instead of FLOPS).
A15's GPU with 5 cores seems run at about 2.5FLOPS with FP16.
It means that 1 core runs at about 0.5FLOPS.

If Core ML uses both Neural Engine and GPU effectively, A15 with 5 cores has total 18.3FLOPS, while A15 with 4 cores has 17.8FLOPS.
The difference is 0.5FLOPS as described above, 0.5/18.3 = 0.027 ~ 3%.

I think that the match with your test is by chance.
Thermal variation may larger than it.

FYI

Author:  wineandgolover [ Wed Oct 06, 2021 2:32 pm ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Thanks y_ich,

I had no idea how much more powerful the neural engine was compared to the gpu. I am glad your app either effectively uses both, or that it’s not a big deal if it isn’t using the gpu. I’m a little surprised the development tools don’t let you dig in and find out more.

Regardless I am delighted with 200 visits per second on the 40 block katago engine. So thank you again!

And I’ll repeat the caveat for others, don’t upgrade to the Pro version of iPhone 13 for this app, the regular is good enough. (The zoom camera was enough reason for me.)

y_ich wrote:
wineandgolover san,

I have no way to know inside A15 and Core ML, but your experiment is quite reasonable.

A15's Neural Engine runs at 15.8FLOPS (though Apple says TOPS instead of FLOPS).
A15's GPU with 5 cores seems run at about 2.5FLOPS with FP16.
It means that 1 core runs at about 0.5FLOPS.

If Core ML uses both Neural Engine and GPU effectively, A15 with 5 cores has total 18.3FLOPS, while A15 with 4 cores has 17.8FLOPS.
The difference is 0.5FLOPS as described above, 0.5/18.3 = 0.027 ~ 3%.

I think that the match with your test is by chance.
Thermal variation may larger than it.

FYI

Author:  Pippen [ Fri Mar 18, 2022 9:09 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Hi, there seems to be a problem with the new ios 15.4. Can‘t put stones on the board.

Author:  y_ich [ Fri Mar 18, 2022 9:16 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

Pippen san,

Thank you for letting me know it.
I cannot reproduce your issue on my iOS/iPadOS 15.4.
My devices are iPhone SE 2 and iPad Air 4.

Could you send e-mail to me via the app?
The template includes your device/os information.

Thanks.

Author:  ez4u [ Wed Apr 27, 2022 5:29 am ]
Post subject:  Re: "A Master of Go", iOS/iPadOS Go AI app

I just bought a new M1-equipped ipad pro. A Master of Go is amazing. How can I see the nps on the ipad?

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