Browse Source

abandon using EXPERIMENTAL_DYNAMIC_PARTITION

tags/v1.2.0
lichun 3 years ago
parent
commit
de4c65bb94
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/graph/partition/dynamic_shape_partition.cc

+ 2
- 2
ge/graph/partition/dynamic_shape_partition.cc View File

@@ -57,7 +57,7 @@ static bool IsInExperimentalMode(const ComputeGraphPtr &root_graph) {
if (std::getenv("EXPERIMENTAL_DYNAMIC_PARTITION") == nullptr) { if (std::getenv("EXPERIMENTAL_DYNAMIC_PARTITION") == nullptr) {
return false; return false;
} else { } else {
GELOGE(FAILED, "In dynamic shape scene, model contains data type:"
GEEVENT("In dynamic shape scene, model contains data type:"
"DT_STRING/DT_RESOURCE/DT_STRING_REF may not be supported well " "DT_STRING/DT_RESOURCE/DT_STRING_REF may not be supported well "
"temporarily, please retry with \"unset EXPERIMENTAL_DYNAMIC_PARTITION\"."); "temporarily, please retry with \"unset EXPERIMENTAL_DYNAMIC_PARTITION\".");
break; break;
@@ -70,7 +70,7 @@ static bool IsInExperimentalMode(const ComputeGraphPtr &root_graph) {
if (std::getenv("EXPERIMENTAL_DYNAMIC_PARTITION") == nullptr) { if (std::getenv("EXPERIMENTAL_DYNAMIC_PARTITION") == nullptr) {
return false; return false;
} else { } else {
GELOGE(FAILED, "In dynamic shape scene, model contains data type:"
GEEVENT("In dynamic shape scene, model contains data type:"
"DT_STRING/DT_RESOURCE/DT_STRING_REF may not be supported well " "DT_STRING/DT_RESOURCE/DT_STRING_REF may not be supported well "
"temporarily, please retry with \"unset EXPERIMENTAL_DYNAMIC_PARTITION\"."); "temporarily, please retry with \"unset EXPERIMENTAL_DYNAMIC_PARTITION\".");
break; break;


Loading…
Cancel
Save