It is currently Tue Mar 19, 2024 2:37 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 228 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12  Next
Author Message
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #201 Posted: Wed Jul 28, 2021 10:54 pm 
Beginner

Posts: 2
Liked others: 3
Was liked: 0
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!

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #202 Posted: Thu Jul 29, 2021 4:23 pm 
Dies with sente

Posts: 112
Liked others: 0
Was liked: 36
Rank: Tygem 7d
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.


This post by y_ich was liked by: jkal
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #203 Posted: Wed Aug 18, 2021 2:34 am 
Beginner

Posts: 6
Liked others: 0
Was liked: 1
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?

Top
 Profile  
 
Offline
 Post subject: Re: A Go AI app for iPad with that strong neural network
Post #204 Posted: Fri Aug 27, 2021 11:49 am 
Dies in gote

Posts: 62
Liked others: 8
Was liked: 4
It works great on the M1 iPad!
It's magnitudes faster!
Just amazing!

edit: removed the wrong quote


Last edited by Limeztone on Sat Aug 28, 2021 10:46 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #205 Posted: Sat Aug 28, 2021 10:45 am 
Dies in gote

Posts: 62
Liked others: 8
Was liked: 4
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.


This post by Limeztone was liked by: jkal
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #206 Posted: Sat Sep 04, 2021 12:21 am 
Beginner

Posts: 6
Liked others: 0
Was liked: 1
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!

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #207 Posted: Sun Sep 05, 2021 1:22 pm 
Lives with ko

Posts: 131
Liked others: 0
Was liked: 7
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.

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #208 Posted: Wed Sep 22, 2021 4:03 pm 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
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.

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #209 Posted: Fri Sep 24, 2021 3:31 pm 
Dies with sente

Posts: 112
Liked others: 0
Was liked: 36
Rank: Tygem 7d
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!


Last edited by y_ich on Sat Sep 25, 2021 12:20 am, edited 1 time in total.

This post by y_ich was liked by 2 people: ez4u, jkal
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #210 Posted: Fri Sep 24, 2021 6:04 pm 
Beginner

Posts: 2
Liked others: 3
Was liked: 0
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!

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #211 Posted: Fri Sep 24, 2021 9:16 pm 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
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!

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders


Last edited by wineandgolover on Fri Sep 24, 2021 9:28 pm, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #212 Posted: Fri Sep 24, 2021 9:27 pm 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
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!

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #213 Posted: Fri Sep 24, 2021 9:43 pm 
Dies with sente

Posts: 112
Liked others: 0
Was liked: 36
Rank: Tygem 7d
wineandgolover san,

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

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #214 Posted: Sun Sep 26, 2021 4:25 am 
Dies with sente

Posts: 112
Liked others: 0
Was liked: 36
Rank: Tygem 7d
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.


This post by y_ich was liked by: wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #215 Posted: Sun Oct 03, 2021 3:19 pm 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
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.

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #216 Posted: Sun Oct 03, 2021 8:35 pm 
Dies with sente

Posts: 112
Liked others: 0
Was liked: 36
Rank: Tygem 7d
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


This post by y_ich was liked by: wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #217 Posted: Wed Oct 06, 2021 2:32 pm 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
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

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #218 Posted: Fri Mar 18, 2022 9:09 am 
Lives in gote

Posts: 676
Liked others: 6
Was liked: 31
KGS: 2d
Hi, there seems to be a problem with the new ios 15.4. Can‘t put stones on the board.

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #219 Posted: Fri Mar 18, 2022 9:16 am 
Dies with sente

Posts: 112
Liked others: 0
Was liked: 36
Rank: Tygem 7d
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.

Top
 Profile  
 
Offline
 Post subject: Re: "A Master of Go", iOS/iPadOS Go AI app
Post #220 Posted: Wed Apr 27, 2022 5:29 am 
Oza
User avatar

Posts: 2401
Location: Tokyo, Japan
Liked others: 2337
Was liked: 1332
Rank: Jp 6 dan
KGS: ez4u
I just bought a new M1-equipped ipad pro. A Master of Go is amazing. How can I see the nps on the ipad?

_________________
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21

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