30% smaller, +23% 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.
fromtransformersimportAutoModelForCausalLM,AutoTokenizermodel=AutoModelForCausalLM.from_pretrained("dystrio/gemma-2-2b-it-sculpt-experimental",torch_dtype="bfloat16",device_map="auto")tokenizer=AutoTokenizer.from_pretrained("dystrio/gemma-2-2b-it-sculpt-experimental")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: