mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 13:17:12 +00:00
Reduce the amount of sfens buffered for the validation step.
Used to be 10M, now we bound it by a multiple of validation_count, and at most 1M. This reduces the RAM usage greatly.
This commit is contained in:
+1
-1
@@ -576,7 +576,7 @@ namespace Learner
|
||||
SfenReaderMode::Cyclic,
|
||||
1,
|
||||
std::to_string(prng.next_random_seed()),
|
||||
prm.sfen_read_size,
|
||||
std::min<size_t>(prm.validation_count * 10, 1000000),
|
||||
prm.thread_buffer_size),
|
||||
learn_loss_sum{}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user