Skip to content

Commit

Permalink
Add keyword "_partitioned_" into the partition graph dump filename
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 631470588
  • Loading branch information
tensorflower-gardener committed May 7, 2024
1 parent 5f1eb4d commit 2db5012
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,8 @@ Status ProcessFunctionLibraryRuntime::InstantiateMultiDevice(
// Generate a random function_name to avoid one function reuse the partition
// function instantiated by another function.
FunctionNameGenerator name_generator(
&data_lib_def, absl::StrCat(function_name, "_", random::New64()));
&data_lib_def,
absl::StrCat(function_name, "_partitioned_", random::New64()));
const int num_subgraphs = subgraphs->size();
gtl::InlinedVector<Status, 4> instantiate_status(num_subgraphs);

Expand Down

0 comments on commit 2db5012

Please sign in to comment.