Skip to content

Commit a49ee22

Browse files
committed
fix a bug in prefetch
1 parent a77dfee commit a49ee22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/operators/detail/grpc_server.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class RequestPrefetch final : public RequestBase {
169169

170170
auto scope = request_->GetMutableLocalScope();
171171
auto invar = scope->FindVar(in_var_name);
172-
framework::Variable* outvar = scope->FindVar(out_var_name);
172+
framework::Variable* outvar = scope->Var(out_var_name);
173173

174174
request_handler_->Handle(in_var_name, scope, invar, &outvar, out_var_name);
175175

0 commit comments

Comments
 (0)