Downloads · 30 days
14
9% of all-time downloads
twhitworth/KAT-Dev-72B-Exp-AWQ-INT4-noct
KAT-Dev-72B-Exp-AWQ-INT4-noct is a reinforcement learning model from twhitworth. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
<div align="center" <img src="https://cdn-uploads.huggingface.co/production/uploads/61ee40a269351366e29972ad/KIYEa1cWJEWPpeS0Lk1.png" width="100%" alt="Kwaipilot" / </div
Downloads · 30 days
14
9% of all-time downloads
All-time downloads
159
Public
Parameters
2.5B
41.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors41.5 GB · 100%
How the weights are stored.
I3270.2B · 97%
From the Hugging Face model README
KAT-Dev-72B-Exp is an open-source 72B-parameter model for software engineering tasks.
On SWE-Bench Verified, KAT-Dev-72B-Exp achieves 74.6% accuracy ⚡ — when evaluated strictly with the SWE-agent scaffold. KAT-Dev-72B-Exp is the experimental reinforcement-learning version of the KAT-Coder model. Through this open-source release, we aim to reveal the technical innovations behind KAT-Coder’s large-scale RL to developers and researchers.

Kwaipilot/KAT-Dev-72B-Expsafetensors with standard AWQ metadata (not compressed_tensors)KAT-Dev-72B-Exp-AWQ-INT4 is a 4-bit quantized version of the open-source KAT-Dev-72B-Exp model, which is the experimental reinforcement-learning variant of the proprietary KAT-Coder system. The base model achieves 74.6% pass@1 accuracy on SWE-Bench Verified when evaluated with the official SWE-agent scaffold.
This quantized variant was created to enable efficient, long-context inference on accessible hardware (e.g., 2× RTX 3090/4090) while preserving near-original performance. It leverages AWQ to minimize accuracy loss and is optimized for LMDeploy, which supports:
The model retains the base architecture’s innovations, including a rewritten attention kernel and a training engine optimized for shared-prefix RL trajectories. During RL training, advantage signals were reshaped based on pass rates to prevent exploration collapse—amplifying rewards for highly exploratory trajectories while dampening low-diversity ones.
This model is intended for:
It is not recommended for:
uv init
uv python pin 3.10
uv venv --python 3.10
uv add lmdeploy==0.10.1
uv run python -c "import torch; print(torch.cuda.is_available(), torch.version.cuda)"
uv run python -c "import lmdeploy; print('lmdeploy imported')"
uv sync
uv run lmdeploy serve api_server twhitworth/KAT-Dev-72B-Exp-AWQ-INT4-noct --backend turbomind --model-format awq --tp 4 --quant-policy 4 --enable_prefix_caching
from lmdeploy import pipeline, TurbomindEngineConfig
engine = TurbomindEngineConfig(
model_format='awq',
quant_policy=4, # 4-bit KV cache
session_len=131072,
tp=4 # 4 GPUs
enable_prefix_caching=True
)
pipe = pipeline("Kwaipilot/KAT-Dev-72B-Exp-AWQ-INT4", backend_config=engine)
response = pipe("Write a Python function to parse JSON with error handling.")
print(response.text)
For full deployment examples (SWE-agent, long-code analysis, API server), see the README.
| Benchmark | Base (FP16) | AWQ-INT4 | Δ |
|---|---|---|---|
| MMLU | 81.3 | 80.4 | -0.9 |
| GSM8K | 70.1 | 66.9 | -3.2 |
| HumanEval | 68.2% | 66.5% | -1.7 |
Degradation is minimal for code-related tasks and within acceptable bounds for most engineering applications.
| Component | FP16 | INT8 | INT4 (this model) |
|---|---|---|---|
| Weights | ~144 GB | ~72 GB | ~36 GB |
| KV Cache @ 32k | ~80 GB | ~40 GB | ~20 GB |
| Total VRAM @ 32k | >220 GB | ~112 GB | ~56 GB |
For full deployment examples (SWE-agent, long-code analysis, API server), see the README.
The 74.6% SWE-Bench score was achieved using:
temperature: 0.6
max_turns: 150
history_processors.n: 100
Kwaipilot/KAT-Dev-72B-Exp (Apache 2.0)If you use this model in your research, please cite the original KAT-Dev-72B-Exp:
@misc{kat2025dev72b,
author = {Kwaipilot},
title = {KAT-Dev-72B-Exp: A 72B Reinforcement-Learned Coder Model},
year = {2025},
howpublished = {\url{https://huggingface.co/Kwaipilot/KAT-Dev-72B-Exp}}
}