Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.44 KB

installation_guide.md

File metadata and controls

53 lines (35 loc) · 1.44 KB

Installation

  1. Installation

    1.1. Prerequisites

    1.2. Install from Binary

    1.3. Install from Source

  2. System Requirements

    2.1. Validated Hardware Environment

    2.2. Validated Software Environment

Installation

Prerequisites

You can install Neural Compressor from binary or source.

The following prerequisites and requirements must be satisfied for a successful installation:

  • Python version: 3.8 or 3.9 or 3.10 or 3.11

Install from Binary

# install stable basic version from pypi
pip install onnx-neural-compressor

Install from Source

git clone https://github.com/onnx/neural-compressor.git
cd neural-compressor
pip install -r requirements.txt
pip install .

System Requirements

Validated Hardware Environment

Neural Compressor supports CPUs based on Intel 64 architecture or compatible processors:

  • Intel Xeon Scalable processor (formerly Skylake, Cascade Lake, Cooper Lake, Ice Lake, and Sapphire Rapids)
  • Intel Xeon CPU Max Series (formerly Sapphire Rapids HBM)
  • Intel Core Ultra Processors (Meteor Lake, Lunar Lake)

Validated Software Environment

  • OS version: CentOS 8.4, Ubuntu 22.04
  • Python version: 3.10
  • ONNX Runtime version: 1.18.1