HaileyStorm
commited on
Update chess-mamba-vs-xformer/train_bygame.py
Browse files
chess-mamba-vs-xformer/train_bygame.py
CHANGED
@@ -527,9 +527,6 @@ while True:
|
|
527 |
'config': config,
|
528 |
}
|
529 |
checkpoint['grad_norm_history'] = grad_norm_history
|
530 |
-
if init_from == 'anneal':
|
531 |
-
checkpoint['anneal_start_iters'] = anneal_start_iters
|
532 |
-
checkpoint['anneal_decay_iters'] = anneal_decay_iters
|
533 |
print(f"Max_iters reached. Saving pre-anneal checkpoint to {anneal_checkpoint}")
|
534 |
torch.save(checkpoint, os.path.join(out_dir, anneal_checkpoint))
|
535 |
break
|
|
|
527 |
'config': config,
|
528 |
}
|
529 |
checkpoint['grad_norm_history'] = grad_norm_history
|
|
|
|
|
|
|
530 |
print(f"Max_iters reached. Saving pre-anneal checkpoint to {anneal_checkpoint}")
|
531 |
torch.save(checkpoint, os.path.join(out_dir, anneal_checkpoint))
|
532 |
break
|