Model-Optimizer
Model‑Optimizer compresses a PyTorch/Llama model with quantization, pruning, or distillation so it can run faster on deployment back‑ends like TensorRT‑LLM or vLLM.
- •Your LLM inference latency is too high for real‑time user queries.
- •You need to fit a large model onto a GPU with limited VRAM.
- •You want to ship a model to an edge server that only supports TensorRT‑LLM.
model-optimize distill --teacher-model-path ./Meta-Llama-3-8B --student-model-path ./distilled --max-steps 20000 --learning-rate 3e-5
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/model-optimizer && curl -fsSL https://workflowstacks.com/api/skills/model-optimizer/claude-skill -o ~/.claude/skills/model-optimizer/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Model-Optimizer is a very large Python project (~304k lines across 1002 code files, plus 621 test files). You install it into your AI tool with one command; there is nothing to run yourself. Last commit this month, Apache-2.0 license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3examples/alpamayo/0417_16rows_train_set_for_calibration_25.10.parquetA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/model-optimizer && curl -fsSL https://workflowstacks.com/api/skills/model-optimizer/claude-skill -o ~/.claude/skills/model-optimizer/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/model-optimizer?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.