In UpdateTFE_ContextWithServerDef(), call GrpcServer::Start() after all other initialization.
In UpdateTFE_ContextWithServerDef(), call GrpcServer::Start() after all other initialization.

Currently, GrpcServer does not support clean shutdown and destruction after GrpcServer::Start() is called, and logs a FATAL error in this case. In UpdateTFE_ContextWithServerDef(), there are several cases where a method can fail (e.g. due to invalid user input), and we attempt to destroy the created GrpcServer before returning. By deferring the call to GrpcServer::Start(), we can return an error to the client without crashing their process.

PiperOrigin-RevId: 262638388

ppwwyyxx/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,jhseu/tensorflow,renyi533/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,gautam1858/tensorflow,arborh/tensorflow,gunan/tensorflow,gunan/tensorflow,xzturn/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,Intel-Corporation/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,renyi533/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,freedomtan/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,chemelnucfin/tensorflow,aam-at/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,aam-at/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,xzturn/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,freedomtan/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,gunan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,annarev/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,xzturn/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,jhseu/tensorflow,petewarden/tensorflow,renyi533/tensorflow,xzturn/tensorflow,annarev/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,gunan/tensorflow,yongtang/tensorflow,arborh/tensorflow,aldian/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,arborh/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,aldian/tensorflow,tensorflow/tensorflow,gunan/tensorflow,tensorflow/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,arborh/tensorflow,annarev/tensorflow,aldian/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,jhseu/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,arborh/tensorflow,petewarden/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,xzturn/tensorflow,aam-at/tensorflow,jhseu/tensorflow,arborh/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,annarev/tensorflow,karllessard/tensorflow,arborh/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ppwwyyxx/tensorflow,annarev/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,aam-at/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,aldian/tensorflow,freedomtan/tensorflow,arborh/tensorflow,aam-at/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,xzturn/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow