Hamid Shojanazeri 1 year ago
parent
commit
475e67b4ec
1 changed files with 0 additions and 2 deletions
  1. 0 2
      model_checkpointing/checkpoint_handler.py

+ 0 - 2
model_checkpointing/checkpoint_handler.py

@@ -328,8 +328,6 @@ def load_sharded_model_single_gpu(model,model_path):
                 no_dist=True,
             )
     
-    ck = state_dict["model"].keys()
-    print(f" checkpoint key len = {len(ck)} and \n keys =  {state_dict.keys()}")
     model.load_state_dict(state_dict["model"])
     
     print(f"Sharded state checkpoint loaded from {model_path}")