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 c912785 commit 7408299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orttraining/orttraining/core/framework/checkpointing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Status LoadModelCheckpoint(
ORT_RETURN_IF_ERROR(Env::Default().GetCanonicalPath(
checkpoint_path, checkpoint_canonical_path));

Path relative_tensors_data_path_obj = std::filesystem::relative(
std::filesystem::path relative_tensors_data_path_obj = std::filesystem::relative(
model_directory_canonical_path,
GetCheckpointTensorsDataFilePath(checkpoint_canonical_path));
ORT_RETURN_IF_ERROR(UpdateTensorsExternalDataLocations(
Expand Down

0 comments on commit 7408299

Please sign in to comment.