From 80613334b779705a474ed7bb5329bc004e0060b7 Mon Sep 17 00:00:00 2001 From: 404988613 <86900071+404988613@users.noreply.github.com> Date: Sun, 12 Mar 2023 13:46:16 +0800 Subject: [PATCH 1/2] Update interpreter_util.cc --- .../framework/new_executor/interpreter/interpreter_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc b/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc index b4e6d8a7d12bc1..8df91659dde949 100644 --- a/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc +++ b/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc @@ -94,7 +94,7 @@ static std::set OpsNeedSetOutputDtypeWhenRegisterPhiKernel = { "unique", "unique_consecutive_flattened_tensor", "unique_raw", - "viterbi_devode"}; + "viterbi_decode"}; // These Ops can use InferMeta to infer the output dtype static std::set OpsWithAvailablePhiInferMeta = { From 50d789fea8aea3ce4f0713b59050b6f6ed6d2469 Mon Sep 17 00:00:00 2001 From: 404988613 <86900071+404988613@users.noreply.github.com> Date: Sun, 12 Mar 2023 19:30:56 +0800 Subject: [PATCH 2/2] Update interpreter_util.cc --- .../framework/new_executor/interpreter/interpreter_util.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc b/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc index 8df91659dde949..ecb2f124e3fe4a 100644 --- a/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc +++ b/paddle/fluid/framework/new_executor/interpreter/interpreter_util.cc @@ -93,8 +93,7 @@ static std::set OpsNeedSetOutputDtypeWhenRegisterPhiKernel = { "sync_batch_norm_grad", "unique", "unique_consecutive_flattened_tensor", - "unique_raw", - "viterbi_decode"}; + "unique_raw"}; // These Ops can use InferMeta to infer the output dtype static std::set OpsWithAvailablePhiInferMeta = {