Downloads · 30 days
0
vuiseng9/ov-mpt-7b-gsm8k-sparse70
ov-mpt-7b-gsm8k-sparse70 is a text generation model from vuiseng9. Use it when you need the model to write or continue text. It is set up for OpenVINO.
The intent of this repo is to compare the performance delta between dense quantized MPT-7B and 70% sparse-quantized MPT-7B on OpenVINO. Quantization here is 8-bit on both weight and activation. Benchmark metric is dec…
Downloads · 30 days
0
Access
Public
Updated Jun 25, 2024
Repo size
13.3 GB
Likes
0
Public
Click a slice to open those files.
.bin13.3 GB · 100%
From the Hugging Face model README
The intent of this repo is to compare the performance delta between dense quantized MPT-7B and 70% sparse-quantized MPT-7B on OpenVINO. Quantization here is 8-bit on both weight and activation. Benchmark metric is decoding (next token) latency with context length 512.
Target HW: Intel 4th gen Xeon (Sapphire Rapids)
SW
git clone https://huggingface.co/vuiseng9/ov-mpt-7b-gsm8k-sparse70
pip install openvino==2024.2.0
Note: do remove the numactl if your node does not support it.
This is the first commit of Sparse Weight Decompression on OpenVINO’s fork of oneDNN. https://github.com/openvinotoolkit/oneDNN/pull/158/files
you can browse this via the left pane.
initialization: src/cpu/reorder/simple_sparse_reorder.hpp (line 113)
decompression: src/cpu/x64/jit_brgemm_decompress_kernel.cpp (line 41)
If you'd like to build OpenVINO runtime from source for debug, see wiki page. Benchmark_app is compiled as well.
OpenVINO blog on Sparse-Quantized BERT (corresponding notebook)