Giter Club home page Giter Club logo

Comments (13)

Torom avatar Torom commented on June 9, 2024

You say the error has already occurred several times?

Can you confirm that it is an unmodified variant of Stockfish?

I'll explain how far I understand the error so far: BotLi doesn't let the engine continue pondering when it starts using syzygy or gaviota. The idea is that the engine doesn't continue pondering unnecessarily when it's not being used anyway. This is of course not so important in a bullet game, but in longer games it can be several minutes. To do this BotLi lets the engine analyze the start position for 1 ms without pondering. And this is where the error seems to happen. That's why python-chess expects an answer to the analysis of the start position, but in your case it gets the analysis of a completely different position.

from botli.

EmptikBest avatar EmptikBest commented on June 9, 2024

Yep, it is a unmodified variant of Stockfish, git cloned from https://github.com/official-stockfish/Stockfish.git and compiled by the following commands:

cd Stockfish/src
make -j profile-build ARCH=x86-64-bmi2 COMP=mingw

from botli.

Torom avatar Torom commented on June 9, 2024

You say the error has already occurred several times?

?

from botli.

EmptikBest avatar EmptikBest commented on June 9, 2024

Yes... For the past 4 days I have kept either of my bots (EmptikBot, Emptik-AI, Emptik-AI-2) online overnight, and in the morning same thing..

from botli.

Torom avatar Torom commented on June 9, 2024

At the moment I have no idea why this is happening to you. My wild guess is maybe it has something to do with Windows and that's why it's not happening to me. On the other hand, you are probably not the only one using BotLi on Windows.

from botli.

ttBOT-on-Lichess avatar ttBOT-on-Lichess commented on June 9, 2024

Yes I use BotLi on Windows and it didn't happen to me...

from botli.

EmptikBest avatar EmptikBest commented on June 9, 2024

Happened again, seems to only happen when Syzygy starts being used...

Engine:  39.  Re7       +199.57     75/34      Nodes:  12.6 M     NPS:  38.4 M     MT: 00:00.3     Hash:   0.3 %     TB: 252.2 k
Engine:  40.  Rxg7      +199.71     41/46      Nodes:   8.8 M     NPS:  25.3 M     MT: 00:00.3     Hash:   0.4 %     TB: 437.1 k
HTTPSConnectionPool(host='tablebase.lichess.ovh', port=443): Read timed out. (read timeout=1)
Engine:  41.  Re7       +199.87     43/50      Nodes:   9.9 M     NPS:  29.9 M     MT: 00:00.3     Hash:   0.7 %     TB: 588.9 k
HTTPSConnectionPool(host='tablebase.lichess.ovh', port=443): Read timed out. (read timeout=1)
Engine:  42.  Kf2       +199.89     43/16      Nodes:  48.9 M     NPS:  29.1 M     MT: 00:01.7     Hash:   1.8 %     TB:   3.0 M
HTTPSConnectionPool(host='tablebase.lichess.ovh', port=443): Read timed out. (read timeout=1)
Engine:  43.  Ra7       +199.91     47/43      Nodes:  10.5 M     NPS:  29.7 M     MT: 00:00.4     Hash:   0.6 %     TB: 701.6 k
EGTB:    44.  Ke2           win     DTZ: 4
EGTB:    45.  Ke1           win     DTZ: 2
HTTPSConnectionPool(host='tablebase.lichess.ovh', port=443): Read timed out. (read timeout=1)
Engine:  46.  Rxa6      +199.99     41/39      Nodes:   3.3 M     NPS:  36.2 M     MT: 00:00.1     Hash:   0.5 %     TB: 189.1 k
Syzygy:  47.  Rd6           win     DTZ: 8
ERROR:chess.engine:Exception parsing pv from info: 'depth 28 seldepth 56 multipv 1 score cp 20000 nodes 45327926 nps 45282643 hashfull 13 tbhits 20 time 1001 pv a6a5 b1c3 e1d2 c3e4 d2d3 e4c5 d3c3 b5b4 c3b4 c5e6 a5a2 f4g4 c2c3 e6c7 c3c4 g4h3 a2a5 h3g4 a5a7 c7e6 a7a6 e6f4 a6d6 g4f5 c4c5 f5e5 d6d2 f4g6 d2d7 e5f4 d7d4 f4f3 d4d6 g6e7', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 29 seldepth 37 multipv 1 score cp 20000 nodes 46525504 nps 45346495 hashfull 13 tbhits 20 time 1026 pv a6a5 b1c3 e1d2 c3e4 d2d3 e4c5 d3c3 b5b4 c3b4 c5e6 a5a2 f4g4 c2c3 e6c7 c3c4 g4h3 a2a5 h3g4 a5a7 c7e6 a7e7 e6d8 e7d7 d8c6 b4b5 c6e5 d7d5 e5f3 d5d6 f3h2 c4c5 g4f5 c5c6', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 30 seldepth 43 multipv 1 score cp 20000 nodes 47034631 nps 45400222 hashfull 13 tbhits 20 time 1036 pv a6a5 b1c3 e1d2 c3e4 d2d3 e4c5 d3c3 b5b4 c3b4 c5e6 a5a2 f4g4 c2c3 e6c7 c3c4 g4h3 a2a5 h3g4 a5a7 c7e6 a7d7 g4g3 d7d6 e6c7 c4c5 g3f3 b4c4 c7e8 d6d7 f3g4 d7b7 g4f3', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
Syzygy:  48.  Rd3           win     DTZ: 6
Syzygy:  49.  Ke2           win     DTZ: 4

Could be that 6-man Syzygy takes up too much ram (I have 32GB) and the engine crashes due to that?

At this point, the position is at Depth 113, engine is still running..

ERROR:chess.engine:Exception parsing pv from info: 'depth 106 seldepth 58 multipv 1 score mate 29 nodes 359539108165 nps 103850426 hashfull 962 tbhits 20 time 3462086 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 c2c3 c7d6 c3c4 d6c7 b5c5 c7d7 c5b6 d7d8 b6b7 d8e7 c4c5 e7e6 c5c6 e6f5 c6c7 f5e4 b7c6 e4e3 c7c8q e3f4 c6d5 f4e3 c8g4 e3d2 g4d4 d2e1 d5e4 e1f1 d4d2 f1g1 e4f3 g1f1 d2c1', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 107 seldepth 58 multipv 1 score mate 29 nodes 444580671239 nps 104318169 hashfull 971 tbhits 20 time 4261776 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 c2c3 c7d6 c3c4 d6c7 b5c5 c7d7 c5b6 d7d8 b6b7 d8e7 c4c5 e7e6 c5c6 e6f5 c6c7 f5e4 b7c6 e4e3 c7c8q e3f4 c6d5 f4e3 c8g4 e3d2 g4d4 d2e1 d5e4 e1f1 d4d2 f1g1 e4f3 g1f1 d2c1', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 108 seldepth 58 multipv 1 score mate 29 nodes 464238123944 nps 104414706 hashfull 973 tbhits 20 time 4446099 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 b5c5 c7d7 c5b6 d7d8 c2c4 d8d7 c4c5 d7c8 b6c6 c8d8 c6b7 d8d7 c5c6 d7e6 c6c7 e6d5 c7c8q d5e4 b7c6 e4e3 c8g4 e3f2 c6d5 f2e3 d5c4 e3d2 g4f4 d2d1 c4d3 d1e1 f4f6 e1d1 f6f1', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 109 seldepth 58 multipv 1 score mate 29 nodes 626411721313 nps 105145383 hashfull 984 tbhits 20 time 5957577 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 b5c5 c7d7 c5b6 d7d8 c2c4 d8d7 c4c5 d7c8 b6c6 c8d8 c6b7 d8d7 c5c6 d7e6 c6c7 e6d5 c7c8q d5e4 b7c6 e4e3 c8g4 e3f2 c6d5 f2e3 d5c4 e3d2 g4f4 d2d1 c4d3 d1e1 f4f6 e1d1 f6f1', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 110 seldepth 58 multipv 1 score mate 29 nodes 626721677683 nps 105146687 hashfull 984 tbhits 20 time 5960451 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 b5c5 c7d7 c5b6 d7d8 c2c4 d8d7 c4c5 d7c8 b6c6 c8d8 c6b7 d8d7 c5c6 d7e7 c6c7 e7f6 c7c8q f6g5 c8f8 g5g4 b7c6 g4g3 c6d5 g3g2 d5e4 g2g3 f8f3 g3h2 f3g4 h2h1 e4f3 h1h2 g4g2', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 111 seldepth 58 multipv 1 score mate 29 nodes 726725467562 nps 105822858 hashfull 986 tbhits 20 time 6867377 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 b5c5 c7d7 c5b6 d7d8 c2c4 d8d7 c4c5 d7c8 b6c6 c8d8 c6b7 d8d7 c5c6 d7e7 c6c7 e7f6 c7c8q f6g5 c8f8 g5g4 b7c6 g4g3 c6d5 g3g2 d5e4 g2g3 f8f3 g3h2 f3g4 h2h1 e4f3 h1h2 g4g2', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 112 seldepth 58 multipv 1 score mate 29 nodes 750673541412 nps 105889022 hashfull 987 tbhits 20 time 7089248 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 b5c5 c7d7 c5b6 d7d8 c2c4 d8d7 c4c5 d7c8 b6c6 c8d8 c6b7 d8d7 c5c6 d7e7 c6c7 e7f6 c7c8q f6g5 c8f8 g5g4 b7c6 g4g3 c6d5 g3g2 d5e4 g2g3 f8f3 g3h2 f3g4 h2h1 e4f3 h1h2 g4g2', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
ERROR:chess.engine:Exception parsing pv from info: 'depth 113 seldepth 58 multipv 1 score mate 29 nodes 863234907412 nps 105880289 hashfull 990 tbhits 20 time 8152933 pv a6a1 b1c3 e1d2 c3d5 a1b1 d5c7 d2c3 f4e5 c3b4 e5d5 b1h1 d5c6 h1h6 c6d5 h6h7 c7e8 h7e7 e8d6 e7d7 d5e5 d7d6 e5d6 b4b5 d6c7 b5c5 c7d7 c5b6 d7d8 c2c4 d8d7 c4c5 d7c8 b6c6 c8d8 c6b7 d8d7 c5c6 d7e7 c6c7 e7f6 c7c8q f6g5 c8f8 g5g4 b7c6 g4g3 c6d5 g3g2 d5e4 g2g3 f8f3 g3h2 f3g4 h2h1 e4f3 h1h2 g4g2', position at root: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

Any idea on why this could be happening? Does my PC (32GB) not have enough RAM to handle 6 Man Syzygy or anything? Seems to be only recently happening after I implemented 6 man..

from botli.

Torom avatar Torom commented on June 9, 2024

Seems to be only recently happening after I implemented 6 man..

That's an interesting information. Maybe you don't have all 6 men tablebases and I don't handle that correctly in BotLi? That's something I will check when I'm back home.

It has nothing to do with the hash, the engine isn't crashing it is just not in sync with python-chess.

from botli.

EmptikBest avatar EmptikBest commented on June 9, 2024

Seems to be only recently happening after I implemented 6 man..

That's an interesting information. Maybe you don't have all 6 men tablebases and I don't handle that correctly in BotLi? That's something I will check when I'm back home.

It has nothing to do with the hash, the engine isn't crashing it is just not in sync with python-chess.

Nope,

I have all the 6 man tablebases..
image
My 5 man is in another directory also linked..
image
image

from botli.

Torom avatar Torom commented on June 9, 2024

You could check the correctness of the files with the md5sum file.

from botli.

EmptikBest avatar EmptikBest commented on June 9, 2024

I did, and the Syzygy works too..

from botli.

IbaiBuR avatar IbaiBuR commented on June 9, 2024

At this point if 6 man is giving such problems you can try with 5 man and check if the problem persists. I use BotLi both on Linux and Windows and never had a similar problem...

Actually there is not even a 1 elo benefit since NNUE era to use 6 man, thats why I make this suggestion...

Instead of 150 GB, 5 man are only 1 GB and you can use online 7 man syzygy....

from botli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.