- Blind mode tutorial
lichess.org
Donate

Loading the chess engine in analysis mode is a PITA, why?

mcgoves - NNUE network file, the webassembly binaries, and temp local moves are cached in different object stores so "Clear Moves" will not affect the cached nnue network or stockfishes, but clearing the browser cache will indeed wipe them all as you guessed. A subsequent download of the (tiny) stockfish wasms and (if NNUE) the relatively large NNUE file will not be triggered until your next page refresh.

In other words: After clearing your browser cache, any analysis move you make prior to reloading will potentially spin indefinitely. This is pretty much expected, though maybe not pretty.

mcgoves - NNUE network file, the webassembly binaries, and temp local moves are cached in different object stores so "Clear Moves" will not affect the cached nnue network or stockfishes, but clearing the browser cache will indeed wipe them all as you guessed. A subsequent download of the (tiny) stockfish wasms and (if NNUE) the relatively large NNUE file will not be triggered until your next page refresh. In other words: After clearing your browser cache, any analysis move you make prior to reloading will potentially spin indefinitely. This is pretty much expected, though maybe not pretty.

I used "Clear Moves" in my test, which somehow disrupted the engine.

I used "Clear Moves" in my test, which somehow disrupted the engine.

"Clear Moves" in Windows 10/Firefox also causes an engine reload, but that finishes quickly.

"Clear Moves" in Windows 10/Firefox also causes an engine reload, but that finishes quickly.

The UI says "loading engine" when it is not actually loading. It's just waiting on results after submitting moves to stockfish. You can tell when it's actually downloading because it will have a progress indicator in megabytes. Lichess should probably change that "Loading engine ..." string, eh?

If you are seeing stockfish hang after clicking Clear Moves, that is definitely a bug and needs to be in github.

The UI says "loading engine" when it is not actually loading. It's just waiting on results after submitting moves to stockfish. You can tell when it's actually downloading because it will have a progress indicator in megabytes. Lichess should probably change that "Loading engine ..." string, eh? If you are seeing stockfish hang after clicking Clear Moves, that is definitely a bug and needs to be in github.

This topic has been archived and can no longer be replied to.