correct podman device
This commit is contained in:
parent
46c4752395
commit
afc6e7c94c
3 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ in
|
|||
ports = [ "${toString port}:${toString port}" ]; # expose port
|
||||
|
||||
extraOptions = [
|
||||
# "--runtime=nvidia"
|
||||
"--device nvidia.com/gpu=all"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ in
|
|||
];
|
||||
|
||||
extraOptions = [
|
||||
"--runtime=nvidia"
|
||||
"--device nvidia.com/gpu=all"
|
||||
];
|
||||
|
||||
environment = {
|
||||
|
|
|
@ -43,7 +43,7 @@ in
|
|||
# all usb devices, such as coral tpu
|
||||
"--device=/dev/bus/usb"
|
||||
"--network=host"
|
||||
"--runtime=nvidia"
|
||||
"--device nvidia.com/gpu=all"
|
||||
];
|
||||
|
||||
environment = {
|
||||
|
|
Loading…
Reference in a new issue