davila7 avatar

Quantizing Models Bitsandbytes

This handles the setup for quantizing large language models using the bitsandbytes library, which is exactly what you need when a model won't fit in your GPU memory. The skill gives you ready-to-use code for both 8-bit quantization (cuts memory in half) and 4-bit quantization (75% reduction), with minimal accuracy loss according to the docs. It's a straightforward implementation helper rather than anything fancy. If you're running local LLMs and hitting OOM errors, this gets you the boilerplate to compress models down to size. The skill has passed most security audits and has decent traction with 342 installs.

skills.sh installs
337
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill quantizing-models-bitsandbytes --agent claude-code

Installs into .claude/skills of the current project.

Files

This handles the setup for quantizing large language models using the bitsandbytes library, which is exactly what you need when a model won't fit in your GPU memory. The skill gives you ready-to-use code for both 8-bit quantization (cuts memory in half) and 4-bit quantization (75% reduction), with minimal accuracy loss according to the docs. It's a straightforward implementation helper rather than anything fancy. If you're running local LLMs and hitting OOM errors, this gets you the boilerplate to compress models down to size. The skill has passed most security audits and has decent traction with 342 installs.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Data Science & ML
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1manojbajaj95 avatarlead-generation-and-demandmanojbajaj95/claude-gtm-pluginComprehensive B2B demand generation and lead acquisition skill. Use when building lead generation systems, creating demand acquisition campaigns, optimizing CAC336skills.sh installs
2onewave-ai avatarraise-negotiation-preponewave-ai/claude-skillsMarket salary research, accomplishment quantification, negotiation scripts, total compensation analysis, timing strategy.336skills.sh installs
3davila7 avatarnotion-meeting-intelligencedavila7/claude-code-templatesPrepare meeting materials with Notion context and Codex research; use when gathering context, drafting agendas/pre-reads, and tailoring materials to attendees.334skills.sh installs
4eyh0602 avatarpaper-polisheyh0602/skillshubThis skills helps agents to review and polish research papers written in LaTeX, focusing on writing clarity, grammar, LaTeX best practices, and document structu334skills.sh installs
5aznatkoiny avatarconsulting-frameworksaznatkoiny/zai-skillsCore consulting thinking frameworks and methodologies for structuring business problems, communicating findings, analyzing strategy, building financial models, 333skills.sh installs
6davila7 avataroptimizing-attention-flashdavila7/claude-code-templatesOptimizes transformer attention with Flash Attention for 2-4x speedup and 10-20x memory reduction. Use when training/running transformers with long sequences (>332skills.sh installs