mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Parse reservation.devices for GPU requests
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
c6cdfec530
commit
fef73b8af3
4 changed files with 48 additions and 4 deletions
|
|
@ -108,9 +108,9 @@ services:
|
|||
memory: 32Gb
|
||||
cpus: "32"
|
||||
generic_resources:
|
||||
- discrete_resource_spec:
|
||||
kind: gpus
|
||||
value: 2
|
||||
- discrete_resource_spec:
|
||||
kind: gpus
|
||||
value: 2
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue