mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
add gpu support (#27427)
add gpu support Signed-off-by: Sheldon <chuanfeng.liu@zilliz.com>
This commit is contained in:
parent
5dbcdf777d
commit
217e5224db
@ -28,10 +28,16 @@ queryCoordinator:
|
||||
queryNode:
|
||||
nodeSelector:
|
||||
nvidia.com/gpu.present: 'true'
|
||||
extraEnv:
|
||||
- name: CUDA_VISIBLE_DEVICES
|
||||
value: "0,1"
|
||||
resources:
|
||||
requests:
|
||||
nvidia.com/gpu: 2
|
||||
cpu: "0.5"
|
||||
memory: "500Mi"
|
||||
limits:
|
||||
nvidia.com/gpu: 2
|
||||
|
||||
indexCoordinator:
|
||||
nodeSelector:
|
||||
@ -44,10 +50,16 @@ indexCoordinator:
|
||||
indexNode:
|
||||
nodeSelector:
|
||||
nvidia.com/gpu.present: 'true'
|
||||
extraEnv:
|
||||
- name: CUDA_VISIBLE_DEVICES
|
||||
value: "0,1"
|
||||
resources:
|
||||
requests:
|
||||
nvidia.com/gpu: 2
|
||||
cpu: "0.5"
|
||||
memory: "500Mi"
|
||||
limits:
|
||||
nvidia.com/gpu: 2
|
||||
|
||||
dataCoordinator:
|
||||
nodeSelector:
|
||||
|
Loading…
Reference in New Issue
Block a user