CoolFace
Modelpublic

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

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

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

10% smaller, quality preserved (1.0641x PPL), 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 Default 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-default", torch_dtype="bfloat16", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("dystrio/Llama-3.1-8B-Instruct-sculpt-default")

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 memory13.457527 GB (10% smaller)
PPL ratio1.0641
Chat prefill TPS11418.6 (+8%)
RAG TTFT p95116.957 ms (-8%)
Decode TPS65.5 (flat)
Parameters7.22B

All Sculpt Tiers

TierHuggingFaceSizePPL RatioUse Case
defaultdystrio/Llama-3.1-8B-Instruct-sculpt-default ๐Ÿ‘ˆ this model13.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-throughput11.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.4283-0.1075
HellaSwag0.59770.5416-0.0561
MMLU0.68440.5590-0.1254
TruthfulQA MC20.54560.4824-0.0632