Input Schema
{
"body": {
"head_dim": 128,
"min_quality": "high",
"n_kv_heads": 8,
"n_layers": 32,
"params_b": 8.03,
"vram_gib": 8
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Perplexity deltas were measured on Llama-3(.1)-8B; smaller models usually lose m…",
"Partial CPU offload is much slower than full GPU placement.",
"Memory figures are formula estimates."
],
"result": {
"accepted_tiers": [
"near_lossless",
"high"
],
"candidates": [
{
"bpw_source": "measured (Llama-3.1-8B)",
"effective_bpw": 16.0005,
"fits_gpu": false,
"fits_with_offload": false,
"ppl_increase": 0.002,
"ppl_reference": "Mistral-7B",
"quant": "F16",
"requires_imatrix": false,
"tier": "near_lossless",
"total_gib": 15.958,
"weights_gib": 14.958
},
{
"bpw_source": "tensor type",
"effective_bpw": 16,
"fits_gpu": false,
"fits_with_offload": false,
"ppl_increase": -0.005,
"ppl_reference": "Mistral-7B",
"quant": "BF16",
"requires_imatrix": false,
"tier": "near_lossless",
"total_gib": 15.957,
"weights_gib": 14.957
},
{
"bpw_source": "measured (Llama-3.1-8B)",
"effective_bpw": 8.5008,
"fits_gpu": false,
"fits_with_offload": false,
"ppl_increase": 0.0026,
"ppl_reference": "Llama-3-8B",
"quant": "Q8_0",
"requires_imatrix": false,
"tier": "near_lossless",
"total_gib": 8.947,
"weights_gib": 7.947
}
],
"memory_budget_gib": {
"gpu": 8,
"ram": 0
},
"model": {
"kv_cache_gib": 0.5,
"overhead_gib": 0.5,
"parameters": 8029999999.999999,
"source": "input"
},
"recommendation": {
"bpw_source": "measured (Llama-3.1-8B)",
"effective_bpw": 6.5633,
"fits_gpu": true,
"fits_with_offload": false,
"method": "lowest published perplexity increase that fits in GPU memory",
"placement": "gpu",
"ppl_increase": 0.0217,
"ppl_reference": "Llama-3-8B",
"quant": "Q6_K",
"requires_imatrix": false,
"tier": "near_lossless",
"total_gib": 7.135,
"weights_gib": 6.135
},
"sources": [
"https://github.com/ggml-org/llama.cpp/blob/ad1b88ca0d37a2171efba1c04f1a3531c78f1…",
"https://github.com/ggml-org/llama.cpp/blob/732707dff265be513347b02911e1dd18f7e1f…"
]
},
"service": "quantization-advice",
"status": "success"
},
"type": "json"
}