<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Diffusion Models on Dhruv Patel - Lead Android Engineer</title><link>https://deardhruv.com/tags/diffusion-models/</link><description>Recent content in Diffusion Models on Dhruv Patel - Lead Android Engineer</description><generator>Hugo</generator><language>en</language><managingEditor>dhruv.time@gmail.com (Dhruv Patel)</managingEditor><webMaster>dhruv.time@gmail.com (Dhruv Patel)</webMaster><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Mon, 05 Oct 2026 16:26:02 +0530</lastBuildDate><atom:link href="https://deardhruv.com/tags/diffusion-models/index.xml" rel="self" type="application/rss+xml"/><item><title>Part 4 - I Put an Image Generator Inside the Phone</title><link>https://deardhruv.com/posts/ai_playground_series/04-i-put-an-image-generator-inside-the-phone/</link><pubDate>Mon, 05 Oct 2026 13:00:00 +0530</pubDate><author>dhruv.time@gmail.com (Dhruv Patel)</author><guid>https://deardhruv.com/posts/ai_playground_series/04-i-put-an-image-generator-inside-the-phone/</guid><description>&lt;h1 id="i-put-an-image-generator-inside-the-phone"&gt;I Put an Image Generator Inside the Phone&lt;/h1&gt;
&lt;h2 id="part-4---i-did-not-build-a-diffusion-engine-i-integrated-image-generation-runtimes-and-then-had-to-engineer-everything-around-them"&gt;Part 4 - I did not build a diffusion engine. I integrated image-generation runtimes and then had to engineer everything around them.&lt;/h2&gt;
&lt;p&gt;Text generation had already forced me to learn about:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;runtime selection
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;memory
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;native code
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;lifecycle
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;fallback
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Image generation brought all of those problems back, but in a different shape.&lt;/p&gt;
&lt;p&gt;The important distinction at the start is the same one I made in Part 1:&lt;/p&gt;</description></item></channel></rss>