mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-24 15:27:51 -05:00
fix: make sure to add cpu to number
Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
@@ -426,7 +426,7 @@ def build_command(
|
||||
labels = {'library': 'vllm'}
|
||||
service_config = dict(
|
||||
resources={
|
||||
'gpu' if device else 'cpu': len(device) if device else 'cpu_count',
|
||||
'gpu' if device else 'cpu': len(device) if device else '1',
|
||||
'gpu_type': recommended_instance_type(model_id, bentomodel),
|
||||
},
|
||||
traffic=dict(timeout=timeout),
|
||||
|
||||
Reference in New Issue
Block a user