How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "ISTA-DASLab/Meta-Llama-3-70B-Instruct-AQLM-2Bit-1x16" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "ISTA-DASLab/Meta-Llama-3-70B-Instruct-AQLM-2Bit-1x16",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "ISTA-DASLab/Meta-Llama-3-70B-Instruct-AQLM-2Bit-1x16" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "ISTA-DASLab/Meta-Llama-3-70B-Instruct-AQLM-2Bit-1x16",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Official AQLM quantization of meta-llama/Meta-Llama-3-70B-Instruct .

For this quantization, we used 1 codebook of 16 bits.

Results (measured with lm_eval==4.0):

Model Quantization MMLU (5-shot) ArcC ArcE Hellaswag Winogrande PiQA Model size, Gb
meta-llama/Meta-Llama-3-70B - 0.7980 0.6160 0.8624 0.6367 0.8183 0.7632 141.2
1x16 0.7587 0.4863 0.7668 0.6159 0.7481 0.7537 21.9
Downloads last month
20
Safetensors
Model size
11B params
Tensor type
F16
·
I16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including ISTA-DASLab/Meta-Llama-3-70B-Instruct-AQLM-2Bit-1x16

Paper for ISTA-DASLab/Meta-Llama-3-70B-Instruct-AQLM-2Bit-1x16