serving icon indicating copy to clipboard operation
serving copied to clipboard

ServerCore only support device_types::kMain type for resource tracker

Open sw2921 opened this issue 5 years ago • 1 comments

Currently I am trying to use server core for the model management, but from the code, ServerCore only create ResourceTracker with main memory (kMain) support. Do we consider adding the GPU(kGpu) device into resource tracker of ServerCore? Or do we have some alternatives to support main ram and gpu ram together in resource tracker?

sw2921 avatar Apr 12 '20 22:04 sw2921

i think we should track GPU resource usage under kGPU to help differentiate from main. monitoring tools can aggregate (sum/rates etc.) as desired.

netfs avatar May 01 '20 16:05 netfs

Has the gpu resource estimator been supported yet? I see a gpu device type is available here: const char* const kGpu = "gpu"; but when I do set_device(tensorflow::serving::device_types::kGpu) I get this error: tensorflow_serving/resources/ resource _util.cc:116] Invalid argument: Invalid resource allocation: Invalid device gpu

huijiao1120 avatar Nov 08 '22 22:11 huijiao1120

@sw2921,

GPU resource tracker for model server is tracked in kGpu as shown here. Please let us know if this issue can be closed.

@huijiao1120, Please make sure you have installed Tensorflow Serving for GPU and make sure the pre-requisites are met.

Thank you!

singhniraj08 avatar May 25 '23 07:05 singhniraj08

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar Jun 02 '23 02:06 github-actions[bot]

This issue was closed due to lack of activity after being marked stale for past 7 days.

github-actions[bot] avatar Jun 09 '23 02:06 github-actions[bot]