What are the leading techniques for improving inference performance with LLMs?
- User
What are the leading techniques for improving inference performance with LLMs?
Assistant
There are a few leading techniques for improving inference performance with large language models:
-
Knowledge distillation - Training a smaller "student" model to mimic the outputs of a larger "teacher" model. This allows the student model to achieve better performance at lower compute costs.
-
Model quantization - Converting weights and activations from floating point to lower precision representations like integers. This reduces model size and improves inference speed with a small tradeoff in accuracy.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.