<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Inference Speed on AIBussin — AI applications, systems and books</title>
		<link>https://aibussin.com/tags/inference-speed/</link>
		<description>Recent content in Inference Speed on AIBussin — AI applications, systems and books</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Wed, 12 Feb 2025 11:07:50 +0000</lastBuildDate>
		
			<atom:link href="https://aibussin.com/tags/inference-speed/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Using Quantization to speed up and slim down your LLM</title>
				<link>https://aibussin.com/post/quantization/</link>
				<pubDate>Wed, 12 Feb 2025 11:07:50 +0000</pubDate>
				<guid>https://aibussin.com/post/quantization/</guid>
				<description>&lt;h2 id=&#34;summary&#34;&gt;Summary&lt;/h2&gt;&#xA;&lt;p&gt;Large Language Models (LLMs) are powerful, but their size can lead to slow inference speeds and high memory consumption, hindering real-world deployment. Quantization, a technique that reduces the precision of model weights, offers a powerful solution.&#xA;This post will explore how to use quantization techniques like &lt;code&gt;bitsandbytes&lt;/code&gt;, &lt;code&gt;AutoGPTQ&lt;/code&gt;, and &lt;code&gt;AutoRound&lt;/code&gt; to dramatically improve LLM inference performance.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-is-quantization&#34;&gt;What is Quantization?&lt;/h2&gt;&#xA;&lt;p&gt;Quantization reduces the computational and storage demands of a model by representing its weights with lower-precision data types.&#xA;Lets imagine data is water and we hold that water in buckets, most of the time we don&amp;rsquo;t need massive floating point buckets to hold data that can be represented by integers.&#xA;&lt;code&gt;Quantization&lt;/code&gt; is using smaller buckets to hold the same amount of water – you save space and can move the containers more quickly. &lt;code&gt;Quantization&lt;/code&gt; trades a tiny amount of precision for significant gains in speed and memory efficiency.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
