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

Method set_gpu_memory_mb

python/paddle_serving_server/server.py:296–297  ·  view source on GitHub ↗
(self, gpu_memory_mb)

Source from the content-addressed store, hash-verified

294 self.trt_dynamic_shape_info = info
295
296 def set_gpu_memory_mb(self, gpu_memory_mb):
297 self.gpu_memory_mb = gpu_memory_mb
298
299 def set_cpu_math_thread_num(self, cpu_math_thread_num):
300 self.cpu_math_thread_num = cpu_math_thread_num

Callers 1

start_gpu_card_modelFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected