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/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8" \
    --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/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8",
		"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/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8" \
        --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/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Official AQLM quantization of mistralai/Mistral-7B-Instruct-v0.2 .

For this quantization, we used 2 codebooks of 8 bits.

Results:

Model Quantization MMLU (5-shot) Model size, Gb
mistralai/Mistral-7B-Instruct-v0.2 None 0.5912 14.5
2x8 0.4384 2.3
Downloads last month
22
Safetensors
Model size
2B params
Tensor type
F16
·
I8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ISTA-DASLab/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8

Adapters
1 model

Collection including ISTA-DASLab/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8

Paper for ISTA-DASLab/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8