Commit 0e94243e authored by duanjinfei's avatar duanjinfei

updage model container start gpu driver

parent 3e86446d
...@@ -185,7 +185,7 @@ func (d *DockerOp) CreateContainer(imageName string, dockerCmd *models.DockerCmd ...@@ -185,7 +185,7 @@ func (d *DockerOp) CreateContainer(imageName string, dockerCmd *models.DockerCmd
DeviceRequests: []container.DeviceRequest{ DeviceRequests: []container.DeviceRequest{
{ {
Driver: "nvidia", Driver: "nvidia",
Count: -1, // -1 means all GPUs Count: 1, // -1 means all GPUs
}, },
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment