Skip to content

Commit

Permalink
Limit 1 gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jan 26, 2024
1 parent 396b522 commit 274fe04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/infra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ template:
- name: dshm
mountPath: /dev/shm
resources:
limits:
requests:
nvidia.com/gpu: 1 # requesting 1 GPU
limits:
nvidia.com/gpu: 1 # limiting 1 GPU
volumes:
- name: nvidia-lib
hostPath:
Expand Down

0 comments on commit 274fe04

Please sign in to comment.