Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jun 12, 2024
1 parent fb70965 commit ee284cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orttraining/orttraining/training_api/module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ Status Module::ExportModelForInferencing(const std::string& inference_model_path
ORT_THROW_IF_ERROR(
Model::SaveWithExternalInitializers(*inference_model, inference_model_pathstring, external_data_name, 64));
} else {
ORT_THROW_IF_ERROR(Model::Save(*inference_model, inference_model_path));
ORT_THROW_IF_ERROR(Model::Save(*inference_model, ToPathString(inference_model_path)));
}
// Save the model at the desired location.
return Status::OK();
Expand Down

0 comments on commit ee284cb

Please sign in to comment.