Views
No views yet
TL;DR
- Quantized W4A16 (INT4 weights / A16 activations) for vLLM via
--quantization compressed-tensors.- Calibration: 512 chat samples, 2048 max sequence length, from
neuralmagic/LLM_compression_calibration.- Weight-only AWQ (group size 128, symmetric INT4), targeting Linear layers;
lm_headleft high-precision.
Themainbranch is a landing page (model card + links). Runnable artifacts live in per-quant branches.
*.safetensors) + index (model.safetensors.index.json)config.json with compressed-tensors metadata (weight_format, quantization, quantization_config, etc.)tokenizer.json, tokenizer.model, merges/vocab as applicable)chat_template.jinja (inherits the parent finetune’s chat style)Exact file lists may differ between branches — see Files and versions for each revision.
llmcompressor oneshot pipeline with an AWQModifier.["Linear"] (weight-only quantization).["lm_head"] kept in higher precision.num_bits=4, type="int", symmetric=True) using group strategy with group_size=128 (Marlin-friendly).num_bits=8, type="int", symmetric=True) using group strategy with group_size=128 (Most likely BitBLAS Kernel Activation on Ampre).QuantizationScheme + QuantizationArgs embedded in an AWQ modifier.save_compressed=True so vLLM can load the compressed-tensors layout directly.neuralmagic/LLM_compression_calibration, split "train".add_special_tokens=False).messages list is rendered with tokenizer.apply_chat_template(..., tokenize=False) to reflect real chat formatting.oneshot(..., max_seq_length=2048, num_calibration_samples=512, tokenizer=tokenizer) on the preprocessed dataset.These choices aim to preserve long-form dialog behavior by calibrating on chat-templated text at 2048 tokens, with group-wise symmetric INT4 quantization for stable, high-throughput serving.
pip install vllmCUDA_VISIBLE_DEVICES=0,1,2,3 \
vllm serve TheHouseOfTheDude/Precog-24B-v1_Compressed-Tensors \
--quantization compressed-tensors \
--tensor-parallel-size 4 \
--max-model-len 2048 \
--gpu-memory-utilization 0.70 \
--dtype bfloat16curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "TheHouseOfTheDude/Precog-24B-v1_Compressed-Tensors",
"messages": [
{"role":"system","content":"You are Precog — helpful, precise, and safe."},
{"role":"user","content":"List three strategies to reduce KV-cache memory growth at long context."}
],
"max_tokens": 512,
"temperature": 0.7,
"top_p": 0.95
}'Note:compressed-tensorsis a vLLM runtime format. Loading directly with vanilla 🤗 Transformers is not supported.
For Transformers, use a compatible export (e.g., GPTQ/AWQ for Transformers) or the full-precision parent model.
chat_template.jinja file is present, libraries that support apply_chat_template will automatically format messages.Always review the parent/base model license and evaluate on your domain before production use.
--max-model-len and batch size.TheDrummer/Precog-24B-v1 with 512-sample / 2048-token AWQ calibration; vLLM-ready packaging.