Skip to content

Commit 496d315

Browse files
committed
logging
1 parent 5537529 commit 496d315

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/olmo_core/distributed/checkpoint/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ def load_model_and_optim_state(
201201
metadata = reader.read_metadata()
202202
for current_key, original_key in key_mapping.items():
203203
if original_key in metadata.state_dict_metadata:
204+
log.info(
205+
f"Mapping current key '{current_key}' to key '{original_key}' in checkpoint"
206+
)
204207
state_dict[original_key] = state_dict.pop(current_key)
205208

206209
dist_cp.load(

0 commit comments

Comments
 (0)