Downloads · 30 days
0
0% of all-time downloads
TheHouseOfTheDude/Precog-24B-v1_Compressed-Tensors
Precog-24B-v1_Compressed-Tensors is a text generation model from TheHouseOfTheDude. Use it when you need the model to write or continue text. It is set up for vllm. The card lists the license as other.
This repository provides quantized runtime builds of TheDrummer/Precog-24B-v1, repackaged for vLLM using the compressed-tensors format.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
5
Public
Repo size
39.4 GB
Likes
0
Public
Click a slice to open those files.
.md6.7 KB · 82%
From the Hugging Face model README
This repository provides quantized runtime builds of
TheDrummer/Precog-24B-v1, repackaged for vLLM using the compressed-tensors format.
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.
The
mainbranch is a landing page (model card + links). Runnable artifacts live in per-quant branches.
Quick links
*.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.
All settings below are extracted from the provided quantization script.
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.
Install vLLM (latest recommended):
pip install vllm
Serve (adjust to your hardware):
CUDA_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 bfloat16
Example Chat Completions:
curl 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.
This package follows the parent finetune’s chat conventions. If a chat_template.jinja file is present, libraries that support apply_chat_template will automatically format messages.
Guidelines:
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.