SmolLM2

Generate text
with less energy.

SmolLM2 used 33–66% less GPU energy across four request loads. Responses took 8–21% longer, while answer accuracy stayed within the quality target.

66%less GPU energy
GPU energy · one request at a timekJ for 16,384 output tokens
Before21.15
With GAISSA7.16

What changed

We changed how SmolLM2 generates text, using patterns in the prompt to propose several tokens for the model to check together. The weights stayed unchanged. This reduced GPU energy use, but individual responses took longer.

How the saving changes with demand

Each load ran five times. The figures show the median change at that load.

Simultaneous requestsLess GPU energyLonger response time
166%8%
855%11%
1643%20%
3233%21%
Performance and resource use
Performance and resource use
MeasureBeforeWith GAISSA
GPU energykJ21.157.16
Response time95th percentile, ms550.78596.14
Text generatedoutput tokens16,38416,384
Answer checks

The quality check covered 1,060 questions across 53 MMLU subjects. One previously correct answer became incorrect, within the quality target.

Two of eight additional free-form responses changed. The optimized model does not produce identical text.

Test setup
Model
HuggingFaceTB SmolLM2 1.7B Instruct
Before
vLLM 0.24.0, BF16 weights, asynchronous scheduling and no speculative decoding.
With GAISSA
Prompt-lookup speculative decoding with up to five proposed tokens and synchronous scheduling. The BF16 weights were retained.
Hardware
NVIDIA GeForce RTX 4090, 24 GB.
Workload
128 requests per setup and load, with 256 input tokens and 128 output tokens. Four loads: 1, 8, 16 and 32 simultaneous requests.
Runs and reporting
Five paired repetitions at each load, with the run order alternated. Savings are the median paired percentage reduction at each load.

The before-and-after chart shows the pair producing the median energy reduction at one simultaneous request. Both setups generated 16,384 output tokens. Energy measures the GPU board, not whole-system electricity use.

Response times increased by 8–21% across the tested loads. The selected configuration met the comparison’s response-time limits.

What could improve in your AI?

Tell us what you run and what you want to improve.

Let’s talk about your AI