how to create a learning farm

Code, algorithms, languages, construction...
User avatar
deeds
Posts: 937
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: how to create a learning farm

Post by deeds » Sun Oct 30, 2022 6:21 pm

How to pause/resume the gauntlets ?
Cutechess does not allow it but we can slightly modify the command line to easily resume the gauntlet.
First, we need to convert our gauntlet into several mini tournaments.

From something like this :

Code: Select all

set opening=your_opening.pgn
cutechess-cli.exe -tournament gauntlet -engine conf="eman1" -engine conf="brainlearn1" -engine conf="shashchess1" -each option.Hash=1024 option.Threads=9 tc=120+2 -games 500 -openings file="%opening%.pgn" start=1 -pgnout "%opening% - eman1_vs_brainlearn1_shashchess1.pgn" fi -repeat -recover -concurrency 1 -maxmoves 200 -draw movenumber=40 movecount=5 score=10 -tb "c:\syzygy" -tbpieces 6 -event your_event -site your_site -ratinginterval 10
pause
to something like this :

Code: Select all

set opening=your_opening.pgn
cutechess-cli.exe -engine conf="eman1" -engine conf="brainlearn1" -each option.Hash=1024 option.Threads=9 tc=120+2 -games 500 -openings file="%opening%.pgn" start=1 -pgnout "%opening% - eman1_vs_brainlearn1.pgn" fi -repeat -recover -concurrency 1 -maxmoves 200 -draw movenumber=40 movecount=5 score=10 -tb "c:\syzygy" -tbpieces 6 -event your_event -site your_site -ratinginterval 10
cutechess-cli.exe -engine conf="eman1" -engine conf="shashchess1" -each option.Hash=1024 option.Threads=9 tc=120+2 -games 500 -openings file="%opening%.pgn" start=1 -pgnout "%opening% - eman1_vs_shashchess1.pgn" fi -repeat -recover -concurrency 1 -maxmoves 200 -draw movenumber=40 movecount=5 score=10 -tb "c:\syzygy" -tbpieces 6 -event your_event -site your_site -ratinginterval 10
copy "%opening% - eman1_vs_brainlearn1.pgn" + "%opening% - eman1_vs_shashchess1.pgn" "%opening% - eman1_vs_brainlearn1_shashchess1.pgn"
pause
Then :
- If the "eman1 vs brainlearn1" mini tournament is interrupted, just change "-games 500" to "-games xxx" where xxx is the number of remaining games and restart the command file.
- If the "eman1 vs shashchess1" mini tournament is interrupted, it means that the mini tournament "eman1 vs brainlearn1" was finished. So we have to comment its command line (rem cutechess-cli.exe...). Then just change "-games 500" to "-games xxx" where xxx is the number of remaining games and restart the command file.

User avatar
deeds
Posts: 937
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: how to create a learning farm

Post by deeds » Mon Oct 31, 2022 5:44 pm

For examples :

On a single Xeon E5-2695V4 (18C/36T) or on a dual Xeon E5-2660v3 (20C/40T), we can launch 4 gauntlets with 8 or 9 threads/engine :
Image

On an old Xeon E3-1275v2 (4C/8T), we can launch only 1 gauntlet with 7 threads/engine but we can use a GUI :
Image

User avatar
deeds
Posts: 937
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: how to create a learning farm

Post by deeds » Mon Jan 16, 2023 6:29 pm

typo error !

Please, don't add the ".pgn" to your opening name :
deeds wrote:
Sun Oct 30, 2022 6:15 pm

Code: Select all

set opening=your_opening
...

Post Reply