We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5537529 commit 496d315Copy full SHA for 496d315
src/olmo_core/distributed/checkpoint/__init__.py
@@ -201,6 +201,9 @@ def load_model_and_optim_state(
201
metadata = reader.read_metadata()
202
for current_key, original_key in key_mapping.items():
203
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
+ )
207
state_dict[original_key] = state_dict.pop(current_key)
208
209
dist_cp.load(
0 commit comments