1

I am working on an IoTEdge Module with image detection capabilities. For the image processing/analysing I am using Detectron which needs to run in an docker nvidia runtime.

Is it possible to enable an nvidia runtime for IoTEdge Modules and Docker Moby and how? I am not able to figure out on how to make it work. There is an entry about the topic here, but I am still not able to get it work: https://github.com/moby/moby/issues/23917 https://github.com/NVIDIA/nvidia-docker/wiki/Internals

I figured out, how to get it work with Docker CE, unfortunatly, the documentation says, Moby is not supported by IoT Edge. I havn't found any sideeffects yet, but for production it would be nice to understand the impact.

4

1 回答 1

0

除了您指定的任何其他创建选项之外,您还可以尝试在 deployment.json 的创建选项中将运行时设置为 nvidia。

      "createOptions": {
        "HostConfig": {
          "runtime": "nvidia"
        }}
于 2019-01-10T18:01:25.370 回答