CoolFace
Modelpublic

dystrio/Llama-3.1-8B-Instruct-sculpt-throughput

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
0likes16downloads
Model Card

dystrio/Llama-3.1-8B-Instruct-sculpt-throughput

26% smaller, +27% faster prefill, drop-in replacement. No custom kernels. No runtime changes.

Dystrio Sculpt structurally compresses transformer models, producing dense models that load with standard transformers โ€” no custom code, no new ops, no deployment friction.

This is the Throughput tier of Llama 3.1 8B Instruct.

Quick Start

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("dystrio/Llama-3.1-8B-Instruct-sculpt-throughput", torch_dtype="bfloat16", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("dystrio/Llama-3.1-8B-Instruct-sculpt-throughput")

inputs = tokenizer("The future of AI inference is", return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Benchmark Results

All tiers compiled from Llama 3.1 8B Instruct on A100 80GB, bf16:

ModelPPLPPL RatioWeights (GB)Chat Prefill TPSRAG TTFT p95 (ms)Decode TPS
Baseline13.88791.014.95752710570.4126.74566.8
sculpt-default14.77781.064113.45752711418.6116.95765.5
sculpt-production21.92361.578611.86377712760.5112.52966.7
sculpt-throughput27.74631.997911.02002713408.6104.08667.5
sculpt-experimental29.38532.115910.83252713483.3103.43267.4

Key Metrics (this model)

MetricValue
Weights memory11.020027 GB (26% smaller)
PPL ratio1.9979
Chat prefill TPS13408.6 (+27%)
RAG TTFT p95104.086 ms (-18%)
Decode TPS67.5 (flat)
Parameters5.92B

All Sculpt Tiers

TierHuggingFaceSizePPL RatioUse Case
defaultdystrio/Llama-3.1-8B-Instruct-sculpt-default13.457527 GB1.0641Zero-regret: quality preserved, smaller footprint
productiondystrio/Llama-3.1-8B-Instruct-sculpt-production11.863777 GB1.5786Practical savings with modest quality tradeoff
throughputdystrio/Llama-3.1-8B-Instruct-sculpt-throughput ๐Ÿ‘ˆ this model11.020027 GB1.9979Maximum usable compression for speed/edge
experimentaldystrio/Llama-3.1-8B-Instruct-sculpt-experimental10.832527 GB2.1159Boundary exploration, maximum structural compression

What is Dystrio Sculpt?

Dystrio Sculpt compiles transformer models into smaller, faster variants. Output models:

  • โ€”Are dense (not sparse) โ€” standard architecture, fewer parameters
  • โ€”Load with standard HuggingFace Transformers โ€” no custom code needed
  • โ€”Require no custom kernels and no runtime changes
  • โ€”Work as a one-step compile before deployment
  • โ€”Stack with quantization (AWQ, GPTQ, GGUF) for compound savings

Compatibility

  • โ€”โœ… HuggingFace Transformers
  • โ€”โœ… vLLM
  • โ€”โœ… TGI (Text Generation Inference)
  • โ€”โœ… llama.cpp / GGUF conversion
  • โ€”โœ… AWQ / GPTQ quantization
  • โ€”โœ… Any framework that loads standard safetensors

Benchmark Environment

  • โ€”GPU: NVIDIA A100-SXM4-80GB
  • โ€”dtype: bf16
  • โ€”Torch: 2.10.0+cu128
  • โ€”Transformers: 5.3.0
  • โ€”Deterministic: True
  • โ€”Single-GPU, standard HuggingFace Transformers, no custom kernels.

Metric Definitions

  • โ€”PPL ratio: WikiText-103 perplexity relative to baseline. <1.0 = quality improved.
  • โ€”Prefill TPS: Tokens per second during prompt encoding (higher = faster).
  • โ€”TTFT p95: Time to first token at 95th percentile (lower = faster).
  • โ€”Decode TPS: Tokens per second during generation (higher = faster).
  • โ€”Weights (GB): Model parameter memory (deterministic, runtime-independent).

Citation

bibtex
@misc{dystrio_sculpt_2026,
  title={Dystrio Sculpt: Structural Compilation for Transformer LLMs},
  author={Dystrio},
  year={2026},
  url={https://huggingface.co/dystrio}
}

Downstream Benchmarks (lm-eval)

Evaluated with lm-eval-harness on A100-80GB, bf16, zero-shot.

BenchmarkBaselineThis ModelDelta
ARC-Challenge0.53580.3439-0.1919
HellaSwag0.59770.4353-0.1624
MMLU0.68440.3278-0.3566
TruthfulQA MC20.54560.4817-0.0639