MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / set_runtime_thread_num

Method set_runtime_thread_num

python/paddle_serving_server/server.py:206–207  ·  view source on GitHub ↗
(self, runtime_thread_num)

Source from the content-addressed store, hash-verified

204 self.gpuid = format_gpu_to_strlist(gpuid)
205
206 def set_runtime_thread_num(self, runtime_thread_num):
207 self.runtime_thread_num = runtime_thread_num
208
209 def set_batch_infer_size(self, batch_infer_size):
210 self.batch_infer_size = batch_infer_size

Callers 3

default_rpc_serviceMethod · 0.95
start_gpu_card_modelFunction · 0.95
test_write_confFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_write_confFunction · 0.64