Fit large language models into less GPU memory.
Guides agents in compressing language models to four-bit weights and running them with less GPU memory.
When to use it
Use when large language models need to fit limited GPU memory or run faster than FP16 inference.
It changes how the agent implements model quantization, choosing calibration data and checking quality before deployment.
What you provide
The model-loading, quantization, and inference examples run as Python code.
The main model-loading and inference examples use a CUDA GPU.
This skill
HuggingFace
Uploads models to HuggingFace
c4
Streams calibration text from c4