From 45a2dbfab5d75ffb429e433f3b5fc550f14f48be Mon Sep 17 00:00:00 2001 From: isabella618033 Date: Tue, 12 May 2026 16:11:20 +0000 Subject: [PATCH] validator: skip global_state.pt on resume Drop outer_scaler from the validator's load_checkpoint call so the resume path no longer reads global_state.pt. load_checkpoint gates the global_state.pt read on scheduler/inner_scaler/outer_scaler being non-None; the validator passes none of those, so the function now returns -1 from the early branch and only restores outer_optimizer and the dataloader. Miner is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) --- connito/validator/run.py | 1 - 1 file changed, 1 deletion(-) diff --git a/connito/validator/run.py b/connito/validator/run.py index ea4bd36..f4b773c 100644 --- a/connito/validator/run.py +++ b/connito/validator/run.py @@ -371,7 +371,6 @@ def setup_training( config=config, checkpoint_path=latest_checkpoint_path, outer_optimizer=outer_optimizer, - outer_scaler=outer_scaler, rank=rank, device=device, data_loader=train_dataloader,