ISTA-DASLab/Llama-2-7b-AQLM-PV-2Bit-2x8-hf

Model

An official quantization of meta-llama/Llama-2-7b using PV-Tuning on top of AQLM.

0

5 commits

1 linked in READMEs

updated May 31, 2024

See the code

README

An official quantization of meta-llama/Llama-2-7b using PV-Tuning on top of AQLM.

For this quantization, we used 2 codebooks of 8 bits each for groups of 8 weights.

ModelAQLM schemeWikiText 2 PPLModel size, GbHub link
Llama-2-7b1x165.682.4Link
Llama-2-7b (this)2x85.902.2Link
Llama-2-7b1x16g169.211.7Link
Llama-2-13b1x165.054.1Link
Llama-2-70b1x163.7818.8Link

The 1x16g16 (1-bit) models are on the way, as soon as we update the inference lib with their respective kernels.

To learn more about the inference, as well as the information on how to quantize models yourself, please refer to the official GitHub repo. The original code for PV-Tuning can be found in the AQLM@pv-tuning branch.

8-bit
aqlm
conversational
endpoints_compatible
facebook
llama
llama-2
meta
safetensors
text-generation
text-generation-inference
transformers

ISTA-DASLab/Llama-2-7b-AQLM-PV-2Bit-2x8-hf

Model

An official quantization of meta-llama/Llama-2-7b using PV-Tuning on top of AQLM.

0

5 commits

1 linked in READMEs

updated May 31, 2024

See the code

README

An official quantization of meta-llama/Llama-2-7b using PV-Tuning on top of AQLM.

For this quantization, we used 2 codebooks of 8 bits each for groups of 8 weights.

ModelAQLM schemeWikiText 2 PPLModel size, GbHub link
Llama-2-7b1x165.682.4Link
Llama-2-7b (this)2x85.902.2Link
Llama-2-7b1x16g169.211.7Link
Llama-2-13b1x165.054.1Link
Llama-2-70b1x163.7818.8Link

The 1x16g16 (1-bit) models are on the way, as soon as we update the inference lib with their respective kernels.

To learn more about the inference, as well as the information on how to quantize models yourself, please refer to the official GitHub repo. The original code for PV-Tuning can be found in the AQLM@pv-tuning branch.

8-bit
aqlm
conversational
endpoints_compatible
facebook
llama
llama-2
meta
safetensors
text-generation
text-generation-inference
transformers