Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jun 29, 2024
1 parent 38f4511 commit 3ed8242
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions orttraining/orttraining/core/framework/checkpointing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ Status LoadModelCheckpoint(
checkpoint_path, checkpoint_canonical_path));

std::filesystem::path relative_tensors_data_path_obj = std::filesystem::relative(
model_directory_canonical_path,
GetCheckpointTensorsDataFilePath(checkpoint_canonical_path));
GetCheckpointTensorsDataFilePath(checkpoint_canonical_path), model_directory_canonical_path);
ORT_RETURN_IF_ERROR(UpdateTensorsExternalDataLocations(
relative_tensors_data_path_obj.native(), loaded_tensor_protos));
}
Expand Down

0 comments on commit 3ed8242

Please sign in to comment.