LCZero update (2)

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

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Vizvezdenec
Posts: 52
Joined: Fri Jan 12, 2018 12:30 am

Re: LCZero update

Post by Vizvezdenec » Tue Mar 27, 2018 9:54 pm

LCzero goes with really predictable patterns, you may lose to it like 5 or so games but then find a series of moves that abuse it badly.
Also it's really weak in tactics usually. Idk I started with struggling to find a draw in first 5 games and ended with winning 2 or 3 in a row being myself pretty bad chess player (although I didn't use slow mode).

glennsamuel32
Posts: 125
Joined: Sat Dec 04, 2010 4:31 pm
Location: 223

Re: LCZero update

Post by glennsamuel32 » Tue Mar 27, 2018 10:52 pm

Had a fun game with the online LCzero as black, against the brutal Opental as white...
No books, no ponder and I made the first move :D

[pgn]1. g3 e5
2. d4 exd4
3. Bg2 d5
4. Nf3 Nf6
5. O-O Be7
6. c3 dxc3
7. Nxc3 O-O
8. Bf4 a5
9. Qc1 c6
10. Rd1 Nbd7
11. e4 dxe4
12. Ng5 Ng4
13. Ngxe4 f5
14. Nd6 g5
15. Be3 Bxd6
16. Rxd6 Qe7
17. Rxd7 Bxd7
18. Bxg5 Qg7
19. Bf4 Rae8
20. Qd2 b5
21. Rd1 b4
22. Na4 Bc8
23. Bxc6 Bb7
24. Qd5+ Kh8
25. Bxb7 Nf6
26. Qb5 Rd8
27. Rxd8 Rxd8
28. Bf3 Ne4
29. Bxe4 fxe4
30. Be5 Rd1+
31. Kg2 Kg8
32. Qc4+ Qf7
33. Qc8+ Qf8
34. Qg4+ Kf7
35. Qxd1 Qa8
36. Qd7+ Kg6
37. Qg7+ Kf5
38. Qf6+ Kg4
39. h3+ Kh5
40. g4#[/pgn]

JohnS
Posts: 198
Joined: Sun Feb 24, 2008 1:08 am

Re: LCZero update

Post by JohnS » Wed Mar 28, 2018 4:48 am

I just played this game against ID 45 on normal level.

[pgn]
[Event "Home"]
[Site "Play Lczero"]
[Date "2018"]
[Round "?"]
[White "Me"]
[Black "Lczero"]
[Result "1-0"]
[PlyCount "93"]

1. e4 e5 2. Nf3 d6 3. Bc4 Nf6 4. d3 Be7 5. h3 O-O 6. O-O h6 7. Be3 Nc6 8. a3 d5
9. exd5 Nxd5 10. Bd2 Nb6 11. Ba2 a5 12. Nc3 a4 13. Re1 Nd7 14. Ne4 Nf6 15. Qe2
Nd4 16. Qd1 Nxe4 17. Rxe4 Nxf3+ 18. Qxf3 Be6 19. Bxe6 fxe6 20. Qe2 Bd6 21. Bc3
Qg5 22. Bxe5 Rad8 23. Bc3 e5 24. Bxe5 Bxe5 25. Rxe5 Qf6 26. c3 c5 27. Re1 b6
28. Re6 Qf4 29. Re4 Qg5 30. Rxa4 Qg6 31. Re4 h5 32. f3 Qg3 33. Qf2 Qg6 34. d4
cxd4 35. cxd4 Qh6 36. Rd1 Qg6 37. Qe2 b5 38. Re5 Qg3 39. Rxb5 Rc8 40. Qe6+ Rf7
41. Rb7 Rc2 42. Qxf7+ Kh7 43. Qf5+ Kh6 44. Qxc2 h4 45. Rb6+ Kh5 46. Qf5+ g5 47.
Qh7# 1-0
[/pgn]

It's certainly improving. Before it was very easy to beat but now I have to be careful. No doubt my days of winning are coming to an end (unless I use Stockfish and cheat :D). Tactics still seem to be its weak spot.

nabildanial
Posts: 126
Joined: Thu Jun 05, 2014 3:29 am
Location: Malaysia

Re: LCZero update

Post by nabildanial » Wed Mar 28, 2018 12:53 pm

My elo is around 1800-1900 on lichess but I can't seem to beat LeelaZero latest gen (gen 49) in 10-min games even once on my PC. My system has a GTX 1060 GPU.

Some questions:

1) With "lczero.exe -w latest -p 0 --noponder" command, does LeelaZero fully utilizes my GPU? I can see that the load on my GPU is hovering around 65-75%.

2) Can LeelaZero use multiple GPUs? Hypothetically speaking, if I buy 19 GTX 1060s and use it in a single system using an ASUS B250 MINING EXPERT motherboard, can LeelaZero utilize all of them for its calculation?

User avatar
CMCanavessi
Posts: 930
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: LCZero update

Post by CMCanavessi » Wed Mar 28, 2018 2:08 pm

-p 0 and --noponder are useless (ponder is not supported yet)

You could try lczero.exe -n -w latest --threads X

where X would be 2, 3, 4 or whatever gives the best GPU usage. Just test and see how you get best performance.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

nabildanial
Posts: 126
Joined: Thu Jun 05, 2014 3:29 am
Location: Malaysia

Re: LCZero update

Post by nabildanial » Wed Mar 28, 2018 2:31 pm

CMCanavessi wrote:-p 0 and --noponder are useless (ponder is not supported yet)

You could try lczero.exe -n -w latest --threads X

where X would be 2, 3, 4 or whatever gives the best GPU usage. Just test and see how you get best performance.
But without -p 0 --noponder, Leela just stops at 800 nodes every time. I don't want it to stop thinking at any nodes.

Kiudee
Posts: 27
Joined: Tue Feb 02, 2010 9:12 pm

Re: LCZero update

Post by Kiudee » Wed Mar 28, 2018 2:37 pm

The -p (or --playouts) flag is only there to limit the maximum number of playouts.
If you omit the flag and start a match with time control, lczero will use an appropriate amount of playouts.

You can verify this by typing

Code: Select all

go movetime 60000
in the command line.

Damir
Posts: 2472
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: LCZero update

Post by Damir » Wed Mar 28, 2018 2:39 pm

Here is my game against LCZero. I was White

1. c4 e5
2. Nc3 Nf6
3. e3 Be7
4. Nf3 e4
5. Nd4 O-O
6. g3 d5
7. cxd5 Nxd5
8. Nxe4 c5
9. Nb3 f5
10. Nexc5 f4
11. exf4 Nc6
12. d4 b6
13. Nd3 Bb4+
14. Bd2 Bxd2+
15. Qxd2 Re8+
16. Be2 a5
17. Ne5 Ncb4
18. a3 Na6
19. O-O Bh3
20. Rfe1 a4
21. Nc1 Nac7
22. Bf3 g6
23. Ncd3 Bf5
24. g4 Bxd3
25. Nxd3 Rxe1+
26. Rxe1 Qh4
27. Kg2 Rf8
28. Qc2 h5
29. gxh5 gxh5
30. Qc4 b5
31. Qc6 Nxf4+
32. Nxf4 Rxf4
33. Re5 Rf7
34. Rxh5 Qxd4
35. Rg5+ Rg7
36. Rxg7+ Qxg7+
37. Kh3 Qe5
38. Qc3 Qxc3
39. bxc3 Kf7
40. Kg4 Ke6
41. Kf4 Kd6
42. Ke4 Ne6
43. Bg4 Nc5+
44. Kd4 Nb3+
45. Kd3 Nc5+
46. Ke3 Kd5
47. Be2 Kc6
48. h4 Nd7
49. Kd4 Nf8
50. h5 Ne6+
51. Ke5 Ng5
52. Kf5 Nf7
53. Kf6 Nh6
54. Kg6 Ng8
55. h6 Nxh6
56. Kxh6 Kc5
57. Kg5 Kc6
58. f4 Kc5
59. f5 Kd5
60. f6 Ke6
61. Kg6 Ke5
62. f7 Kd6
63. f8=Q+ Ke6
64. Qf7+ Kd6
65. Bxb5 Ke5
66. Qe7+ Kd5
67. c4+ Kd4
68. c5 Kc3
69. c6 Kb2
70. c7 Kb3
71. c8=Q Ka2
72. Qc2+ Ka1
73. Qe5#

Damir
Posts: 2472
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: LCZero update

Post by Damir » Wed Mar 28, 2018 3:20 pm

History:
1. e4 b6
2. d4 Bb7
3. Nc3 e6
4. Nf3 d5
5. exd5 exd5
6. g3 Nf6
7. Bg2 Bd6
8. O-O O-O
9. Nh4 c6
10. Nf5 Bc7
11. h3 Nbd7
12. Ne2 g6
13. Nh6+ Kg7
14. Bg5 Bd6
15. Nf4 Qc7
16. b3 Rfe8
17. c4 Ne4
18. Bxe4 Rxe4
19. Re1 Rae8
20. Rxe4 Rxe4
21. cxd5 cxd5
22. Rc1 Qb8
23. Ng4 h5
24. Nh6 f6
25. Nxh5+ gxh5
26. Be3 Kg6
27. b4 Bxg3
28. Qf3 Bf4
29. b5 Bxh6
30. a4 Bxe3
31. fxe3 f5
32. Qg2+ Kh6
33. Rf1 f4
34. exf4 Rxf4
35. Qd2 Kg5
36. Qg2+ Kf5
37. h4 Rxf1+
38. Qxf1+ Qf4
39. Qd3+ Qe4
40. Qc3 Nf6
41. Qc7 Qxd4+
42. Kg2 Qe4+
43. Kf2 d4
44. a5 bxa5
45. Qc5+ Bd5
46. Qxa7 Ng4+
47. Kf1 Qg2+
48. Ke1 Bf3
49. Qf7+ Ke4
50. Qe7+ Kd3
51. Qh7+ Be4
52. Qxh5 Qe2#

User avatar
CMCanavessi
Posts: 930
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: LCZero update

Post by CMCanavessi » Wed Mar 28, 2018 4:21 pm

nabildanial wrote:
CMCanavessi wrote:-p 0 and --noponder are useless (ponder is not supported yet)

You could try lczero.exe -n -w latest --threads X

where X would be 2, 3, 4 or whatever gives the best GPU usage. Just test and see how you get best performance.
But without -p 0 --noponder, Leela just stops at 800 nodes every time. I don't want it to stop thinking at any nodes.
But that happens if you have a prehistoric version! Get a newer lczero.exe here: https://ci.appveyor.com/project/glinsco ... /artifacts
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

Post Reply