Spatial analysis image not running on my azure iotedge device

Joseph Sowah 1 Reputation point
2022-01-28T12:44:57.793+00:00

Spatial Analysis image is not running on my azure IoT edge device after running the deployment manifest file.

I am using a general purpose vm, I couldn't get a vm with GPU under the free tier.
As part of the tutorial I had to install NVIDIA driver from the extension and marketplace, but the status shows that it's not supported

[Saving spatialanalysis to store]\n)"] failed.
Microsoft.Azure.Devices.Edge.Agent.Edgelet.EdgeletCommunicationException- Messa                                                                                                     ge:Error calling start module spatialanalysis: Could not start module spatialan                                                                                                     alysis
        caused by: Could not start module spatialanalysis
        caused by: OCI runtime create failed: container_linux.go:380: starting                                                                                                      container process caused: process_linux.go:545: container init caused: Running                                                                                                      hook #1:: error running hook: exit status 1, stdout: , stderr: nvidia-container                                                                                                     -cli: initialization error: nvml error: driver not loaded: unknown, StatusCode:                                                                                                     500, at:   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.Version_2019_11_05.Mod                                                                                                     uleManagementHttpClient.HandleException(Exception exception, String operation)                                                                                                      in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgele                                                                                                     t/version_2019_11_05/ModuleManagementHttpClient.cs:line 223
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
575 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 32,726 Reputation points MVP
    2022-01-30T13:07:42.217+00:00

    Hello @Joseph Sowah ,

    I looked up the documentation and the tutorial to run it on a VM:

    To run the Spatial Analysis container, you need a compute device with a NVIDIA Tesla T4 GPU

    That's why the installation of the NVIDIA software fails on a generic VM.

    The suggested NC60 offers access to one of these T4 GPUs.

    This requirement is repeated in the official blog.

    The alternatives are running the logic on a desktop PC with the right GPU card or an Azure Stack Edge device.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.