Computer Specs for Go Review with AI

For discussing go computing, software announcements, etc.
dino1019
Dies in gote
Posts: 26
Joined: Fri Feb 14, 2020 8:05 pm
Rank: ogs 12k
GD Posts: 0
KGS: 12k
Tygem: 12k
IGS: 6k+
Wbaduk: 12k
DGS: 5k
OGS: 10k
Online playing schedule: turn-based only
Has thanked: 11 times
Been thanked: 1 time

Computer Specs for Go Review with AI

Post by dino1019 »

Anyone can provide a reference desktop computer specs for go AI review purpose? My computer vendor asks me to provide one based on which we can decide the specs, analysis speed, and cost.

I have a notebook with Intel i5 CPU and Windows 10 64 bit OS, and a note 8 phone. I want to run go AI for reviewing games and find bad moves and good moves, in terms of winrate delta or score delta. Typical use cases are:

Ah-Q app on my phone that connects to LZ engine (with different weights) my notebook via SSH, but this is limited to LZ but not Katago, since the latter requires GPU.

Run go review partner on my notebook, but this way I have to set with my notebook.

The analysis speed of LZ264 (40b) is about 3.5 visits / secs., if I want to analyze a game with 250 moves with 10k visits / move, it takes about 177 minutes, if 1k, 17 minutes. I wonder if I have a GPU desktop, I can run it even faster.

Anyone any advice? (Computer specs, and analysis speed) Thanks in advance.
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: Computer Specs for Go Review with AI

Post by Gomoto »

Use Zbaduk for now.
All other advice is related to your budget. How much do you want to spend. Desktop GPUS are much faster.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: Computer Specs for Go Review with AI

Post by Bill Spight »

dino1019 wrote:The analysis speed of LZ264 (40b) is about 3.5 visits / secs., if I want to analyze a game with 250 moves with 10k visits / move, it takes about 177 minutes, if 1k, 17 minutes. I wonder if I have a GPU desktop, I can run it even faster.
One thing you might do is to run the analysis for 15 minutes. Then, based on the analysis, play moves that you are interested in understanding better to get LZ's opinion at 10k. It is quite possible that at 10k for a particular move, LZ will change its mind about a move you made or about the move it would choose.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: Computer Specs for Go Review with AI

Post by RobertJasiek »

How does Apple A13 compare to Desktop GPUs?
Jæja
Dies in gote
Posts: 61
Joined: Thu Oct 31, 2019 2:42 am
GD Posts: 0
Universal go server handle: Jæja
Has thanked: 12 times
Been thanked: 18 times

Re: Computer Specs for Go Review with AI

Post by Jæja »

dino1019 wrote:Ah-Q app on my phone that connects to LZ engine (with different weights) my notebook via SSH, but this is limited to LZ but not Katago, since the latter requires GPU.
Katago can run on the Intel Integrated Graphics, such as the Intel Iris Graphics 6100 found in my MacBook Pro (early 2015 model). I've read something about Katago having issues with it, but I haven't run into this.
Gomoto wrote:Use Zbaduk for now.
I agree with this. Forum member spook is doing an amazing job with ZBaduk. It works very well, it's easy (no need to install anything) and relatively cheap!
dino1019
Dies in gote
Posts: 26
Joined: Fri Feb 14, 2020 8:05 pm
Rank: ogs 12k
GD Posts: 0
KGS: 12k
Tygem: 12k
IGS: 6k+
Wbaduk: 12k
DGS: 5k
OGS: 10k
Online playing schedule: turn-based only
Has thanked: 11 times
Been thanked: 1 time

Re: Computer Specs for Go Review with AI

Post by dino1019 »

Yes, zbaduk is a potentially useful go review tool, but it's not fully customized for mobile as ogs does yet, also I cannot see list of bad moves as AI sensei does. ogs only shows the first 3 bad moves before paying, and AI sensei provides free analysis for 3 games only. If there's a fast, mobile and low cost way of knowing bad moves, then I can use Ah-Q + LZ@PC remotely for live analysis on bad moves.
inbae
Dies in gote
Posts: 25
Joined: Tue Feb 04, 2020 11:07 am
GD Posts: 0
KGS: inbae
Been thanked: 7 times

Re: Computer Specs for Go Review with AI

Post by inbae »

You can also consider setting a cloud instance and running KataGo/LZ on there. If you don't play computer games very much, it can be a reasonable choice, even in terms of budget.
explo
Dies with sente
Posts: 108
Joined: Wed Apr 21, 2010 8:07 am
Rank: FFG 1d
GD Posts: 0
Location: France
Has thanked: 14 times
Been thanked: 18 times

Re: Computer Specs for Go Review with AI

Post by explo »

dino1019 wrote:The analysis speed of LZ264 (40b) is about 3.5 visits / secs., if I want to analyze a game with 250 moves with 10k visits / move, it takes about 177 minutes, if 1k, 17 minutes. I wonder if I have a GPU desktop, I can run it even faster.

Anyone any advice? (Computer specs, and analysis speed) Thanks in advance.
I don't know how much you can/want to invest. On my GTX 1660 Ti (around 300€), I get ~300-350 visits per second on LZ265 using Lizzie.
User avatar
jlt
Gosei
Posts: 1786
Joined: Wed Dec 14, 2016 3:59 am
GD Posts: 0
Has thanked: 185 times
Been thanked: 495 times

Re: Computer Specs for Go Review with AI

Post by jlt »

dino1019 wrote: The analysis speed of LZ264 (40b) is about 3.5 visits / secs., if I want to analyze a game with 250 moves with 10k visits / move, it takes about 177 minutes, if 1k, 17 minutes.
How did you make that calculation?

I got 250*10000/3.5/60 = 11905 minutes = 198 hours.

If your computer is too slow, use 15-block networks instead, they are strong enough.
xela
Lives in gote
Posts: 652
Joined: Sun Feb 09, 2014 4:46 am
Rank: Australian 3 dan
GD Posts: 200
Location: Adelaide, South Australia
Has thanked: 219 times
Been thanked: 281 times

Re: Computer Specs for Go Review with AI

Post by xela »

dino1019 wrote:The analysis speed of LZ264 (40b) is about 3.5 visits / secs., if I want to analyze a game with 250 moves with 10k visits / move, it takes about 177 minutes, if 1k, 17 minutes. I wonder if I have a GPU desktop, I can run it even faster.

Anyone any advice? (Computer specs, and analysis speed) Thanks in advance.
3.5 visits/sec, are you sure you don't mean 35? My Ryzen 5 (without using GPU) gives me 25-30 visits/sec for a 40b network.

Any mid price GPU will take you up to 200-300 visits/sec, no need to fuss too much over the specs. I get a little over 200 on my GTX 1070.
dino1019
Dies in gote
Posts: 26
Joined: Fri Feb 14, 2020 8:05 pm
Rank: ogs 12k
GD Posts: 0
KGS: 12k
Tygem: 12k
IGS: 6k+
Wbaduk: 12k
DGS: 5k
OGS: 10k
Online playing schedule: turn-based only
Has thanked: 11 times
Been thanked: 1 time

Re: Computer Specs for Go Review with AI

Post by dino1019 »

Attached is screenshot of Ah-Q app with remote connection to Windows 10 (Intel i5) and run LZ264 (40b). You see the 500 visits are received in 2 or 2.5 min., so the speed is 3.5 to 5 vps. (the default threads is 4)
Attachments
Screenshot_20200225-234400_AhQ Pro.jpg
Screenshot_20200225-234400_AhQ Pro.jpg (918.58 KiB) Viewed 12841 times
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: Computer Specs for Go Review with AI

Post by Bill Spight »

You understand that the win rate estimates based upon fewer than 100 visits are basically meaningless. In fact, the Elf commentaries on pro games do not report any winrate estimates based on fewer than 500 visits.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
User avatar
jlt
Gosei
Posts: 1786
Joined: Wed Dec 14, 2016 3:59 am
GD Posts: 0
Has thanked: 185 times
Been thanked: 495 times

Re: Computer Specs for Go Review with AI

Post by jlt »

For a kyu player, 100 visits is fine if you use Katago (otherwise LeelaZero may occasionally misread a ladder). Not that the bot will never make mistakes, but it will not make more mistakes than a high-dan player anyway.

P.S. My notebook computer doesn't have a GPU, and I get about 50 visits/second with 15-block Katago.
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: Computer Specs for Go Review with AI

Post by go4thewin »

xela wrote:
dino1019 wrote:The analysis speed of LZ264 (40b) is about 3.5 visits / secs., if I want to analyze a game with 250 moves with 10k visits / move, it takes about 177 minutes, if 1k, 17 minutes. I wonder if I have a GPU desktop, I can run it even faster.

Anyone any advice? (Computer specs, and analysis speed) Thanks in advance.
3.5 visits/sec, are you sure you don't mean 35? My Ryzen 5 (without using GPU) gives me 25-30 visits/sec for a 40b network.

Any mid price GPU will take you up to 200-300 visits/sec, no need to fuss too much over the specs. I get a little over 200 on my GTX 1070.
The Ryzen 5 has vega graphics, much faster than intel hd graphics. Ryzen 5 desktop might have vega 11, which is faster than a gt 1030 for opencl! https://browser.geekbench.com/opencl-benchmarks
Last edited by go4thewin on Tue Feb 25, 2020 11:19 pm, edited 1 time in total.
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: Computer Specs for Go Review with AI

Post by Bill Spight »

jlt wrote:For a kyu player, 100 visits is fine if you use Katago (otherwise LeelaZero may occasionally misread a ladder). Not that the bot will never make mistakes, but it will not make more mistakes than a high-dan player anyway.
Incorrect winrate estimates do not mean that the order of correct winrates would be any different. But it's not unusual that the order will change. That's why I recommend doing a quick first run and then comparing interesting options by making those plays. Doing so will produce high enough visits to be reasonably confident about the comparisons.

In the example given, for instance, the keima might be interesting, even though it has a low winrate estimate and only 16 visits. Making that play could easily change the winrate estimate by 10% or more, with 500 visits, or 1,000 visits, or 10,000 visits. It's not like you do that for every option, just for the ones that look interesting after the first run.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Post Reply