Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.48 KB

installation.md

File metadata and controls

47 lines (32 loc) · 1.48 KB

DeepSparse Installation

DeepSparse is tested on Python 3.8-3.11, ONNX 1.5.0-1.15.0, ONNX opset version 11+ and is manylinux compliant.

It currently supports Intel and AMD AVX2, AVX-512, and VNNI x86 instruction sets.

General Install

Use the following command to install DeepSparse with pip:

pip install deepsparse

Installing the Server

DeepSparse Server allows you to serve models and pipelines through an HTTP interface using the deepsparse.server CLI. To install, use the following extra option:

pip install deepsparse[server]

Installing YOLO

The Ultralytics YOLOv5 models require extra dependencies for deployment. To use YOLO models, install with the following extra option:

pip install deepsparse[yolo]         # just yolo requirements
pip install deepsparse[yolo,server]  # both yolo + server requirements