Ponder Results in Multiple Lc0 Instances Being Created
Hi,
I'm not sure why this is happening, but when I have ponder on, lichess-bot creates multiple instances of Lc0 running in the background. This results in situations where it's unable to close one for some reason, and it ends up eating my VRAM and system memory.
I would love to keep it on so that it has a chance at bullet games, but with the current issue, that isn't possible.
Can you post the configuration file in the lichess_bot_auto_logs directory? Or, if that doesn't exist, post your config.yml file while taking care to delete the token.
I ran lc0 on my computer with your configuration file after turning on pondering. I did not see multiple instances of lc0 running. Maybe it has something do do with a setting in the uci_options: ConfigFile. Can you post that file? If you have logs from when the multiple engines start up, those would probably help, too.
Also, the pgn_directory and pgn_file_grouping should be unindented to remove them from the greeting section. They don't do anything the way they are.
I noticed this behaviour after several games had occurred. In the task manager, you can typically see one lc0 within the lichess-bot Python instances and one lc0 outside of it as a standalone. The one inside the lichess-bot Python instances would typically run at a higher memory usage compared to the standalone one at the beginning of the game, where it's using an opening book.