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
|
ports = [ "${toString port}:${toString port}" ]; # expose port
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
# "--runtime=nvidia"
|
"--device nvidia.com/gpu=all"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--runtime=nvidia"
|
"--device nvidia.com/gpu=all"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|
|
@ -43,7 +43,7 @@ in
|
||||||
# all usb devices, such as coral tpu
|
# all usb devices, such as coral tpu
|
||||||
"--device=/dev/bus/usb"
|
"--device=/dev/bus/usb"
|
||||||
"--network=host"
|
"--network=host"
|
||||||
"--runtime=nvidia"
|
"--device nvidia.com/gpu=all"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|
Loading…
Reference in a new issue