Skip to content

Commit

Permalink
Fix syntax for Multi-GPU training
Browse files Browse the repository at this point in the history
Fixing the example for Multi-GPU training. The property resources needs to be a child property of the container.
  • Loading branch information
kaiserdan authored Nov 11, 2024
1 parent 4e24760 commit fa8eb05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,12 @@ spec:
template:
spec:
containers:
- resources:
- name: ...
# ...
resources:
limits:
nvidia.com/gpu: 2

```

## Requesting specific GPUs
Expand Down

0 comments on commit fa8eb05

Please sign in to comment.