neuralmagic / deepsparse

Sparsity-aware deep learning inference runtime for CPUs
https://neuralmagic.com/deepsparse/
Other
3k stars 175 forks source link

Unable to install deepsparse #494

Closed manish33scss closed 2 years ago

manish33scss commented 2 years ago

trying : pip install sparseml[torchvision] deepsparse got the following error,

deep_error

PS: Used in new env as well, same error , although this command works fine in colab. Help me out, what am i missing here ?

bfineran commented 2 years ago

hi @manish33scss could you provide information on your operating system and CPU? It looks like you may be on Windows, if that is the case, deepsparse is currently only compiled for Linux and running in a docker container may be a preferred pathway

manish33scss commented 2 years ago

Yes i am using windows, and will it work on jetson nano ?

bfineran commented 2 years ago

so for windows as mentioned above using a docker container will be the best supported pathway (see https://github.com/neuralmagic/deepsparse/tree/main/docker for an example).

For jetson nano, the CPU is ARM based which deepsparse does not currently support, but this is on the near term roadmap. SparseML could still be used however to create smaller models for deployment on edge devices such as the jetson.

bfineran commented 2 years ago

Marking as complete for now, let us know if you have any other questions.

montmejat commented 2 years ago

so for windows as mentioned above using a docker container will be the best supported pathway (see https://github.com/neuralmagic/deepsparse/tree/main/docker for an example).

For jetson nano, the CPU is ARM based which deepsparse does not currently support, but this is on the near term roadmap. SparseML could still be used however to create smaller models for deployment on edge devices such as the jetson.

Do you have an idea when this could be released? This could be great for embedded devices (BeagleBone AI-64 or Raspberry Pi 4 for example)! Anyways, if there's a way to get updated about this, I'll definitely be interested. Thanks :smile:

robertgshaw2-neuralmagic commented 2 years ago

We are actively working on ARM for DeepSparse. We are very close to finishing server-grade ARM devices (AWS Graviton/Ampere for instance) and are then pivoting quickly to focus on embedded devices and are looking for design partners to provide input on the roadmap. Please reachout to me here or at rshaw@neuralmagic.com if interested in discussing further.