Big boost in strength for LC0 by simply changing VGA card

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

brianr
Posts: 536
Joined: Thu Mar 09, 2006 3:01 pm

Re: Big boost in strength for LC0 by simply changing VGA card

Post by brianr »

M ANSARI wrote: Sat Jan 26, 2019 7:55 am ...I am doing another match now, but this time using a Silvesuite book and things are not going as well. At the moment after 60 games Leela is down by 2 games with score at +11, =36,-13. I looked at some of the openings from book and many openings had SF up by over +1 from the opening and Leela on many openings was very pessimistic about the position it had to start with. Most likely I will need a more neutral book. I wanted to try out the Nunn short book but couldn't find it somehow.
Books are actually a handicap for Leela. The Silver and Nunn books are great, just not as helpful with Leela as with "traditional" alpha/beta engines. Suggest using only a two ply (1 move each side) only book depth.
ankan
Posts: 77
Joined: Sun Apr 21, 2013 3:29 pm
Full name: Ankan Banerjee

Re: Big boost in strength for LC0 by simply changing VGA card

Post by ankan »

M ANSARI wrote: Sat Jan 26, 2019 7:55 am Card I am using is now an RTX 2080Ti which reading on the forums seems to indicate would do very well. The previous card was a Quadro M4000 with around 1700 Cuda cores while the RTX 2080Ti has about 3.5x that.
I would expect a bigger jump in NPS going from Quadro M4000 to the RTX 2080Ti (something like 10x or even more).
Make sure you have --backend=cudnn-fp16 as command line option (or select it from GUI's engine settings). lc0 utilizes tensor cores only with the cudnn-fp16 backend.
Increasing the NNCache size (from the default 200k to something like 10 million) can also boost NPS a bit without any side-effects (add --nncache=10000000 to command line settings or in the GUI's engine settings).
User avatar
M ANSARI
Posts: 3707
Joined: Thu Mar 16, 2006 7:10 pm

Re: Big boost in strength for LC0 by simply changing VGA card

Post by M ANSARI »

ankan wrote: Sat Jan 26, 2019 12:42 pm
M ANSARI wrote: Sat Jan 26, 2019 7:55 am Card I am using is now an RTX 2080Ti which reading on the forums seems to indicate would do very well. The previous card was a Quadro M4000 with around 1700 Cuda cores while the RTX 2080Ti has about 3.5x that.
I would expect a bigger jump in NPS going from Quadro M4000 to the RTX 2080Ti (something like 10x or even more).
Make sure you have --backend=cudnn-fp16 as command line option (or select it from GUI's engine settings). lc0 utilizes tensor cores only with the cudnn-fp16 backend.
Increasing the NNCache size (from the default 200k to something like 10 million) can also boost NPS a bit without any side-effects (add --nncache=10000000 to command line settings or in the GUI's engine settings).
Thanks for this advice. I did not have those settings so I am guessing this will improve things. I now get 52kn/s on the start position (not sure what it was before the setting change) using the network 32591. I am guessing there is probably some better networks out there ... but really everything is so much in flux right now that I feel things will be changing a lot for while. I was reading up on Tensor cores and it makes for some interesting reading. Apparently this is all done for AI with Google having been the starter of this but several other companies are starting to make even bigger headway in that field (nvidia being one of them). My guess is these Tensor cores are similar what the Pentium Pro a little over 2 decades ago was then. The hardware and software to use the hardware will probably see an exponential improvement as it becomes more mainstream. If LC0 is so strong already, I can't imagine what things will be like in a few years. There are some pretty huge holes in LC0 evaluation ... in one game I saw that it just did not realize how strong it was for the other side to gain 2 queens ...somehow it just gave it almost 1 pawn advantage for the extra queen while SF was at +10 and obviously SF was correct. These things will be patched up soon I think. I remember not too long ago Rybka in its prime, on my 8 core 5 Ghz system was crushing everything on Playchess ... but then in one game it completely missed a wrong bishop endgame and went head first into it thinking it was winning while it was a draw. Those type of things need to be patched up and if the rate of progress continues, it will only be a matter of time.
jmartus
Posts: 256
Joined: Sun May 16, 2010 2:50 am

Re: Big boost in strength for LC0 by simply changing VGA card

Post by jmartus »

Net 32335 is the strongest one. Should try it with that one.
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: Big boost in strength for LC0 by simply changing VGA card

Post by carldaman »

jmartus wrote: Sat Jan 26, 2019 4:09 pm Net 32335 is the strongest one. Should try it with that one.
If that's the case, why did they pick the later 32742 for TCEC?

It is very hard to get non-contradictory information about LCO these days.
jmartus
Posts: 256
Joined: Sun May 16, 2010 2:50 am

Re: Big boost in strength for LC0 by simply changing VGA card

Post by jmartus »

I'm not 100 percent sure i was just going off someones ccrl rating list in the discord forum.
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: Big boost in strength for LC0 by simply changing VGA card

Post by Nay Lin Tun »

jmartus wrote: Sun Jan 27, 2019 12:17 am I'm not 100 percent sure i was just going off someones ccrl rating list in the discord forum.
ccrl rating list by MGTO is pretty incorrect indicator of NN rating for LTC or strong hardware like TCEC/CCcc. Lco is practically a hybrid engine and the strength of engine is the result of a combination of NN's policy strength(similar to static evaluation of Stockfish at 0 node) and value head strength( MCTS search and its evaluation which is similar to Stockfish evaluation at depth 30~50 etc ).
When bullet with 4k nps like ccrl list, the value of policy head matters cos the search is very limited.
But it Tcec/cccc, they have 60~ 100knps and also VLTC, and the better value head matters more. According to test results of big hardwares, 32700+ or 32800+ outperform the network u mentioned above.
yanquis1972
Posts: 1766
Joined: Wed Jun 03, 2009 12:14 am

Re: Big boost in strength for LC0 by simply changing VGA card

Post by yanquis1972 »

suspect there's been a significant gain in conjunction with the drop in self-elo, which seems to've recovered. a lot of complex endgames seem soft-solved; winning scores (~75%/~+2.50) where SF might give half/three quarters pawn advantage with fairly deep search.

this 1min+1s bullet game on weak hardware (~2.5MN/s SF10; ~6kn/s Lc0) deserves some much deeper analysis but is a complete spectacle without it -- https://lichess.org/fAEh9NgM



[pgn][Event "Sf10 vs lc0 id820vs876vs896"] [Site "PC"] [Date "2019.01.26"] [Round "1"] [White "Stockfish 10 1cpu"] [Black "Lc0 id32909"] [Result "0-1"] [BlackElo "2980"] [ECO "C77"] [Opening "Spanish"] [Time "19:01:27"] [Variation "Anderssen Variation"] [WhiteElo "2880"] [TimeControl "60+1"] [Termination "adjudication"] [PlyCount "97"] [WhiteType "program"] [BlackType "program"] 1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 (Ba4 Nf6 Bxc6 dxc6 d3 Bd6 O-O Qe7 h3 O-O b3 Be6 Bb2 Nd7 Nbd2 f6 a4 Qe8 Re1 Bc5 d4 Bd6 Nc4 Bxc4 bxc4) {+0.63/22 5} Nf6 (Nf6 O-O Be7 Re1 b5 Bb3 d6 c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 Be3 Ke2 Bd4) {-3.21/22 0 Arena Adjudication} 0-1[/pgn]
User avatar
M ANSARI
Posts: 3707
Joined: Thu Mar 16, 2006 7:10 pm

Re: Big boost in strength for LC0 by simply changing VGA card

Post by M ANSARI »

I did another 3_2 game, this time 50 games with the new settings and it seems score is very similar to the initial 20 game set. Lc0 is at +16 -6 and the rest draws after 40 games. This is around +90 ELO which is quite impressive. Again this is with no books. I have to say I am really impressed. There was one game where Lc0 crazily gave up its queen and went into an ending thinking it was equal. I mean I guarantee that 100% of all super GM's and every engine would disagree as it seemed there was no fortress in the endgame. SF had the evaluation at around +2.4 ... but it turns out that Lc0 knew that it could force off one pair of rooks and then get a fortress. I was following that game live and I thought that either Lc0 was a genius and or was going to go down in flames ... I guess after about 40 moves SF seemed to agree there was no progress so Lc0 was probably correct. For me that was mind boggling as the weakness of engines was that they could not understand fortresses with inferior material or had a blindness for the horizon effect. Not anymore I guess! Once the game is over I will try to filter that game out as I thought it was game changing.
Javier Ros
Posts: 200
Joined: Fri Oct 12, 2012 12:48 pm
Location: Seville (SPAIN)
Full name: Javier Ros

Re: Big boost in strength for LC0 by simply changing VGA card

Post by Javier Ros »

M ANSARI wrote: Sun Jan 27, 2019 7:34 am I did another 3_2 game, this time 50 games with the new settings and it seems score is very similar to the initial 20 game set. Lc0 is at +16 -6 and the rest draws after 40 games. This is around +90 ELO which is quite impressive. Again this is with no books. I have to say I am really impressed. There was one game where Lc0 crazily gave up its queen and went into an ending thinking it was equal. I mean I guarantee that 100% of all super GM's and every engine would disagree as it seemed there was no fortress in the endgame. SF had the evaluation at around +2.4 ... but it turns out that Lc0 knew that it could force off one pair of rooks and then get a fortress. I was following that game live and I thought that either Lc0 was a genius and or was going to go down in flames ... I guess after about 40 moves SF seemed to agree there was no progress so Lc0 was probably correct. For me that was mind boggling as the weakness of engines was that they could not understand fortresses with inferior material or had a blindness for the horizon effect. Not anymore I guess! Once the game is over I will try to filter that game out as I thought it was game changing.

I had the same impressions when I played the first games with Lc0. I am still amazed when I see how it is able to turn a game where Stockfish evaluates with advantage sacrificing a pair of pawns. The following game was played between SF10 on 6 cores of i7 980X and AntiFish125 on 2x1060 played at 5 minutes plus 1 second.

After eating the second pawn SF10 evaluates as +0.86

Image

but the advanced black pawns of d and e worsen the coordination of the white pieces and the threat of the column g gives black advantage. After 29.g3 +0.50 if follows

Image

[pgn][Event "BalsaAFx2_5p1"] [Site "J-PC"] [Date "2019.01.26"] [Round "9"] [White "Stockfish_10_x64_popcnt"] [Black "AF125x2"] [Result "0-1"] [ECO "B33"] [WhiteElo "2200"] [BlackElo "2200"] [PlyCount "119"] [EventDate "2019.??.??"] [TimeControl "300+1"] 1. e4 c5 2. Nf3 e6 3. d4 cxd4 4. Nxd4 Nc6 5. Nc3 Nf6 6. Ndb5 d6 7. Bf4 e5 8. Bg5 a6 9. Na3 b5 10. Bxf6 {0.44/25 15} gxf6 {-0.38/11 9} 11. Nd5 {0.57/24 3} Bg7 {-0.35/11 4} 12. Bd3 {0.87/23 2} Ne7 {-0.43/12 13} 13. Nxe7 {0.70/25 7} Qxe7 {-0.45/12 1} 14. c4 {0.72/25 11} f5 {-0.33/11 12} 15. O-O {0.82/25 7} O-O {-0.41/11 2} 16. Qh5 {0.46/25 8} h6 {-0.32/10 10} 17. Qe2 {0.55/27 17} Bb7 { -0.09/11 8} 18. Rad1 {0.66/24 1} Rad8 {-0.02/12 4} 19. exf5 {0.84/24 2} e4 { 0.13/12 8} 20. cxb5 {0.86/25 4} axb5 {0.11/12 4} 21. Bxb5 {0.86/24 3} d5 { 0.23/11 6} 22. f3 {0.65/25 7} e3 {0.29/11 5} 23. Nc2 {0.92/24 2} d4 {0.75/9 10} 24. a4 {0.66/26 15} Kh8 {1.00/10 10} 25. a5 {0.09/29 20} Rg8 {1.33/12 9} 26. a6 {0.00/24 4} Ba8 {1.36/11 5} 27. Ne1 {0.00/27 6} Qh4 {1.36/11 7} 28. Nd3 { -0.37/25 6} Rd5 {1.27/12 10} 29. g3 {0.50/25 2} Bf6 {1.32/12 10} 30. Be8 { -2.26/28 35} Rxf5 {2.59/12 7} 31. Bd7 {-2.36/27 7} Be5 {2.42/13 5} 32. Nxe5 { -2.71/27 6} Rxe5 {2.84/12 6} 33. Bg4 {-2.66/27 8} Qd8 {3.21/13 8} 34. Bh3 { -2.55/26 2} Qb6 {3.33/13 6} 35. Rfe1 {-2.69/30 18} Rd8 {3.55/14 6} 36. Rd3 { -3.45/29 33} Bc6 {4.26/10 12} 37. Bf1 {-3.47/25 8} Bb5 {5.53/10 9} 38. f4 { -3.83/25 7} Red5 {5.37/11 5} 39. Qd1 {-3.44/26 8} Kg8 {5.21/10 18} 40. Qg4+ { -3.99/26 21} Kf8 {5.63/10 5} 41. a7 {-4.29/28 14} Bxd3 {8.20/9 6} 42. Bxd3 { -4.45/22 0} Qxa7 {8.46/9 4} 43. Rf1 {-3.53/21 3} Qe7 {9.55/8 11} 44. f5 { -3.20/21 0} R5d6 {11.80/8 9} 45. b4 {-3.58/21 1} e2 {11.91/9 4} 46. Bxe2 { -3.25/24 2} d3 {11.30/9 3} 47. Bd1 {-4.00/22 1} Rd4 {11.92/9 6} 48. Rf4 { -3.58/23 0} Qe3+ {18.28/10 5} 49. Kg2 {-3.66/26 2} Rxf4 {20.53/10 3} 50. Qxf4 { -4.01/30 1} Qxf4 {24.37/10 4} 51. gxf4 {-4.83/30 3} Rd4 {23.50/9 11} 52. Kf3 { -4.46/25 0} Rxb4 {22.67/9 0} 53. Ke3 {-5.19/27 2} Ke7 {25.37/8 4} 54. Bf3 { -5.67/27 2} d2 {26.23/8 4} 55. Kxd2 {-5.83/28 1} Rxf4 {47.15/7 2} 56. Ke3 { -6.26/29 0} Rxf5 {48.54/7 3} 57. Kf2 {-5.47/25 0} Rxf3+ {128.00/3 4} 58. Kxf3 { -66.86/32 0} h5 {128.00/2 1} 59. Ke3 {-73.45/33 1} Kf6 {16.22/7 2} 60. Kf4 { adjudication -153.08/32 1 Arena Adjudication} 0-1 [/pgn]