glinscott / leela-chess

**MOVED TO https://github.com/LeelaChessZero/leela-chess ** A chess adaption of GCP's Leela Zero
http://lczero.org
GNU General Public License v3.0
760 stars 299 forks source link

Leela plays only one move on playchess.com, then stops #538

Open chara1ampos opened 6 years ago

chara1ampos commented 6 years ago

I named the network weights.txt and Leela 0.8 can play on Fritz 14 against other engines. I am using the GPU version with an Nvidia Titan V, and even scored several draws and wins against Stockfish. But when playing online against other engines on playchess.com, Leela plays the first move, then the opponent plays the second move, and then the Leela engine stops working. She just does not play (the GPU load remains at zero), and Leela loses when the time runs out. This is a really bad bug, please fix.

chara1ampos commented 6 years ago

To clarify, the wins against stockfish happen with lc0-win-cudnn.exe. Only this executable (sort of) works with Fritz. When using lczero,exe (GPU or CPU version), the leela engine does not load at all on Fritz/Chessbase.

mooskagh commented 6 years ago

Which version of the engine do you use? There was a bug that caused hang, which was fixed in May 3rd build.

chara1ampos commented 6 years ago

@mooskagh I was using the May 2 version. I just tried your May 5 version, but the problem remains (when playing on playchess.com). Leela plays only one move, then stops.

This does not happen when you play locally with other engines in your computer.

chara1ampos commented 6 years ago

I used InBetween.exe to log errors. It produced this error file: logfile.log

It seems the error may have something to do with Ponder being enabled. Any idea how to disable it?

killerducky commented 6 years ago

We don't support ponder yet, you need to figure out how to disable it in your GUI.

chara1ampos commented 6 years ago

@killerducky There is currently no way to do that in the Fritz GUI. I tried passing the command -noponder to Leela via InBetween.exe, but then Fritz is unable to load the engine at all. So currently it seems impossible to get Leela to play on playchess.com against other engines. That's such a pity, as she is starting to become competitive (especially the lc0-win-cudnn.exe version).

The GUI controls the pondering, but whatever I do, if an engine does not ponder, when it is given the order to ponder by the GUI, it does not follow the UCI protocol. Also, an engine should only stop when given that command, not when it gets an unknown command.

I understand pondering is not yet supported, but in the mean time, is there a way to make Leela not quit when she is given the commands ponder or ponderhit? She could just do nothing, and then play normally when it is her turn. I think that should not be very difficult?