CoolFace
Modelpublic

dystrio/gemma-2-2b-it-sculpt-default

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

dystrio/gemma-2-2b-it-sculpt-default

9% smaller, quality improved (0.7985x 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 gemma 2 2b it.

Quick Start

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("dystrio/gemma-2-2b-it-sculpt-default", torch_dtype="bfloat16", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("dystrio/gemma-2-2b-it-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 gemma 2 2b it on A100 80GB, bf16:

ModelPPLPPL RatioWeights (GB)Chat Prefill TPSRAG TTFT p95 (ms)Decode TPS
Baseline25.78071.04.86959121611.970.25159.6
sculpt-default20.58540.79854.44112423065.369.00760.0
sculpt-production22.41180.86934.22689123404.066.55460.7
sculpt-throughput29.83721.15733.96981124330.164.52959.3
sculpt-experimental48.96991.89953.41280426496.260.9759.5

Key Metrics (this model)

MetricValue
Weights memory4.441124 GB (9% smaller)
PPL ratio0.7985
Chat prefill TPS23065.3 (+7%)
RAG TTFT p9569.007 ms (-2%)
Decode TPS60.0 (flat)
Parameters2.38B

All Sculpt Tiers

TierHuggingFaceSizePPL RatioUse Case
defaultdystrio/gemma-2-2b-it-sculpt-default ๐Ÿ‘ˆ this model4.441124 GB0.7985Zero-regret: quality preserved, smaller footprint
productiondystrio/gemma-2-2b-it-sculpt-production4.226891 GB0.8693Practical savings with modest quality tradeoff
throughputdystrio/gemma-2-2b-it-sculpt-throughput3.969811 GB1.1573Maximum usable compression for speed/edge
experimentaldystrio/gemma-2-2b-it-sculpt-experimental3.412804 GB1.8995Boundary 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.50940.4386-0.0708
HellaSwag0.53750.5032-0.0343
MMLU0.56910.5016-0.0675
TruthfulQA MC20.53220.5242-0.0080