<script data-pm-proxy="intercept"></script><?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[MLOps Newsletter]]></title><description><![CDATA[Machine Learning Ops is a newsletter that gives you interesting developments, tid-bits around machine learning and deep learning in a (mostly) weekly basis.]]></description><link>https://mlops.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!KGbw!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fmlops.substack.com%2Fimg%2Fsubstack.png</url><title>MLOps Newsletter</title><link>https://mlops.substack.com</link></image><generator>Substack</generator><lastBuildDate>Tue, 01 Sep 2026 20:20:36 GMT</lastBuildDate><atom:link href="/__u/mlops.substack.com/feed" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><webMaster><![CDATA[mlops@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[mlops@substack.com]]></itunes:email><itunes:name><![CDATA[Bugra Akyildiz]]></itunes:name></itunes:owner><itunes:author><![CDATA[Bugra Akyildiz]]></itunes:author><googleplay:owner><![CDATA[mlops@substack.com]]></googleplay:owner><googleplay:email><![CDATA[mlops@substack.com]]></googleplay:email><googleplay:author><![CDATA[Bugra Akyildiz]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Gemini 3.7 Flash, DeepSeek Harness, Grok 4.6]]></title><description><![CDATA[QWen 3.8, How Claude's Watermark works]]></description><link>https://mlops.substack.com/p/gemini-37-flash-deepseek-harness</link><guid isPermaLink="false">https://mlops.substack.com/p/gemini-37-flash-deepseek-harness</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Mon, 17 Aug 2026 02:00:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!iM90!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>After a bit hiatus, back to original programming! We have so many model releases in the last two weeks, so will cover them in no specific order! </p><p>We have seen tremendous  amount of progress in LLM world, and also open models in the last two weeks. Just to recap last week, <a href="https://openrouter.ai/rankings#apps">OpenRouter</a> has the following list of models per usage as of this writing(2026/08/15):</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!iM90!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 424w, /__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 848w, /__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 1272w, /__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!iM90!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png" width="1456" height="725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:725,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:253545,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/211356090?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 424w, /__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 848w, /__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 1272w, /__u/substackcdn.com/image/fetch/$s_!iM90!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff26cbce1-a3cd-4f8b-9dc4-fde30404e7c0_2120x1056.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><a href="https://qwen.ai/blog?id=qwen3.8">Qwen 3.8</a> is released last week as well which has the following capabilities:</p><ul><li><p><strong>Core Capabilities</strong>: Comprehensive improvements across coding, professional work, research, and long-horizon agentic tasks.</p></li><li><p><strong>Agent Execution</strong>: Stronger autonomous planning and better handling of environment feedback, leading to more reliable end-to-end task completion.</p></li><li><p><strong>Downstream Compatibility</strong>: Broader support for popular harnesses and development tools, making it easier to integrate into your existing stack.</p></li><li><p><strong>Flexible Thinking Control</strong>: Reasoning depth can be tuned with <code>reasoning_effort</code>, and reasoning context from historical messages is retained via <code>preserve_thinking</code>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!3Ekw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 424w, /__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 848w, /__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!3Ekw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png" width="1456" height="1071" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1071,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 424w, /__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 848w, /__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3Ekw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb73e96be-1807-4bc9-8347-142ead823e3c_4364x3211.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><p>Model weights(<a href="https://huggingface.co/Qwen/Qwen3.8-2.4T-A95B-FP8">fp8</a>, <a href="https://huggingface.co/Qwen/Qwen3.8-2.4T-A95B">bf16</a>) can be retrieved from <a href="https://huggingface.co/Qwen/Qwen3.8-2.4T-A95B">here</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ZT58!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ZT58!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png" width="1456" height="910" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:910,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;DeepSeek Harness settings showing installed plugins and their status&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="DeepSeek Harness settings showing installed plugins and their status" title="DeepSeek Harness settings showing installed plugins and their status" srcset="/__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZT58!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F46d24a2d-47cd-4d0a-9d22-fe71af7167d9_1520x950.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>DeepSeek published their own <a href="https://deepseek.com/harness/en/">harness</a>. In this harness, they consider all of the capabilities as plugins to be able to create multiple capabilities, you need to &#8220;install&#8221; these plugins. </p><p>The plugins live in the Cordis kernel which manages plugin mounting, unmounting, and dependencies. This is kind of a control plane where all of the plugins(capabilities) register against Cordis kernel and Cordis kernel is able to orchestrate all of the capabilities in consistent manner. Cordis paper is available <a href="https://github.com/cordiverse/paper">here</a>.</p><p>With all of the other harnesses, everything the model sees is recorded in an append-only session log: system prompts, reasoning, tool calls and results, subagent scheduling, and every context injection. In the Trajectory view, you can inspect these records by source. Resume, fork, search, and replay all operate on the same event stream. </p><p>The code is available in <a href="https://github.com/deepseek-ai/deepseek-harness">GitHub</a>. Developer docs(a bit light) is also available in GitHub <a href="https://deepseek-harness.github.io/deepseek-harness/en/guide/quickstart">pages</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!cK-S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 424w, /__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 848w, /__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 1272w, /__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!cK-S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png" width="1456" height="897" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:897,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:119733,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/211356090?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 424w, /__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 848w, /__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 1272w, /__u/substackcdn.com/image/fetch/$s_!cK-S!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F967c5d69-6cfe-4855-a1bc-312aa3530463_1532x944.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://x.ai/news/grok-4-6">Grok 4.6</a> is also released last week. Grok is closely following all of the other closed-source models well for a while, but could not move to the driver seat where Fable 5 Max currently sits.</p><p><span>Grok 4.6 builds on </span><strong><a href="https://x.ai/news/grok-4-5">Grok 4.5</a></strong><span> with a particular focus on long-running agents and more interactive and visual work. It stays with complex tasks across many steps, whether researching a topic, analyzing information, working across a codebase, or turning an idea into a polished application or work artifact. It can be accessed through </span><a href="https://cursor.com/"><span>Cursor</span></a><span> or </span><a href="https://x.ai/build"><span>Grok Build</span></a><span>.</span></p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!W-1V!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 424w, /__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 848w, /__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!W-1V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin" width="1000" height="562" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:562,&quot;width&quot;:1000,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;a chart showing web development&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="a chart showing web development" title="a chart showing web development" srcset="/__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 424w, /__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 848w, /__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!W-1V!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea601b00-a561-4b4c-9260-52c7b3134f79_1000x562.bin 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><span>Google released </span><a href="https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-3-7-flash/"><span>Gemini 3.7 Flash</span></a><span>, it has improved better reasoning and accuracy for knowledge-dense fields like finance, law, and biosciences comparing to 3.6. It significantly outperforms 3.6 Flash on the GDP.pdf benchmark (34.0% vs 22.0%), an eval for testing a model&#8217;s ability to process complex documents. It also surpasses 3.6 Flash in </span><a href="https://zapier.com/blog/introducing-automationbench/">AutomationBench</a><span>, demonstrating it can more effectively complete real-world business workflows (30.4% vs 17.0%).</span></p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!84QM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 424w, /__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 848w, /__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!84QM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin" width="1200" height="675" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:675,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;an image of a performance to cost comparison chart&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="an image of a performance to cost comparison chart" title="an image of a performance to cost comparison chart" srcset="/__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 424w, /__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 848w, /__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!84QM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef4c42e5-b6f6-4cb0-9cc3-172d15886854_1200x675.bin 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It is also quite cost-efficient comparing to other proprietary models, the open source models are much more cheaper, though. </p><p>The following has much more detailed benchmarking comparing to other models as well: </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!0LOV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 424w, /__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 848w, /__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!0LOV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin" width="1200" height="1205" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1205,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;a chart displaying AI model benchmarks&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="a chart displaying AI model benchmarks" title="a chart displaying AI model benchmarks" srcset="/__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 424w, /__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 848w, /__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!0LOV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b052db4-fc2c-4131-9184-8307f21acd38_1200x1205.bin 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!jLjO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 424w, /__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 848w, /__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!jLjO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png" width="1456" height="1122" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1122,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:227077,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/211356090?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 424w, /__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 848w, /__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jLjO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc35c6411-0197-4634-85bd-fd287c7174b5_1638x1262.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://declaude.org/">Declaude</a> is an interesting  website that &#8220;declaude&#8221; the text that is generated by Claude. It has also a <a href="https://declaude.org/watermarking/">post</a> on how the watermarking that Claude does works which is very interesting.</p><p>The detector operates by using a secret key to assign the same token coloring(red, green) to a given passage. It then checks whether &#8220;green&#8221; tokens occur more often than would be expected by random chance. When the text is unwatermarked or the key is wrong, the &#8220;green&#8221; to &#8220;red&#8221; token ratio should be close to 50/50. In watermarked text, the increased count of green tokens yields a statistical score. This procedure leads watermark detection through the following mechanisms: </p><ul><li><p>Key-gated: External parties may run the detector only if they possess the secret key or have access to the official detection service.</p></li><li><p>Probabilistic: Longer passages supply more evidence. Short texts frequently lack sufficient data for a confident result.</p></li><li><p>Content-agnostic: The system does not assess writing style or meaning. It only searches for the specific signal generated during creation.</p></li></ul><p>In context-dependent systems, each token&#8217;s status relies on the text that directly precedes it. Editing a passage disrupts the context window around the alteration, rendering local evidence unusable. Nevertheless, portions of the original wording that stay unchanged can still be detected.</p><ul><li><p>Light editing or standard paraphrasing: These actions frequently weaken the watermark. A detector can still locate the signal if sufficient token sequences stay intact, particularly in long documents.</p></li><li><p>Full recomposition: Rewriting a passage based on its meaning rather than preserving the original wording can eliminate the contextual overlap required by these systems.</p></li></ul><p>A probabilistic scheme that can measure various degrees of confidence even in the presence of editing is a robust method to understand if the text is generated. However, because it also has a lot of control on the text, I&#8217;d imagine this would be hard to understand and track over multiple/many versions of the models as one has to understand the &#8220;green&#8221; and &#8220;red&#8221; tokens and their rough distribution per versions of different models. </p>]]></content:encoded></item><item><title><![CDATA[How to defeat non-determinism in LLM Inference]]></title><description><![CDATA[Tokosaurus, OpenP5 and CUDA-L2]]></description><link>https://mlops.substack.com/p/how-to-defeat-non-determinism-in</link><guid isPermaLink="false">https://mlops.substack.com/p/how-to-defeat-non-determinism-in</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 15 Feb 2026 21:00:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!GBrm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!GBrm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 424w, /__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 848w, /__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!GBrm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png" width="1456" height="784" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:784,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:168538,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/183752186?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 424w, /__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 848w, /__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GBrm!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743c5281-9b9d-4312-b706-b31c73cbcae9_1516x816.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>ThinkingMachines wrote about how determinism can be <a href="https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/">accomplished</a> in inference for LLMs. Deterministic LLM inference broadly refers to &#8220;bitwise identical completions for the same request, every time, regardless of server load,&#8221; and the core claim is that the main obstacle to the determinism is not random sampling or GPU race conditions, but non&#8211;batch-invariant kernels whose numerics change as batch size and scheduling change under real-world load. They show this through carefully redesigning RMSNorm, matmul, and attention kernels to be batch-invariant&#8212;and integrating them into vLLM via FlexAttention&#8212;they can make a real LLM endpoint deterministic with acceptable performance overhead and unlock cleaner and repeatable RL training regimes where randomness can play a large role to prevent reproducibility in the experiments. </p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!BMaX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 424w, /__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 848w, /__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!BMaX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png" width="1416" height="566" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:566,&quot;width&quot;:1416,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:120910,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/183752186?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 424w, /__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 848w, /__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BMaX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F159d33ab-6a85-4e23-b478-6b37e3061077_1416x566.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Why determinism is a hard problem to solve</h3><p>At a high level, there are several overlapping notions of &#8220;determinism&#8221; in play, which makes the problem relatively ambiguous and hard to solve:</p><ul><li><p>Individual kernels:</p><ul><li><p>Some GPU kernels really are <strong>run-to-run nondeterministic</strong> because they use atomics whose accumulation order depends on timing.</p></li><li><p>Kernels in a standard LLM forward pass (RMSNorm, matmuls, attention, pointwise ops) are typically run-to-run deterministic when given identical inputs on the same hardware and software stack.</p></li></ul></li><li><p>End-to-end forward pass:</p><ul><li><p>Given a fixed batch of requests and a fixed kernel configuration, the forward pass is deterministic: every token&#8217;s logits are identical across runs.</p></li><li><p>Even so, small numerical differences from floating point arithmetic exist; they&#8217;re just fixed for a given configuration.</p></li></ul></li><li><p>Inference service from the user&#8217;s perspective:</p><ul><li><p>The <em>system</em> appears nondeterministic because the same user request, sent multiple times, experiences different batch compositions depending on current load.</p></li><li><p>Since key kernels are <strong>not batch-invariant</strong>, the numerics for a given request change with batch size and scheduling, so the output tokens can diverge even under greedy decoding at temperature 0.</p></li></ul></li></ul><p>The post emphasizes that this is not primarily about stochastic sampling or about GPU threads &#8220;finishing in random order&#8221; in the LLM forward path; the real culprit is that kernel numerics depend on batch-related parameters that fluctuate nondeterministically in production serving.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!cqPL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 424w, /__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 848w, /__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 1272w, /__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!cqPL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png" width="1434" height="926" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:926,&quot;width&quot;:1434,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:109527,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/183752186?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 424w, /__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 848w, /__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 1272w, /__u/substackcdn.com/image/fetch/$s_!cqPL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4e7982d-d1af-430a-a09b-0d16dc3ceb8b_1434x926.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Floating point and where nondeterminism <em>really</em> comes from</h3><p>The classic &#8220;original sin&#8221; is actually the floating&#8209;point non&#8209;associativity.</p><ul><li><p>Floating point uses a mantissa&#8211;exponent representation (e.g., 3.45&#215;1033.45&#215;103, 4.86&#215;10&#8722;14.86&#215;10&#8722;1), which allows dynamic range but only a fixed number of significant digits.</p></li><li><p>When adding numbers with very different exponents (e.g., 1230 and 23.4), low-magnitude terms get rounded away, and the rounding pattern depends on the order of additions.</p></li><li><p>In a toy example, summing a small set of positive and negative values in different orders yields 102 distinct sums due purely to rounding order.</p></li></ul><p>However, this only explains <em>why</em> different addition orders produce different results, not <em>why</em> kernels would change the order across runs.</p><p>The standard &#8220;concurrency + floating point&#8221; hypothesis is:</p><ul><li><p>Threads finish in an unpredictable order, atomics accumulate in whichever order completions happen, and <strong>non-associativity then turns that into small numerical differences, giving run-to-run nondeterminism.</strong></p></li></ul><p>However: </p><ul><li><p>Modern ML libraries avoid atomics for most forward-pass reductions.</p></li><li><p>A simple GPU matmul repeated 1000 times with identical inputs produces bitwise identical results, even though it uses floating point and massive concurrency.</p></li><li><p>For typical LLM forward passes, there are usually <strong>no atomic adds at all</strong>, so the forward pass is run-to-run deterministic for a given batch and kernel configuration.</p></li></ul><p>The real issue appears when you step back to the <em>system</em>:</p><ul><li><p>The forward pass numerics depend on <strong>batch size</strong> (and related shape details) because kernels are not batch-invariant.</p></li><li><p>Batch size is effectively a random variable from the user&#8217;s point of view, driven by other traffic and scheduling decisions.</p></li><li><p>Compose &#8220;non-invariance to batch size&#8221; with &#8220;nondeterministic batch size under load,&#8221; and you get inference-level nondeterminism.</p></li></ul><p>So floating point is the underlying source of numerical variability, but the mechanism that makes it visible as nondeterminism for inference users is <strong>batch-dependent kernel implementations</strong>, not atomics in the LLM forward path.</p><h3>autBatch Invariance</h3><p>The central technical concept is <strong>batch invariance</strong>:</p><ul><li><p>A kernel is batch-invariant if each element&#8217;s result depends only on its own data and is numerically identical regardless of overall batch size or batch composition.</p></li><li><p>Concretely, the reduction order for the data relevant to a given element must be independent of batch size and of how work is partitioned across batch dimensions.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!CYZG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 424w, /__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 848w, /__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 1272w, /__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!CYZG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png" width="1452" height="1218" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1218,&quot;width&quot;:1452,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:327907,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/183752186?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 424w, /__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 848w, /__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 1272w, /__u/substackcdn.com/image/fetch/$s_!CYZG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e5cdcfc-b5f8-4fb5-8673-95d88277a56d_1452x1218.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>A simple PyTorch example where:</p><ul><li><p>Compute <code>out1 = torch.mm(a[:1], b)</code> (matvec).</p></li><li><p>Compute <code>out2 = torch.mm(a, b)[:1]</code> (first row from a bigger matmul).</p></li><li><p>These give different outputs (max absolute difference on the order of 1669) even though they use the same data and are run-to-run deterministic.</p></li></ul><p>This illustrates that:</p><ul><li><p>Matmuls are typically not batch-invariant; mats of different sizes lead to different tiling, different use of tensor core instructions, and different reduction orders, hence different numerics.</p></li><li><p>If an inference server dynamically batches requests, the same prompt can land in different batch sizes, pushing it through different numeric paths.</p></li></ul><p>And post also splits operations into:</p><ul><li><p><strong>Pointwise ops</strong>: generally batch-invariant (e.g., elementwise activations, basic arithmetic), so they&#8217;re not the main concern.</p></li><li><p><strong>Reduction ops</strong>: where batch invariance is tricky and crucial:</p><ul><li><p>RMSNorm (per-token reductions over hidden dimension).</p></li><li><p>Matmul (reductions over feature dimension).</p></li><li><p>Attention (reductions over feature <em>and</em> sequence dimensions).</p></li></ul></li></ul><p>These three drive most of the nondeterministic behavior under changing batch conditions and are the focus of the batch-invariant redesign.</p><h3>How RMSNorm, matmul, and attention become batch-invariant</h3><h4>RMSNorm</h4><p>RMSNorm typically looks like:</p><pre><code># x: [batch_size, hidden_dim]
# weight: [hidden_dim]
def rms_norm(x, weight):
    return x * torch.rsqrt(torch.mean(x ** 2, dim=-1, keepdim=True)) * weight</code></pre><ul><li><p>For batch invariance, the <strong>reduction order over hidden_dim must not depend on batch size.</strong></p></li><li><p>Standard GPU strategy: assign each batch element to a core (SM), so each element&#8217;s reduction happens &#8220;locally&#8221; without cross-core communication.</p></li><li><p>This works well when batch size is large enough; increasing batch size does not change the per-element reduction strategy.</p></li></ul><p>The problem appears when batch size is small:</p><ul><li><p>You end up with more cores than batch elements; na&#239;ve optimization will try to parallelize further by using split reductions or atomics across cores, changing the reduction order and breaking batch invariance.</p></li></ul><p>Two strategies:</p><ul><li><p>Simple but acceptable: tolerate suboptimal performance for very small batch sizes and keep a single-core reduction strategy that is independent of batch.</p></li><li><p>If you must optimize small batches, design a reduction strategy that yields sufficient parallelism even for batch size 1 and keep that <em>same</em> strategy for all larger batches, sacrificing some peak efficiency for invariance.</p></li></ul><h4>Matmul</h4><p>Matmul can be viewed as:</p><ul><li><p>Compute pairwise products (pointwise), then reduce along the reduction dimension KK to form each output tile.</p></li><li><p>A <strong>data-parallel</strong> tiling strategy chunks the output in (M,N)(M,N) so that each core handles its tile&#8217;s reductions locally, preserving a fixed reduction order within tiles.</p></li></ul><p>However, real kernels vary strategy based on shape:</p><ul><li><p>When M and N are small (e.g., matmuls with small batch or small feature dims), to keep the GPU saturated you often switch to <strong>Split-K</strong> matmul: multiple cores sum partial results over K and then combine them, changing the reduction order and breaking batch invariance.</p></li><li><p><strong>Stream-K</strong> takes this further, splitting K differently for different tiles for better load-balancing, making even <em>batch position</em> non-invariant: the numerics can depend on where in the batch a row lives.</p></li><li><p>Different tensor core instructions (e.g., different tile sizes) get selected for different shape regimes; small-batch cases may even drop tensor cores entirely, further changing the reduction order.</p></li></ul><p>The batch-invariant design choice:</p><ul><li><p>Compile and use a <strong>single kernel configuration</strong> and reduction path for all relevant shapes, especially avoiding Split-K for the main LLM matmuls.</p></li><li><p>Since the model dimension NN is usually large in LLMs, you can often maintain enough parallelism without Split-K; the performance hit is acceptable in inference workloads.</p></li></ul><p>In effect, you trade a bit of hardware utilization for numerical predictability across batch sizes.</p><h4>Attention</h4><p>Attention is the hardest piece, because:</p><ul><li><p>It involves two matmuls and reductions over both feature and <strong>sequence</strong> dimensions.</p></li><li><p>In inference, sequence handling is highly optimized with chunked prefill, suffix/prefix caching, and paged KV cache layouts, all of which can change how much of the sequence is processed at once.</p></li></ul><p>Two key requirements for deterministic attention:</p><ol><li><p>Numerics must be invariant to <strong>how many requests</strong> are processed in parallel.</p></li><li><p>Numerics must be invariant to <strong>how a single request&#8217;s sequence is chunked</strong>, i.e., the reduction order for a token must not depend on whether its sequence is processed in one shot or in multiple chunks.</p></li></ol><p>Standard FlashAttention-style strategies:</p><ul><li><p>Do data-parallel work over query tokens and heads while reducing over K/V.</p></li><li><p>For efficiency with long KV caches or small query lengths (typical decode), they use Split-KV / FlashDecoding strategies that choose split factors dynamically to saturate cores, e.g., &#8220;balanced scheduling&#8221; that picks the largest split size that fully utilizes the GPU.</p></li><li><p>Because split size and scheduling depend on batch composition and KV length, the reduction order for a given token changes with load, breaking batch invariance.</p></li></ul><p>The batch-invariant attention design has two main components:</p><ul><li><p><strong>Consistent KV layout:</strong></p><ul><li><p>Update the KV cache and page tables <em>before</em> the attention kernel so that keys and values are laid out identically regardless of how many tokens are processed in the current step (chunked prefill vs decode).</p></li><li><p>This ensures that, for a given token index, the sequence of K/V elements it sees is the same in memory ordering.</p></li></ul></li><li><p><strong>Fixed split-size strategy:</strong></p><ul><li><p>Instead of choosing the number of splits dynamically from batch conditions, <strong>fix the split size</strong> and allow the number of splits to vary.</p></li><li><p>For a given token, this yields a fixed pattern of partial reductions and combination steps that does not depend on global batch size.</p></li><li><p>Internally, FlexAttention is modified to enforce this fixed split-size pattern, though these modifications are not yet fully upstreamed at the time of writing.</p></li></ul></li></ul><p>With batch-invariant matmuls and attention, plus RMSNorm and pointwise ops, the entire transformer forward pass becomes invariant to batch size and chunking strategy, which is what you need to make an inference endpoint deterministic under arbitrary load.</p><h3>Training parallels and why determinism is hard</h3><p>The post claims that it has strong parallels on the training side, and it helps explain why full determinism is hard in practice for training as well.</p><h4>Run-to-run determinism vs. environment determinism</h4><p>In training, several phenomena mirror the inference piece:</p><ul><li><p><strong>Kernel-level determinism</strong>:</p><ul><li><p>You can often make the forward and backward passes run-to-run deterministic by disabling specific nondeterministic ops (e.g., atomics in some backward kernels), fixing seeds, and pinning hardware/software versions.</p></li><li><p>However, different minibatch compositions, data orderings, and parallelism strategies (e.g., data vs. model parallel, sharded optimizers) change numeric paths and produce different trajectories even with the same seed.</p></li></ul></li><li><p><strong>Batch- and schedule-invariance issues</strong>:</p><ul><li><p>Backprop involves reductions across data-parallel replicas (e.g., all-reduce of gradients), where the reduction order and grouping can change across distributed configurations or NCCL scheduling, leading to different gradient numerics.</p></li><li><p>Optimizers like Adam or RMSProp maintain state across steps, so small numeric perturbations in gradients accumulate into different trajectories.</p></li><li><p>Mixed precision, dynamic loss scaling, and varying microbatching strategies all introduce shape- and schedule-dependent numerical behavior.</p></li></ul></li></ul><p>Similar to inference:</p><ul><li><p>The low-level kernels might be individually deterministic for fixed shapes and launching strategies, but the <strong>training system as a whole</strong> is not, because the effective &#8220;batch size and structure over time&#8221; is shaped by distributed scheduling, sharding, and data ordering, which are complex and often nondeterministic.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!i2vL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 424w, /__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 848w, /__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 1272w, /__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!i2vL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png" width="1420" height="1140" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1140,&quot;width&quot;:1420,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:298215,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/183752186?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 424w, /__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 848w, /__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 1272w, /__u/substackcdn.com/image/fetch/$s_!i2vL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8037e4e8-77f9-487f-a7b8-45fc6dd9f2b3_1420x1140.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>RL training and &#8220;true on-policy&#8221; behavior</h4><p>The post explicitly discusses RL as a motivating example of why determinism matters:</p><ul><li><p>In on-policy RL, the policy that generates trajectories should match the policy used for training updates.</p></li><li><p>In practice, if the inference stack and training stack are numerically different (e.g., different attention implementations, different precision, or non-deterministic inference), the training is effectively <strong>off-policy</strong>, because the samples were generated by a numerically different policy.</p></li></ul><p>They run experiments in an RLVR setup on Bigmath with Qwen 2.5-VL 8B as the base policy.</p><ul><li><p>With no off-policy correction (no importance weighting), training can become unstable and reward collapses when numerics diverge.</p></li><li><p>Adding importance weighting stabilizes training but adds complexity.</p></li><li><p>If they enforce <strong>bitwise identity</strong> between sampler and trainer (i.e., deterministic inference plus matched training stack), then:</p><ul><li><p>KL divergence between sampler and trainer policies stays at 0.</p></li><li><p>Training remains stable without importance weighting.</p></li></ul></li></ul><p>This &#8220;true on-policy RL&#8221; point generalizes:</p><ul><li><p>Any training regime that depends on a &#8220;current policy&#8221; (RL, DPO-like methods, online fine-tuning) benefits from determinism, because it lets you reason cleanly about which policy generated which data.</p></li><li><p>However, matching numerics across training and inference stacks is difficult: any divergence in kernel choice, precision, or batch handling breaks equality.</p></li></ul><p>So determinism is hard in training not only because of floating point, but because of:</p><ul><li><p>Varying data order and microbatch schedules.</p></li><li><p>Distributed gradient reductions and communication patterns.</p></li><li><p>Different kernel choices in forward/backward vs inference paths.</p></li><li><p>Mixed-precision and quantization differences between training and serving.</p></li></ul><p>The post&#8217;s inference work shows one ingredient: if you can make the inference stack deterministic and phaselocked with the training stack, you get a cleaner on-policy setting.</p><h4>Practical contributors to nondeterminism in LLM inference</h4><p>Putting things together, you can categorize the main contributors to nondeterminism in LLM inference:</p><h4>1. Floating-point arithmetic properties</h4><ul><li><p>Non-associativity of addition and multiplication means different reduction orders produce different results.</p></li><li><p>Mixed precision (e.g., bfloat16 activations, fp32 accumulators) shapes where rounding happens and how sensitive results are to ordering.</p></li><li><p>Different hardware or library versions can change numerics even if the algorithm description is the same.</p></li></ul><h4>2. Kernel implementation choices</h4><ul><li><p><strong>Reduction kernels</strong>:</p><ul><li><p>Use of Split-K (matmul) or Split-KV / FlashDecoding (attention) introduces multiple partial reductions whose combination order can vary with shape and scheduling, breaking batch invariance.</p></li><li><p>Optimization for small shapes often toggles between tensor core and non-tensor-core paths, changing the internal numeric path.</p></li></ul></li><li><p><strong>Use (or avoidance) of atomics</strong>:</p><ul><li><p>While the LLM forward pass seldom uses atomics, any kernel that does (e.g., some scatter_add variants, FlashAttention backward) can be inherently run-to-run nondeterministic unless special care is taken.</p></li><li><p>Backward passes and some auxiliary operations may still rely on atomics.</p></li></ul></li><li><p><strong>Tile sizes and instruction selection</strong>:</p><ul><li><p>Different shapes trigger different tiling strategies and tensor core instructions, all of which correspond to different internal reduction orders.</p></li></ul></li></ul><h4>3. Batch composition and server load</h4><ul><li><p>Dynamic batching merges requests arriving around the same time, making each request&#8217;s effective batch size and shape depend on current load, queueing, and scheduling.</p></li><li><p>If kernels are not batch-invariant, changing batch size changes reduction strategies and numeric results for individual requests.</p></li><li><p>Chunked prefill, prefix caching, and KV paging alter how many tokens from a sequence are processed together, which affects reduction structure in non-batch-invariant attention kernels.</p></li></ul><p>From the user&#8217;s perspective, this is the dominant source of nondeterminism: the same prompt is routed through a different batch and shape profile on each call.</p><h4>4. Library and hardware version differences</h4><ul><li><p>Different GPU architectures (e.g., Hopper vs Blackwell) and different CUDA/cuBLAS/cuDNN versions can change kernel implementations and numeric behavior, even if the API and high-level configuration are the same.</p></li><li><p>Cross-version runs are deterministic within a version but differ across versions, complicating reproducibility across environments.</p></li></ul><h4>5. Training&#8211;inference stack mismatches</h4><ul><li><p>In RL and other online methods, if the inference path used for sampling differs numerically from the training path (e.g., different attention kernels, precision settings, or KV cache handling), then even a &#8220;fixed&#8221; policy ID corresponds to slightly different behaviors in practice.</p></li><li><p>This shifts the problem from simple nondeterminism to <strong>policy mismatch</strong>, which can destabilize algorithms that assume on-policy data.</p></li></ul><p>The post&#8217;s implementation&#8212;batch-invariant RMSNorm, matmul, attention, plus a vLLM integration&#8212;directly addresses categories 2 and 3, and indirectly helps category 5 by making inference behavior reproducible and alignable with training.</p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!LpfC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 424w, /__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 848w, /__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 1272w, /__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!LpfC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png" width="388" height="379.79125528913966" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1388,&quot;width&quot;:1418,&quot;resizeWidth&quot;:388,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 424w, /__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 848w, /__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 1272w, /__u/substackcdn.com/image/fetch/$s_!LpfC!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e14423-8420-4e60-850a-7a77db96fd7e_1418x1388.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/ScalingIntelligence/tokasaurus">Tokasaurus</a> is an LLM inference engine designed for high-throughput workloads. Features include:</p><ul><li><p>OpenAI chat, completions, and batch APIs.</p></li><li><p>Data, pipeline, and tensor parallelism (with support for <a href="https://discuss.pytorch.org/t/distributed-w-torchtitan-introducing-async-tensor-parallelism-in-pytorch/209487">AsyncTP</a>).</p></li><li><p>Support for Llama3 and Qwen2 architectures.</p></li><li><p><a href="https://arxiv.org/abs/2309.06180">Paged KV caching</a> with <a href="https://arxiv.org/abs/2312.07104">prefix caching</a>.</p></li><li><p>Efficient attention over shared prefixes with <a href="https://arxiv.org/abs/2402.05099">Hydragen</a>, with automatic detection of shared prefixes across groups of sequences.</p></li><li><p>End-to-end torch compile with dynamic shapes.</p></li><li><p>CUDA graphs.</p></li><li><p>Very low CPU overhead (important for small models/fast GPUs).</p></li><li><p>A scheduler that can simulate the number of available KV cache blocks thousands of steps in the future, allowing us to aggressively onboard new sequences and keep our batch size as large as possible.</p></li><li><p>No OOMs or recompiles in production: on engine startup, we launch a series of warmup inputs that trigger all torch recompiles ahead-of-time (torch will recompile whenever a tensor has an input dimension is 0 or 1) and make check for OOMs using the largest configured batch size.</p></li></ul><p><a href="https://github.com/agiresearch/OpenP5">OpenP5</a> is an open-source platform for LLM-based Recommendation development, finetuning, and evaluation.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!BqZP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 424w, /__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 848w, /__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!BqZP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png" width="1456" height="539" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/edf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:539,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Evaluation Results&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Evaluation Results" title="Evaluation Results" srcset="/__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 424w, /__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 848w, /__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BqZP!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fedf9d81f-6c5e-4dd9-a847-f07da3f484ca_2386x884.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/deepreinforce-ai/CUDA-L2">CUDA-L2</a></strong> is a system that combines large language models (LLMs) and reinforcement learning (RL) to automatically optimize Half-precision General Matrix Multiply (HGEMM) CUDA kernels. CUDA-L2 systematically outperforms major matmul baselines to date, from the widely-used torch.matmul to state-of-the-art NVIDIA closed-source libraries (cuBLAS, cuBLASLt-heuristic, cuBLASLt-AutoTuning). </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!NC4U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!NC4U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png" width="326" height="326" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:326,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;mbake logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="mbake logo" title="mbake logo" srcset="/__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!NC4U!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F522ce55b-232a-4572-8e0a-562ddb02a787_1024x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/EbodShojaei/bake">mbake</a> is a Makefile formatter and linter: </p><h4><strong>Features</strong></h4><ul><li><p><strong>Smart formatting</strong>: Tabs for recipes, consistent spacing, line continuation cleanup</p></li><li><p><strong>Intelligent .PHONY detection</strong>: Automatically identifies and manages phony targets</p></li><li><p><strong>Syntax validation</strong>: Ensures Makefiles are valid before and after formatting</p></li><li><p><strong>Configurable rules</strong>: Customize behavior via <code>~/.bake.toml</code></p></li><li><p><strong>CI/CD ready</strong>: Check mode for automated formatting validation</p></li><li><p><strong>VSCode extension</strong>: Full editor integration available</p></li></ul><p></p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!QhbT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 424w, /__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 848w, /__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 1272w, /__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!QhbT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png" width="1456" height="1007" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1007,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 424w, /__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 848w, /__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 1272w, /__u/substackcdn.com/image/fetch/$s_!QhbT!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb7c463-4803-4926-8a63-b4f2abb24556_2054x1420.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/tomasf/Cadova">Cadova</a> is a Swift library for creating 3D models through code, with a focus on 3D printing. It offers a programmable alternative to traditional CAD tools, combining precise geometry with the expressiveness and elegance of Swift.</p><p>Cadova models are written entirely in Swift, making them easy to version, reuse, and extend. The result is a flexible and maintainable approach to modeling, especially for those already comfortable with code.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Ii_M!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 424w, /__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 848w, /__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Ii_M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png" width="1232" height="693" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/07754621-1b28-496a-a870-efbcf7be853d_1232x693.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:693,&quot;width&quot;:1232,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;witr_banner&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="witr_banner" title="witr_banner" srcset="/__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 424w, /__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 848w, /__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Ii_M!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07754621-1b28-496a-a870-efbcf7be853d_1232x693.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/pranshuparmar/witr">witr</a></strong> exists to answer a single question:</p><blockquote><p><strong>Why is this running?</strong></p></blockquote><p>When something is running on a system&#8212;whether it is a process, a service, or something bound to a port&#8212;there is always a cause. That cause is often indirect, non-obvious, or spread across multiple layers such as supervisors, containers, services, or shells.</p><p>Existing tools (<code>ps</code>, <code>top</code>, <code>lsof</code>, <code>ss</code>, <code>systemctl</code>, <code>docker ps</code>) expose state and metadata. They show <em>what</em> is running, but leave the user to infer <em>why</em> by manually correlating outputs across tools.</p><p><strong>witr</strong> makes that causality explicit.</p><p>It explains <strong>where a running thing came from</strong>, <strong>how it was started</strong>, and <strong>what chain of systems is responsible for it existing right now</strong>, in a single, human-readable output.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!TVjR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 424w, /__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 848w, /__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 1272w, /__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!TVjR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png" width="1024" height="344" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:344,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;com github qarmin czkawka&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="com github qarmin czkawka" title="com github qarmin czkawka" srcset="/__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 424w, /__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 848w, /__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 1272w, /__u/substackcdn.com/image/fetch/$s_!TVjR!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b678d23-fc28-4d8b-96bc-8164c624c745_1024x344.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/qarmin/czkawka">Czkawka</a> is a simple, fast and free app to remove unnecessary files from your computer.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!yvxc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 424w, /__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 848w, /__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!yvxc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg" width="300" height="113" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:113,&quot;width&quot;:300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;wireit&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="wireit" title="wireit" srcset="/__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 424w, /__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 848w, /__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!yvxc!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31c8189a-16f1-4ab0-bd5e-268009543e74_1200x450.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/google/wireit">Wireit</a> upgrades your npm scripts to make them smarter and more efficient.</p><p><a href="https://github.com/hengyoush/kyanos">Kyanos</a> is an <strong>eBPF-based</strong> network issue analysis tool that enables you to capture network requests, such as HTTP, Redis, and MySQL requests.<br>It also helps you analyze abnormal network issues and quickly troubleshooting without the complex steps of packet capturing, downloading, and analysis.</p>]]></content:encoded></item><item><title><![CDATA[2025 LLM Year in Review from Andrej Karpathy]]></title><description><![CDATA[Training GPT-2 on a budget from Vishwanath Sangale]]></description><link>https://mlops.substack.com/p/2025-llm-year-in-review-from-andrej</link><guid isPermaLink="false">https://mlops.substack.com/p/2025-llm-year-in-review-from-andrej</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 04 Jan 2026 20:01:43 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!OUMf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!OUMf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 424w, /__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 848w, /__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!OUMf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp" width="1024" height="559" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:559,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;unnamed&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="unnamed" title="unnamed" srcset="/__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 424w, /__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 848w, /__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!OUMf!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f77080b-d289-4057-a528-2dc91a3fe74b_1024x559.webp 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>2025 LLM Year in Review</h2><p>Andrej Karpathy&#8217;s <a href="https://karpathy.bearblog.dev/year-in-review-2025/">2025 year-in-review</a> captures six paradigm shifts that reshaped the landscape of large language model development and deployment. The post shows a recalibration of how the industry approaches LLM training, application architecture, and how humans can interact AI systems with new innovations that came in 2025.</p><h2>1. Reinforcement Learning from Verifiable Rewards (RLVR)</h2><p>The most consequential technical development of 2025 is the emergence of Reinforcement Learning from Verifiable Rewards (RLVR) as the dominant training methodology, fundamentally altering the established three-stage LLM production stack. Prior to 2025, the industry consensus consisted of 1. pretraining (rooted in GPT-2/3 methodology from ~2020), 2. supervised finetuning (InstructGPT approach from ~2022), and 3. RLHF (RLHF from ~2022). These three stages represented a stable, proven recipe for production-grade LLMs.</p><p>RLVR introduces a critical methodological change: training models against objective, automatically verifiable reward functions rather than human preference signals. Rather than relying on ambiguous human feedback, RLVR leverages well-defined environments such as mathematical and code puzzle-solving where correctness is deterministically verifiable. This shift is architecturally and computationally very important as it allows model to lean how to spontaneously develop complex problem-solving strategies&#8212;breaking down problems into intermediate computational steps and employing iterative recovery mechanisms&#8212;without explicit supervision. These emergent reasoning behaviors were exceedingly difficult to achieve under previous paradigms because the optimal reasoning traces were neither obvious nor easily specifiable a priori.</p><p>The compute economics of RLVR represent also a factor in 2025&#8217;s capability acceleration. Unlike supervised finetuning and RLHF, short optimization stages with modest computational overhead, RLVR permits substantially longer training runs against objective reward functions. This computational arbitrage proved to be cost-efficient, causing a significant reallocation of compute budgets away from pretraining and toward extended RL optimization. Consequently, 2025 witnessed model capability advances driven primarily through longer inference-time reasoning traces rather than larger pretraining datasets or model sizes. A new scaling dimension emerged: test-time compute through extended thinking traces, providing a distinct knob for controlling capability independent of model parameters. This itself was significant both in terms of effort and time allocation, but also it was important in terms of compute/GPU resources. Prior to this change, most of the compute resources were in pre-training and due to that, it was spent in the training part of the model development. After this change, inference cost also increased and one needed to allocate more resources to the inference part of the model deployment.</p><p>OpenAI&#8217;s o1 model (late 2024) demonstrated the initial feasibility of RLVR, but the o3 release in early 2025 represented the inflection point where the capability differences became clear.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!KnwK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 424w, /__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 848w, /__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!KnwK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp" width="1200" height="340" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:340,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;G6zymj4a0AMNJkJ&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="G6zymj4a0AMNJkJ" title="G6zymj4a0AMNJkJ" srcset="/__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 424w, /__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 848w, /__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!KnwK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4436a9b9-5792-44bd-b8d1-5ef4d20336be_1200x340.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>2. Reconceptualizing LLM Intelligence</h2><p>The second conceptual insight concerns the fundamental nature of LLM intelligence itself. Karpathy articulates an interesting reframing and analogy: LLMs are not evolved animals but summoned ghosts&#8212;entities optimized under entirely different constraints than biological intelligence. </p><p>Human neural networks evolved under evolutionary pressure for tribal survival in ancestral environments, producing a form of general-purpose biological intelligence shaped by natural selection. LLM neural networks, conversely, are optimized via entirely different mechanisms: imitating human text, collecting rewards on mathematical puzzles, and gaming human preference signals on benchmarking arenas. The optimization targets are fundamentally misaligned, producing radically different capability profiles.</p><p>This insight manifests empirically in what Karpathy terms &#8220;jagged intelligence.&#8221; LLMs simultaneously exhibit polymath-level sophistication and cognitively challenged grade-school reasoning, sometimes within moments of each other. They can solve complex mathematical reasoning problems while remaining vulnerable to elementary jailbreaks designed to exfiltrate sensitive data. This jaggedness is not a training deficiency but a structural consequence of optimization: LLMs spike in capability near domains where RLVR training occurs, producing uneven performance landscapes.</p><p>This conceptualization has critical implications for benchmarking practices. Karpathy argues that benchmarks are inherently verifiable environments and thus immediately susceptible to RLVR and synthetic data augmentation. The typical &#8220;benchmaxxing&#8221; process involves research teams constructing synthetic data pockets adjacent to benchmark distributions, then growing capability &#8220;jaggies&#8221; to cover these regions&#8212;a process Karpathy characterizes as &#8220;training on the test set&#8221; in a new art form. This renders traditional benchmark-based capability assessment increasingly unreliable as a proxy for general capability. The industry faces a paradox: models that achieve state-of-the-art benchmark performance may still lack fundamental general capabilities. Conversely, achieving AGI does not require crushing all benchmarks&#8212;these goals are somehow detached and should be ideally decoupled.</p><h2>3. The Rise of Vertical LLM Apps</h2><p>The third paradigm shift concerns the emergence of a distinct application layer mediating between foundational LLM capabilities and end-user value. <a href="https://cursor.com">Cursor</a>&#8217;s  rise in 2025 revealed what Karpathy characterizes as a new &#8220;layer&#8221; of LLM applications&#8212;specialized orchestrators that bundle and coordinate multiple LLM calls for specific domains, giving rise to the pattern &#8220;Cursor for X.&#8221;</p><p>LLM applications like Cursor perform several critical functions that foundational models cannot efficiently provide:</p><ul><li><p>Context engineering: preprocessing and packaging domain-specific context</p></li><li><p>Multi-call orchestration: stringing together complex directed acyclic graphs (DAGs) of sequential LLM invocations, carefully balancing performance against cost</p></li><li><p>Application-specific UI/UX: providing domain-customized interfaces for human oversight</p></li><li><p>Autonomy control: exposing an &#8220;autonomy slider&#8221; allowing users to modulate the degree of autonomous agent behavior</p></li></ul><p>The critical question for 2025 is whether foundational LLM labs will capture all value at the application layer or whether durable opportunities exist for specialized vertical applications. Karpathy argues that foundational models will mature into &#8220;generally capable college students,&#8221; while specialized applications will organize and customize these capabilities into &#8220;deployed professionals&#8221; within specific verticals through private data integration, sensor/actuator access, and domain-specific feedback loops. This represents a competitive positioning distinct from foundational model capabilities&#8212;the &#8220;thickness&#8221; of this application layer suggests meaningful economic value capture. This is also a large change from the approach of &#8220;one single to rule them all&#8221; to &#8220;backbone models are useful, but so does vertical capabilities on top of the backbone models&#8221;.</p><h2>4. Agents on Localhost, Not the Cloud</h2><p>This paradigm shift addresses the architectural deployment of LLM agents. Anthropic&#8217;s Claude Code (CC) emerged as the first demonstration of a functional LLM agent&#8212;systems that iteratively chain together tool use and reasoning for extended problem-solving workflows.&#8203;</p><p>The architectural distinction is whether agent systems run on the developer&#8217;s local machine versus cloud infrastructure. Karpathy criticizes OpenAI&#8217;s early agent strategy of containerized cloud deployments orchestrated through ChatGPT interfaces, arguing this misses the critical insight that given the current era of &#8220;jagged capabilities&#8221; and slow capability takeoff, local deployment is superior. Claude Code&#8217;s key innovation is positioning itself as a &#8220;ghost on your computer&#8221;&#8212;a persistent agent running on localhost with direct access to the developer&#8217;s environment, data, configuration, secrets, and low-latency interaction patterns.&#8203;</p><p>This design choice is not merely infrastructural but represents a fundamental paradigm shift in human-AI interaction. Rather than visiting a website, the developer experiences an agent as a constituent tool within their existing development environment, achieving a qualitatively different interaction model. The agent gains contextual awareness of the developer&#8217;s specific setup&#8212;repositories, dependencies, environment variables, private data&#8212;and can reason within these constraints. This is in contrast to stateless, generic cloud interfaces that require constant context re-transmission.&#8203;</p><h2>5. Vibe Coding</h2><p>The fifth shift&#8212;vibe coding&#8212;represents another significant LLM capability with  socioeconomic implications. By 2025, LLM capabilities had matured sufficiently to enable individuals to write functional software purely through natural language specification, with code generation handled entirely by the model. The programmer describes intent in English, and the system materializes fully functional implementations.</p><p>Historically, new technologies concentrated value among professionals and institutions with specialized training; LLMs, conversely, disproportionately benefit regular people who lack formal programming training. Vibe coding democratizes software development, making programming accessible to non-specialists.</p><p>Beyond democratization, vibe coding transforms how professional developers work. When code is &#8220;free&#8221; (zero-friction to generate), developers create software at a different scale: single-use ephemeral applications built to debug specific issues, quick prototypes for proof-of-concept ideas, and custom tooling that wouldn&#8217;t previously be economically justifiable. Karpathy himself demonstrates this with examples like custom BPE tokenizer implementations in Rust and ephemeral applications (menugen, llm-council, reader3, HN time capsule) built to explore specific ideas.</p><p>This capability shift has profound labor market implications. &#8220;Vibe coding will terraform software and alter job descriptions.&#8221; The number of programs written may increase dramatically as the friction of creation drops, but the occupational role of &#8220;professional programmer&#8221; will necessarily transform when code generation is commoditized.</p><h2>6. The LLM GUI and Multimodal Interfaces</h2><p>The sixth paradigm shift talks about the user interface layer for LLMs. Karpathy puts LLMs as the next major computing paradigm&#8212;analogous to the shift from mainframes to personal computing in the 1970s-80s. In this historical analogy, contemporary text-based LLM interfaces (ChatGPT, Claude chat) are equivalent to 1980s command-line interfaces.</p><p>Text is the native representation for computers and LLMs, but not for humans. Human cognition preferentially processes visual and spatial information; reading text is cognitively effortful and slow. This motivates the need for an LLM-native GUI analogous to how graphical user interfaces revolutionized computer accessibility.&#8203;</p><p>Google&#8217;s Gemini Nano banana model represents a first demonstration of what LLM-native interfaces might entail&#8212;systems jointly optimizing text generation, image generation, and world knowledge within unified model weights. Rather than treating image generation as a separate model invoked as a tool, nano banana integrates multimodal generation capabilities within the core architecture. The interface layer can express outputs as images, infographics, slides, whiteboards, animations, or interactive web applications rather than text, matching human cognitive preferences.&#8203;</p><p>Current outputs&#8212;emoji, Markdown, tables, bold/italic formatting&#8212;are primitive precursors to more sophisticated visual and spatial output formats. The strategic question is: who will build the LLM GUI? This represents a substantial design and engineering problem distinct from model training.&#8203;</p><p>The six paradigm shifts reveal that the primary advances are not simply &#8220;bigger models&#8221; but rather incorporating of training methodology (RLVR), reframing of AI intelligence nature (ghosts vs. animals), emergence of application architecture (the app layer), deployment paradigm (localhost agents), utilization patterns (vibe coding), and interface design (multimodal GUIs). </p><p>Karpathy&#8217;s concluding observation captures an apparent paradox: he simultaneously expects rapid continued progress and believes substantial work remains before realizing even 10% of LLMs&#8217; potential. This reflects the current state where LLMs are simultaneously more capable and more limited than anticipated&#8212;exhibiting unpredictable jagged intelligence profiles that resist simple capability modeling.&#8203;</p><h3>From Friends</h3><ul><li><p>Curious how far you can go with state-of-the-art #LLMs without a huge compute budget? </p></li></ul><p>In the latest blog &#128073; <a href="/__u/recsysml.substack.com/p/training-gpt-2-on-a-budget">recsysml.substack.com/p/training-gpt-2-on-a-budget</a>, Vishwanath Sangale (Meta Ads ML + MRS) shares a hands-on journey training GPT-2 on a budget &#8212; not just what works, but why it works. Too often we treat &#8220;SOTA&#8221; (state-of-the-art) as a destination, rather than a process. We build on models without ever understanding the assumptions, trade-offs, or design decisions underneath. That&#8217;s a big missed opportunity. Learning by doing &#8212; actually rolling up your sleeves with real models &#8212; gives you intuition you can&#8217;t get from papers or APIs alone.</p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!dMEz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!dMEz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg" width="1456" height="937" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:937,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;teaser&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="teaser" title="teaser" srcset="/__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!dMEz!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec4d6e-88fb-4eba-957c-473909a72282_3293x2120.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/nunchaku-tech/nunchaku">Nunchaku</a></strong> is a high-performance inference engine for low-bit neural networks. It implements <strong>SVDQuant</strong>, a post-training quantization technique for 4-bit weights and activations that well maintains visual fidelity. On 12B FLUX.1-dev, it achieves 3.6&#215; memory reduction compared to the BF16 model. By eliminating CPU offloading, it offers 8.7&#215; speedup over the 16-bit model when on a 16GB laptop 4090 GPU, 3&#215; faster than the NF4 W4A16 baseline. On PixArt-&#8721;, it demonstrates significantly superior visual quality over other W4A4 or even W4A8 baselines. "E2E" means the end-to-end latency including the text encoder and VAE decoder.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ui-Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 424w, /__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 848w, /__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ui-Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png" width="1206" height="614" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7914e789-1055-4683-9549-a390d956b59e_1206x614.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:614,&quot;width&quot;:1206,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;repro124m&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="repro124m" title="repro124m" srcset="/__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 424w, /__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 848w, /__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ui-Y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7914e789-1055-4683-9549-a390d956b59e_1206x614.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/karpathy/nanoGPT">nanoGPT</a> is simplest, fastest repository for training/finetuning medium-sized GPTs. It is a rewrite of <a href="https://github.com/karpathy/minGPT">minGPT</a> that prioritizes teeth over education. Still under active development, but currently the file <code>train.py</code> reproduces GPT-2 (124M) on OpenWebText, running on a single 8XA100 40GB node in about 4 days of training. The code itself is plain and readable: <code>train.py</code> is a ~300-line boilerplate training loop and <code>model.py</code> a ~300-line GPT model definition, which can optionally load the GPT-2 weights from OpenAI. That's it.</p><p><strong><a href="https://github.com/SYSTRAN/faster-whisper">faster-whisper</a></strong> is a reimplementation of OpenAI&#8217;s Whisper model using <a href="https://github.com/OpenNMT/CTranslate2/">CTranslate2</a>, which is a fast inference engine for Transformer models.</p><p>This implementation is up to 4 times faster than <a href="https://github.com/openai/whisper">openai/whisper</a> for the same accuracy while using less memory. The efficiency can be further improved with 8-bit quantization on both CPU and GPU.</p><h3>Below The Fold</h3><p><a href="https://pocketbase.io/">PocketBase</a> is an open source Go backend that includes:</p><ul><li><p>embedded database (<em>SQLite</em>) with <strong>realtime subscriptions</strong></p></li><li><p>built-in <strong>files and users management</strong></p></li><li><p>convenient <strong>Admin dashboard UI</strong></p></li><li><p>and simple <strong>REST-ish API</strong></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!mbs0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!mbs0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg" width="1456" height="868" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:868,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Preview&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Preview" title="Preview" srcset="/__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!mbs0!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4af3c838-9313-4f4e-86d8-e62885217ca9_3252x1938.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/marcelo-earth/generative-manim/">Generative Manim</a></strong><a href="https://github.com/marcelo-earth/generative-manim/"> (GM)</a> is a suite of tools that allows you to create videos with Manim using LLMs (Large Language Models) like GPT-4 or Claude. The idea is to enable anyone to create wonderful animations from text &#10024;.</p><p>It began as a prototype of a web app that uses <a href="https://openai.com/research/gpt-4">GPT-4</a> to generate videos with <a href="https://www.manim.community/">Manim</a>. The idea behind this project is taking advantage of the power of LLMs in programming, the understanding of human language and the animation capabilities of Manim to generate a tool that could be used by anyone to create videos. Regardless of their programming or video editing skills.</p><ul><li><p>&#128400;&#65039; <a href="https://generative-manim.vercel.app/">Generative Manim Demo</a>: Check out the demo of Generative Manim!</p></li><li><p>&#128300; <a href="https://github.com/360macky/generative-manim/tree/main/api">Generative Manim API</a>: Build over the Animation Processing Interface, or API.</p></li><li><p>&#129489;&#8205;&#128187; <a href="https://discord.gg/HkbYEGybGv">Generative Manim Developers</a>: Join our Discord server, learn new things, share your creations and more!</p></li><li><p>&#127822; <a href="https://github.com/360macky/generative-manim/tree/main/streamlit">Generative Manim Streamlit (Legacy)</a>: First LLM exploration of LLMs and Animation.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!XKfn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 424w, /__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 848w, /__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 1272w, /__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!XKfn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png" width="1456" height="927" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:927,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Screenshot&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Screenshot" title="Screenshot" srcset="/__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 424w, /__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 848w, /__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 1272w, /__u/substackcdn.com/image/fetch/$s_!XKfn!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0dbde3a-edbc-414a-93f4-cdd4668589cd_2644x1684.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><p><a href="https://github.com/johnfactotum/foliate">Foliate</a> is an open source library to read ebooks in style.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!i9BM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 424w, /__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 848w, /__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 1272w, /__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!i9BM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png" width="1229" height="665" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:665,&quot;width&quot;:1229,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Actualbudget&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Actualbudget" title="Actualbudget" srcset="/__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 424w, /__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 848w, /__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 1272w, /__u/substackcdn.com/image/fetch/$s_!i9BM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb37cbc-f429-4f3c-86b0-99363c5465d5_1229x665.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/actualbudget/actual">Actual</a> is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Td0g!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 424w, /__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 848w, /__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Td0g!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg" width="243" height="150" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:150,&quot;width&quot;:243,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Overview banner&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Overview banner" title="Overview banner" srcset="/__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 424w, /__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 848w, /__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!Td0g!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b2322f8-070e-4553-8748-27d883236bf1_1296x800.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/bunkerity/bunkerweb">BunkerWeb</a> is a next-generation, open-source Web Application Firewall (WAF).</p><p>Being a full-featured web server (based on <a href="https://nginx.org/">NGINX</a> under the hood), it will protect your web services to make them &#8220;secure by default.&#8221; BunkerWeb integrates seamlessly into your existing environments (<a href="https://docs.bunkerweb.io/1.6.6/integrations/?utm_campaign=self&amp;utm_source=github#linux">Linux</a>, <a href="https://docs.bunkerweb.io/1.6.6/integrations/?utm_campaign=self&amp;utm_source=github#docker">Docker</a>, <a href="https://docs.bunkerweb.io/1.6.6/integrations/?utm_campaign=self&amp;utm_source=github#swarm">Swarm</a>, <a href="https://docs.bunkerweb.io/1.6.6/integrations/?utm_campaign=self&amp;utm_source=github#kubernetes">Kubernetes</a>, &#8230;) as a reverse proxy and is fully configurable (don&#8217;t panic, there is an <a href="https://docs.bunkerweb.io/1.6.6/web-ui/?utm_campaign=self&amp;utm_source=github">awesome web UI</a> if you don&#8217;t like the CLI) to meet your own use cases. In other words, cybersecurity is no longer a hassle.</p>]]></content:encoded></item><item><title><![CDATA[LLM Powered Relevance Assessment in Search by Pinterest]]></title><description><![CDATA[Pinterest integrated large language models into its search infrastructure and they show how to build an evaluation and relevance assessment mechanism through LLM rather than LLM powered search directly.]]></description><link>https://mlops.substack.com/p/llm-powered-relevance-assessment</link><guid isPermaLink="false">https://mlops.substack.com/p/llm-powered-relevance-assessment</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sat, 27 Dec 2025 21:01:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!puuB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Pinterest integrated <a href="https://medium.com/pinterest-engineering/llm-powered-relevance-assessment-for-pinterest-search-b846489e358d">large language models into its search infrastructure</a> and they show how to build an evaluation and relevance assessment mechanism through LLM rather than LLM powered search directly. That is; rather than deploying LLMs directly to rank billions of pins(Pinterests has billions of pins from their users), they pursued a more nuanced strategy: using fine-tuned cross-encoder LLMs to evaluate and measure search relevance, then distilling that knowledge into lightweight models that power real-time rankings. By doing so, they still are able to leverage LLM knowledge and query and pin understanding that LLM can bring to the table while without the high cost of the LLM in the online inference.</p><p>Traditional search relevance measurement at Pinterest relied on manual human annotations&#8212;a bottleneck that constrained everything downstream. Evaluating changes to ranking algorithms required hiring annotators to judge whether search results matched user intent on a five-point scale (Highly Relevant down to Highly Irrelevant). This process was expensive, slow, and limited the sample sizes that teams could evaluate, making it nearly impossible to detect small improvements or understand how changes affected different user segments.&#8203;</p><p>The crux of the challenge lay in relevance measurement for online A/B experiments. Each new ranking model required relevance assessment across control and treatment groups, but human labeling imposed such high costs that Pinterest could only afford small samples. This resulted in minimum detectable effects (MDEs) of 1.3&#8211;1.5%, meaning the system could only statistically distinguish experiments with very large effects. Smaller improvements even if they to meaningful gains, are not very to be observed in production settings.</p><h3>Cross-Encoder Architecture</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!puuB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 424w, /__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 848w, /__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 1272w, /__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!puuB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png" width="1400" height="681" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:681,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 424w, /__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 848w, /__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 1272w, /__u/substackcdn.com/image/fetch/$s_!puuB!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe35a846c-4269-4859-8da9-3a4b82eac26a_1400x681.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Rather than replace their entire ranking system with LLMs (computationally infeasible at Pinterest&#8217;s scale), they deployed a two-stage strategy. First, they built a cross-encoder teacher model fine-tuned on human-annotated data. Unlike bi-encoders that separately embed queries and documents, cross-encoders process both jointly, allowing the model to attend to fine-grained interactions between search intent and Pin content.</p><p>The architecture is straightforward: a query and Pin text are concatenated ([CLS] Query [SEP] Pin text) and passed through an encoder LLM, which outputs a five-dimensional score distribution corresponding to relevance labels. This is relatively important as cross-encoders outperform bi-encoders on ranking accuracy&#8212;studies show advantages of 4+ nDCG points&#8212;but at the cost of computational expense. Every query-Pin pair must be scored, while bi-encoders precompute embeddings once and reuse them.&#8203;</p><p>The team experimented with multiple backbone architectures:</p><ul><li><p><strong>BERT_base</strong>: Baseline multilingual performance</p></li><li><p><strong>T5_base</strong>: Sequence-to-sequence variant</p></li><li><p><strong>mDeBERTa_v3_base</strong>: Improved pretraining</p></li><li><p><strong>XLM-RoBERTa_large</strong>: Final production choice</p></li><li><p><strong>Llama-3-8B</strong>: Highest accuracy but 6x inference cost&#8203;</p></li></ul><p><strong>XLM-RoBERTa_large</strong> won the efficiency-accuracy tradeoff: it achieved near-Llama performance while running 150,000 labels in 30 minutes on a single A10G GPU. This presented the speed and the ability to continuously re-evaluate ranking changes without waiting weeks for human annotation while not sacrificing  the accuracy as much as possible.</p><p>Pinterest feeds it a rich feature-set into LLMs which are somehow curated and requires some understanding of their product and what matters for pin ranking:&#8203;&#8203;</p><ul><li><p><strong>Pin titles and descriptions</strong>: Seller or creator-provided text</p></li><li><p><strong>BLIP image captions</strong>: Synthetic captions generated by a vision-language model, capturing visual semantics</p></li><li><p><strong>Linked webpage titles and descriptions</strong>: Content from external sources that Pins link to</p></li><li><p><strong>User-curated board titles</strong>: Titles of boards where the Pin has been saved (implicit relevance signals)</p></li><li><p><strong>Highly-engaged queries</strong>: Queries that users have previously searched with when interacting with this Pin</p></li></ul><p>This multi-modal text representation is interesting because it converts Pinterest&#8217;s heterogeneous data into a language-native format that LLMs are really good at. The BLIP captions can also be considered to provide similar modality&#8212;they represent an intermediate step for feature engineering, where a separate VLM distills visual content into structured text.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!njej!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 424w, /__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 848w, /__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 1272w, /__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!njej!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png" width="1400" height="460" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:460,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 424w, /__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 848w, /__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 1272w, /__u/substackcdn.com/image/fetch/$s_!njej!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfffda0c-c583-4f67-9060-1c6fb4b9df1e_1400x460.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The distillation addresses the tradeoff between model accuracy and serving latency. The fine-tuned teacher LLM works well for evaluation and labeling, but you cannot run every search query against <strong>XLM-RoBERTa_large</strong> in production. Both latency and cost of inference would present a large challenge to do this in Pinterest scale.</p><p>In order to address this challenge, Pinterest adopted knowledge distillation; train a smaller, faster student model to mimic the teacher&#8217;s outputs. The teacher LLM labels billions of query-Pin pairs during an offline phase and then the student model is trained on these synthetic labels using standard supervised fine-tuning, learning to replicate the teacher&#8217;s relevance judgments without access to the original human annotations. The result is a model that combines teacher insight with student efficiency&#8212;a common pattern across many applications with different companies (Google uses this for BERT variants, Amazon for product matching, OpenAI for scaling inference with some routing logic based on the query).</p><p>This approach also enables multilingual generalization. The teacher LLM learns from primarily English human labels but leverages its pretrained multilingual knowledge. When applied to queries and Pins in French or German, the cross-lingual transfer properties of XLM-RoBERTa activate. The student model inherits this capability without language-specific fine-tuning.&#8203;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!bi02!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 424w, /__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 848w, /__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bi02!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png" width="1400" height="378" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:378,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 424w, /__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 848w, /__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bi02!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9ea2953-298c-4ccd-b852-31bb8fd56090_1400x378.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Before deploying LLM-generated labels into production metrics, Pinterest proved they reliably estimate true relevance. </p><p><strong>Exact Agreement</strong>: 73.7% of LLM labels matched human labels exactly; 91.7% differed by no more than one point on the five-point scale.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ESTp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 424w, /__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 848w, /__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ESTp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png" width="1400" height="378" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:378,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 424w, /__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 848w, /__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ESTp!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb04a8f34-4cb9-46ed-9797-0aef787b9dd4_1400x378.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Rank Correlation</strong> (at query level):</p><ul><li><p>Kendall&#8217;s &#964;: 0.652 overall (0.539&#8211;0.620 across query popularity segments)</p></li><li><p>Spearman&#8217;s &#961;: 0.817 overall (0.668&#8211;0.801 across segments)</p></li></ul><p>These correlations matter because they validate ranking order rather than absolute scores. If an experiment improves the ranking quality, would LLM-based measurement detect it? Yes&#8212;the &#964; and &#961; values confirm the LLM preserves the relative ordering of results.</p><p>For non-English markets, performance degraded slightly but remained strong: Kendall&#8217;s &#964; of ~0.48 and Spearman&#8217;s &#961; of ~0.62 for France and Germany. The authors acknowledge this gap as a frontier for future work&#8212;larger fine-tuning datasets in these languages could close it.</p><p><strong>Error Distribution</strong>: The query-level sDCG@K metric (a ranking-aware relevance score) showed mean error of 0.005 with 90% of errors between -0.047 and 0.059. Critically, paired differences (the metric differences between control and treatment) had even tighter distributions, centering around zero. This is exactly what you want for A/B testing&#8212;any bias cancels out, and noise is minimal.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_qm9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 424w, /__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 848w, /__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_qm9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png" width="1400" height="600" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:600,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 424w, /__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 848w, /__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_qm9!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14d4bb14-49af-450f-93da-dde9405cbbd8_1400x600.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Perhaps the deepest innovation isn&#8217;t the LLM itself but how Pinterest used cheap LLM labels to redesign sampling strategy. Before, cost constraints forced simple random sampling of ~2,000 queries. Now, with labels costing cents rather than dollars, they could stratify by query interest (via an in-house DistilBERT model) and popularity (head/torso/tail/single queries), allocating samples proportionally to variance within each stratum.</p><p>The impact was staggering: variance reduction of 94&#8211;99.6%, translating to MDEs dropping from 1.3&#8211;1.5% down to &#8804;0.25%. This sixfold improvement means teams can now detect small wins that previously disappeared into experimental noise. Methodologically, this leverages a classic insight from survey sampling (Hansen-Hurwitz, Horvitz-Thompson estimators) that stratification removes between-strata variance, leaving only within-strata noise.&#8203;</p><p>The formula (from their paper) illustrates the principle:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;V(&#562;_strata) &#8804; &#931;(n_k/N)(&#963;_k&#178;)&quot;,&quot;id&quot;:&quot;RCESRPECEA&quot;}" data-component-name="LatexBlockToDOM"></div><p>By choosing strata such that &#963;_k is small within each group (e.g., &#8220;beauty queries&#8221; form a homogeneous stratum), overall variance plummets.</p><h3>Library</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!jM91!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 424w, /__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 848w, /__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!jM91!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png" width="1456" height="469" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/328ac993-141e-463c-b02e-f833d60601f0_1920x618.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:469,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Arch Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Arch Logo" title="Arch Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 424w, /__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 848w, /__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jM91!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F328ac993-141e-463c-b02e-f833d60601f0_1920x618.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/katanemo/archgw">Arch</a> handles the <em>pesky plumbing work</em> in building AI agents &#8212; like applying guardrails, routing prompts to the right agent, generating hyper-rich information traces for RL, and unifying access to any LLM. It&#8217;s a language and framework friendly infrastructure layer designed to help you build and ship agentic apps faster.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!wbBg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!wbBg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;grid&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="grid" title="grid" srcset="/__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!wbBg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3330b52-48bb-4efc-8f09-aa5809eac7d5_3502x2002.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/black-forest-labs/flux">Flux</a> contains minimal inference code to run image generation &amp; editing with our Flux open-weight models.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_EFy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 424w, /__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 848w, /__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_EFy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png" width="1456" height="812" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:812,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Preview&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Preview" title="Preview" srcset="/__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 424w, /__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 848w, /__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_EFy!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F844a6b01-a698-4609-8470-96af32d3eb71_3344x1864.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/Cinnamon/kotaemon">kotaemon</a> is an open-source clean &amp; customizable RAG UI for chatting with your documents. Built with both end users and developers in mind.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_9sg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_9sg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg" width="1456" height="739" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:739,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Dubbing Studio&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Dubbing Studio" title="Dubbing Studio" srcset="/__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!_9sg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fceeadb6b-2e94-4aa8-9c31-a4fcdd4ea2ce_1920x974.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/abus-aikorea/voice-pro">Voice-Pro</a> is a state-of-the-art web app that transforms multimedia content creation. It integrates YouTube video downloading, voice separation, speech recognition, translation, and text-to-speech into a single, powerful tool for creators, researchers, and multilingual professionals.</p><ul><li><p>&#128266; Top-tier speech recognition: <strong>Whisper</strong>, <strong>Faster-Whisper</strong>, <strong>Whisper-Timestamped</strong>, <strong>WhisperX</strong></p></li><li><p>&#127908; Zero-shot voice cloning: <strong>F5-TTS</strong>, <strong>E2-TTS</strong>, <strong>CosyVoice</strong></p></li><li><p>&#128226; Multilingual text-to-speech: <strong>Edge-TTS</strong>, <strong>kokoro</strong> (Paid version includes <strong>Azure TTS</strong>)</p></li><li><p>&#127909; YouTube processing &amp; audio extraction: <strong>yt-dlp</strong></p></li><li><p>&#127757; Instant translation for 100+ languages: <strong>Deep-Translator</strong> (Paid version includes <strong>Azure Translator</strong>)</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!n3VM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 424w, /__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 848w, /__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 1272w, /__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!n3VM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;VizSeq Overview&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="VizSeq Overview" title="VizSeq Overview" srcset="/__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 424w, /__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 848w, /__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 1272w, /__u/substackcdn.com/image/fetch/$s_!n3VM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F538fc7a4-d049-41b5-bb86-4931585c74ae_2048x1152.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/facebookresearch/vizseq">VizSeq</a> is a Python toolkit for visual analysis on text generation tasks like machine translation, summarization, image captioning, speech translation and video description. It takes multi-modal sources, text references as well as text predictions as inputs, and analyzes them visually in <a href="https://facebookresearch.github.io/vizseq/docs/getting_started/ipynb_example">Jupyter Notebook</a> or a built-in <a href="https://facebookresearch.github.io/vizseq/docs/getting_started/web_app_example">Web App</a> (the former has <a href="https://facebookresearch.github.io/vizseq/docs/getting_started/fairseq_example">Fairseq integration</a>). VizSeq also provides a collection of <a href="https://facebookresearch.github.io/vizseq/docs/features/metrics">multi-process scorers</a> as a normal Python package.</p><p><strong><a href="https://github.com/pinetreelabs/archimedes">Archimedes</a></strong> is an open-source Python framework designed for deployment of control systems to hardware. To make this possible, it provides a comprehensive toolkit for <strong>modeling</strong>, <strong>simulation</strong>, <strong>optimization</strong>, and <strong>C code generation</strong>.</p><p>More documentation on the library and design principles behind of the library is <a href="https://pinetreelabs.github.io/archimedes/blog/2025/introduction.html">here</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!2H9y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 424w, /__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 848w, /__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!2H9y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png" width="1192" height="753" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:753,&quot;width&quot;:1192,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 424w, /__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 848w, /__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2H9y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4091df28-d3f0-46f2-a71a-573d82c8a7ea_1192x753.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/eval-protocol/eval-protocol">Eval Protocol (EP)</a> is an open solution for doing reinforcement learning fine-tuning on existing agents &#8212; across any language, container, or framework.</p><p>More information is in their <a href="https://evalprotocol.io/introduction">documentation page</a>.</p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!yur_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 424w, /__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 848w, /__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 1272w, /__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!yur_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png" width="1456" height="225" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:225,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;penpot header image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="penpot header image" title="penpot header image" srcset="/__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 424w, /__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 848w, /__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 1272w, /__u/substackcdn.com/image/fetch/$s_!yur_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fd6a383-d42c-4669-9773-b4072823e222_1629x252.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/penpot/penpot">Penpot</a> is the first open-source design tool for design and code collaboration. Designers can create stunning designs, interactive prototypes, design systems at scale, while developers enjoy ready-to-use code and make their workflow easy and fast. And all of this with no handoff drama. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!qiKr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 424w, /__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 848w, /__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!qiKr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png" width="1456" height="687" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/efe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:687,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 424w, /__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 848w, /__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qiKr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefe9875a-fd01-4ee6-86b3-2910dd7a077d_2261x1067.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/tidesdb/tidesdb">TidesDB</a> is a fast and efficient key value storage engine library written in C. The underlying data structure is based on a log-structured merge-tree (LSM-tree).</p><p>It is not a full-featured database, but rather a library that can be used to build a database atop of or used as a standalone key-value/column store.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!3TZ3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 424w, /__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 848w, /__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!3TZ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png" width="512" height="512" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a852845-d6c7-401a-af90-900c48b2130c_512x512.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:512,&quot;width&quot;:512,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;walrus&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="walrus" title="walrus" srcset="/__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 424w, /__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 848w, /__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3TZ3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a852845-d6c7-401a-af90-900c48b2130c_512x512.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/nubskr/walrus">Walrus</a> is a distributed message streaming platform built on a high-performance log storage engine. It provides fault-tolerant streaming with automatic leadership rotation, segment-based partitioning, and Raft consensus for metadata coordination.</p><p><strong>Key Features:</strong></p><ul><li><p><strong>Automatic load balancing</strong> via segment-based leadership rotation</p></li><li><p><strong>Fault tolerance</strong> through Raft consensus (3+ nodes)</p></li><li><p><strong>Simple client protocol</strong> (connect to any node, auto-forwarding)</p></li><li><p><strong>Sealed segments</strong> for historical reads from any replica</p></li><li><p><strong>High-performance storage</strong> with io_uring on Linux</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!RGt7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 424w, /__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 848w, /__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!RGt7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png" width="293" height="275.2087286527514" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:495,&quot;width&quot;:527,&quot;resizeWidth&quot;:293,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logo" title="Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 424w, /__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 848w, /__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RGt7!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4a29cec-ee11-49ae-af06-13f9b3a80142_527x495.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/SJRiz/pytogether">PyTogether</a> </strong>is a<strong> </strong><em>Google docs for Python. A fully browser-based collaborative Python IDE with real-time editing, chat, and visualization.</em></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!23cl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 424w, /__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 848w, /__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 1272w, /__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!23cl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png" width="1456" height="185" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:185,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;alt text&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="alt text" title="alt text" srcset="/__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 424w, /__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 848w, /__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 1272w, /__u/substackcdn.com/image/fetch/$s_!23cl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7154126d-0487-4f2d-adc9-939c3821432a_1729x220.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://stardustos.gitbook.io/stardust">Stardust</a> is a unikernel operating system designed to run Cloud applications in a protected, single-address space environment. It delegates the management of physical resources to an underlying hypervisor which is treated as a trusted platform. Stardust has a small code base that can be maintained easily, and relies on static linking to combine a minimal kernel with a single application, along with the libraries and associated programming language run-time required for the execution of the application. Due to static linking, an executable binary of Stardust is packaged within an immutable single-purpose virtual machine image. Stardust supports multiple cores, preemptive threads, and basic block and networking drivers, and provides a collection of standard POSIX-compatible libraries.</p>]]></content:encoded></item><item><title><![CDATA[HipKittens for AMD]]></title><description><![CDATA[ThunderKittens for NVIDIA]]></description><link>https://mlops.substack.com/p/hipkittens-for-amd</link><guid isPermaLink="false">https://mlops.substack.com/p/hipkittens-for-amd</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sat, 29 Nov 2025 19:00:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!67P5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><p>Stanford researchers <a href="https://hazyresearch.stanford.edu/blog/2025-11-09-amd-brr">wrote about AMD GPUs</a> and how they have developed a new library(<a href="https://hazyresearch.stanford.edu/blog/2025-11-09-hk">HipKittens</a>) to make AMD GPUs to be more efficient through the library that they have developed. </p><p>I covered a similar library last year for NVIDIA GPUs and name of that library was in a similar name <a href="/__u/mlops.substack.com/p/thunderkittens-to-make-the-gpus-go">ThunderKittens</a>, they like kittens in the library name. </p><p>Main problem that they are trying to solve is that how do we improve the maturity level of AMD software that builds on top of AMD GPUs on the order of NVIDIA GPUs. The main root cause such a gap in performance(at least in the software layer) exists for AMD is that AMD is relatively new for SW-HW code sign that NVIDIA has spent more time and drove more community adoption through the lead time that they have.</p><p>The post is written in such a way that Stanford researchers try to prove that HipKittens (HK) unlocks the performance of modern AMD CDNA GPUs (like MI355X) through memory access, intra-GPU scheduling, and chiplet-aware grid scheduling, rather than simply copying NVIDIA-style kernel designs that they have in the ThunderKittens library(which they also are the author for that library).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!67P5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 424w, /__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 848w, /__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 1272w, /__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!67P5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png" width="1456" height="849" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:849,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:141873,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/179016764?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 424w, /__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 848w, /__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 1272w, /__u/substackcdn.com/image/fetch/$s_!67P5!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32ae77e-68ab-4b39-a3a6-18ac86f743a1_1464x854.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The latest and greatest chip from AMD is: MI355X GPU which has 256 compute units (CUs), each with four SIMD units, with a 64&#8209;thread &#8220;wave&#8221; occupying one SIMD, analogous to a 32&#8209;thread warp on NVIDIA. An MI355X offers about 2.5 PFLOPs BF16 tensor performance and up to 10.1 PFLOPs in MXFP6/4, with 288 GB HBM and 8 TB/s bandwidth&#8212;comparable or better than NVIDIA B200&#8217;s raw specs in several formats, though with different on&#8209;chip resources. However, AMD has only about 70% of the SRAM per processor relative to B200 and lacks NVIDIA-specific features like wgmma/tcgen05 async matmuls from shared/tensor memory, tensor memory accelerator, mbarriers, and register reallocation, which heavily shape NVIDIA kernel design.</p><p>The key advantage that AMD has is much larger register files and more processors per GPU: MI355X has roughly 2&#215; larger registers per CU and 60% more processors (256 CUs vs 160 SMs on B200), plus fine&#8209;grained MFMA matrix core instructions rather than large, monolithic tensor ops. AMD also moves to chiplets: MI355X&#8217;s 256 CUs are split into 8 XCDs, each with a private L2 and a shared last&#8209;level cache (LLC) in front of HBM, creating a disaggregated memory hierarchy unlike monolithic dies.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!6JU2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 424w, /__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 848w, /__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!6JU2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png" width="1456" height="1122" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1122,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 424w, /__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 848w, /__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6JU2!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b35ab-410b-4b80-80f7-fc6dace8b662_1656x1276.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here the library comes to make this powerful chip to be easily programmable; <a href="https://hazyresearch.stanford.edu/blog/2025-11-09-hk">HipKittens</a> adopts the same high&#8209;level tile programming model as <a href="https://github.com/HazyResearch/ThunderKittens">ThunderKittens</a>: users can program in terms of tiles in shared memory or registers, parameterized by data type, dimensions, and layout, then use PyTorch&#8209;like operations for compute (matmul, reductions) and memory (load/store). Each tile is collectively owned by threads in a wave, and tile operators are thin C++ templates that wrap AMD CDNA ISA and C++ code directly, giving full control instead of hiding details behind a compiler like Triton. This also makes the programming harder, but also allows more headroom for efficiency as well. </p><p>While the tile interface is conceptually shared across vendors, the backend implementations differ substantially between AMD and NVIDIA: AMD requires different register layouts, swizzle patterns, and scheduling patterns, and as post points out that these must be codified as reusable primitives rather than hand&#8209;rolled assembly for each kernel. HK&#8217;s goal is to offer AMD&#8209;centric abstractions&#8212;optimized tile layouts, memory access patterns, and scheduling recipes&#8212;that let users of the library write high&#8209;performance kernels in a few hundred lines of C++ instead of large assembly codebases.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!K_9N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 424w, /__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 848w, /__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 1272w, /__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!K_9N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png" width="1456" height="923" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:923,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:187381,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/179016764?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 424w, /__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 848w, /__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 1272w, /__u/substackcdn.com/image/fetch/$s_!K_9N!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffafdd0d0-7012-4915-a91d-d06a94b43ffb_1558x988.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One of the interesting part is how HK handles memory access, given AMD&#8217;s relatively difference chip design and chip composition comparing to NVIDIA chips. Shared memory is banked (4&#8209;byte banks), and as usual, concurrent accesses from a wave to the same bank serialize; well&#8209;designed kernels therefore use swizzle patterns to map logical matrix tiles to bank&#8209;friendly layouts. On NVIDIA, tensor&#8209;core register layouts are relatively regular across data types and shapes, so a single unified swizzle rule can work across many tensor layouts; frameworks like TK exploit this. On AMD, register layouts vary substantially with data type and MFMA shape, so HK shows that no single swizzle pattern can avoid conflicts across all layouts, especially when a kernel mixes shapes. </p><p>One example that outlines how special handling of memory is important is that attention backward&#8217;s shared&#8209;memory patterns: a 16&#215;16 bf16 row&#8209;layout tile is written with a 64&#8209;bit&#8209;per&#8209;thread store instruction that needs a 64&#8209;bit&#8209;based XOR swizzle to avoid bank conflicts, while a 16&#215;32 tile read uses a 128&#8209;bit&#8209;per&#8209;thread load instruction that requires 128 bits to remain contiguous. The 64&#8209;bit oriented swizzle that works for the store fundamentally conflicts with the 128&#8209;bit contiguity needed for the read, so different swizzles must be used, showing why AMD needs multiple layout&#8209;specific swizzling schemes.</p><p>The HK team also reverse&#8209;engineers AMD&#8217;s memory instruction phases. Waves execute shared&#8209;memory instructions in phases where only subsets of threads access banks at once, but unlike NVIDIA&#8217;s sequential phase grouping (threads 0&#8211;7, 8&#8211;15, etc.), AMD&#8217;s phase groupings vary by instruction and are non&#8209;sequential and poorly documented. For example, one 128&#8209;bit load per thread uses four phases over 64 banks, while another 64&#8209;bit store uses four phases over 32 banks, changing conflict patterns; HK releases &#8220;solvers&#8221; that infer these behaviors to design conflict&#8209;free layouts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!CpCx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 424w, /__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 848w, /__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 1272w, /__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!CpCx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png" width="1456" height="418" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:418,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 424w, /__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 848w, /__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 1272w, /__u/substackcdn.com/image/fetch/$s_!CpCx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d7529ad-9cda-4242-949e-b77ce2ad85cc_2554x734.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>AMD&#8217;s large register file is split into accumulator general purpose registers (AGPRs) and vector general purpose registers (VGPRs) when a single wave maps to a SIMD&#8212;roughly 256 of each per SIMD, for a total of 512. AGPRs are restricted: vector ALU instructions cannot operate directly on them, but MFMA instructions can use them as inputs or outputs, making them ideal accumulators for matmuls. However, the HIPCC compiler cannot generate code that feeds AGPR data directly into MFMA instructions in high&#8209;pressure settings, instead inserting extra accvgpr_read/write moves between VGPRs and AGPRs, which wastes bandwidth and registers.</p><p>To address this, HK introduces explicit register scheduling: developers can pin specific registers for register tiles, manually controlling the allocation of AGPRs and VGPRs instead of leaving decisions to HIPCC. This approach is crucial for register&#8209;heavy kernels&#8212;like large GEMMs or attention&#8212;because static allocation and compiler limitations otherwise lead to spilling into scratch memory and underutilized hardware. Also note that, HK team makes a strong recommendation on improving HIPCC&#8217;s register scheduling model would be one of the most impactful upgrades AMD could make for its kernel software stack.</p><p>AMD supports direct asynchronous loads from HBM to shared memory, analogous in spirit to NVIDIA&#8217;s tensor memory accelerator (TMA), but with a key difference: the instruction takes per&#8209;thread global addresses and writes directly into shared memory, bypassing the register file. While TK on NVIDIA can often swizzle shared&#8209;memory addresses directly, on AMD the effective swizzling is done by transforming the HBM addresses that these async loads use. HipKittens encapsulates these address&#8209;generation schemes, including swizzle computations, inside its tile&#8209;load primitives so that kernel authors can request tiles in logical coordinates and rely on HK to map them to hardware&#8209;friendly address streams.</p><p>On NVIDIA, wave/warp specialization (producer&#8209;consumer) is the dominant strategy: some warps focus on memory movement while others compute, enabling deep pipelines with features like register reallocation, large shared memory, and async matmuls (wgmma/tcgen05) to keep tensor cores fed on a continuous manner. This pattern underlies high&#8209;end kernels like FlashAttention&#8209;3, COMET for MoE, and many GEMM pipelines, as well as DSLs like ThunderKittens and <a href="https://github.com/tile-ai/tilelang">TileLang</a>.</p><p>AMD&#8217;s MI355X, however, lacks register reallocation: registers are statically partitioned among waves on a SIMD, so producer waves that only need a few registers still get a full share, and consumer waves cannot borrow unused registers to increase arithmetic intensity. This leads either to spilling registers to memory or to smaller output tiles per thread block, both of which reduce arithmetic intensity and increase memory&#8209;bound behavior, degrading performance for GEMMs where compute grows as O(MNK)O(MNK) but memory as O(MK+NK)O(MK+NK).</p><p>GEMM benchmark table on MI355X showing that various producer/consumer configurations underperform compared to non&#8209;specialized or lightly specialized patterns per the post. For example, a 4&#8209;producer/8&#8209;consumer configuration with a 128&#215;256 output tile delivers much lower TFLOPs than a configuration with no producers and a larger 256&#215;256 tile, where HK achieves around 1.6 TFLOPs and matches or beats NVIDIA kernels from TK and CUTLASS tuned on B200 for similar tile shapes. This result is notable given AMD&#8217;s lack of NVIDIA&#8217;s advanced async matmul and memory features, illustrating that AMD&#8217;s larger register file and smaller MFMA shapes provide an alternate path to high throughput via fine&#8209;grained pipelining.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!fIGZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 424w, /__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 848w, /__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 1272w, /__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!fIGZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png" width="1450" height="816" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:816,&quot;width&quot;:1450,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:555027,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/179016764?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 424w, /__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 848w, /__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 1272w, /__u/substackcdn.com/image/fetch/$s_!fIGZ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0596dbae-2b74-46fe-ac37-5d1315a3e746_1450x816.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Instead of wave specialization, HipKittens proposes two AMD&#8209;centric intra&#8209;processor scheduling patterns that use the tile abstraction:</p><ul><li><p><strong>8&#8209;wave ping&#8209;pong:</strong></p><ul><li><p>Two waves per SIMD operate in a ping&#8209;pong pattern; at any moment, one wave issues a cluster of memory instructions while the other issues a cluster of compute instructions.</p></li><li><p>This allows each thread to issue long runs of identical instructions over large tiles, leading to compact, easy&#8209;to&#8209;maintain code with large HK tiles that keep the hardware busy.</p></li></ul></li><li><p><strong>4&#8209;wave interleave:</strong></p><ul><li><p>One wave per SIMD alternates finely between memory and compute ops, using small tiles that approximately match the MFMA instruction shape.</p></li><li><p>This results in finer&#8209;grained pipelining and potentially higher performance but at the cost of larger code size and more intricate instruction interleaving.</p></li></ul></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!xSib!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 424w, /__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 848w, /__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 1272w, /__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!xSib!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png" width="1456" height="874" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:874,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 424w, /__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 848w, /__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 1272w, /__u/substackcdn.com/image/fetch/$s_!xSib!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519ffb1e-9bce-40d5-aaad-b20186fa30ef_2974x1786.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>8&#8209;wave ping&#8209;pong already achieves state&#8209;of&#8209;the&#8209;art performance for GEMMs and attention forwards on MI355X, outperforming AMD&#8217;s own baselines and competing with well&#8209;tuned NVIDIA Blackwell kernels. For more complex workloads like <a href="https://arxiv.org/pdf/2305.13245">GQA</a> non&#8209;causal attention backwards, 8&#8209;wave beats all AMD baselines, and 4&#8209;wave interleave delivers further gains, demonstrating the value of both patterns as options in the HK library.</p><p>A specific example of this can be demonstrated through is that HK attention forward kernel hot loop using the 8&#8209;wave ping&#8209;pong schedule, divided into clusters that alternate between compute and memory, with explicit AMD barriers and priority settings. In &#8220;compute&#8221; clusters, the code performs operations like:</p><ul><li><p>QK matmul using MFMA (mma_AtB) on register tiles for Q and K, with layout swaps and transposes to match MFMA expectations.</p></li><li><p>Softmax computations over attention tiles, including exponentiation, scaling with normalization vectors, column maxima and sums, and BF16 conversions, all implemented as tile operations.</p></li></ul><p>In &#8220;memory&#8221; clusters, the kernel:</p><ul><li><p>Uses HK&#8217;s G::load to asynchronously move K and V tiles from global memory into shared memory or registers using swizzled offsets.</p></li><li><p>Employs s_waitcnt, vmcnt, and amdgcn barriers to ensure loads complete before subsequent MFMA instructions consume the data, while keeping the pipeline full.</p></li></ul><p>The control flow shows multiple compute&#8211;memory&#8211;compute&#8211;memory clusters within a single loop iteration, where attention tiles for QK and AV are overlapped, and software barriers carefully schedule instruction phases across waves. The overall effect is a deeply pipelined loop in which each wave alternates between matmul, softmax segments, and K/V tile loads, making heavy use of the register file and small MFMA shapes rather than large shared&#8209;memory staging and producer/consumer specialization.</p><p>The HK BF16 GEMM kernel hot loop follows a similar clusterized pattern under 8&#8209;wave ping&#8209;pong, but with a simpler computation structure tuned for dense matmul. In the &#8220;memory&#8221; clusters, the kernel:</p><ul><li><p>Loads sub&#8209;tiles of B and A from shared memory into register tiles using subtile_inplace, which selects the slice for each warp based on its row/column coordinates.</p></li><li><p>Simultaneously fetches future tiles of A or B from global memory into shared memory using G::load with chiplet&#8209;aware swizzled offsets, overlapping global&#8211;shared transfers with register&#8209;level work.</p></li></ul><p>In &#8220;compute&#8221; clusters, the kernel:</p><ul><li><p>Performs MFMA matmuls (mma_ABt) on current A and B sub&#8209;tiles, accumulating into C_accum tiles in AGPRs.</p></li><li><p>Manages priority hints (s_setprio) and barriers to ensure MFMA execution flows smoothly without hazards, while loads for subsequent MFMA steps complete in the background.</p></li></ul><p>The loop toggles between two shared&#8209;memory buffers with tic and toc, implementing a double&#8209;buffering scheme that overlaps loading future tiles with computing on current ones, and uses multiple sub&#8209;tiles per full tile to match MFMA shapes and avoid bank conflicts. Despite relying only on C++ with intrinsics and HK primitives, this kernel&#8217;s hot loop is relatively short yet reaches peak GEMM performance, competing with hand&#8209;optimized assembly from AITER and hipBLASLT.</p><p>At the chip level, MI355X&#8217;s eight XCD chiplets each have private L2 cache and a shared LLC to HBM, so thread block placement affects how well caches are reused. The default row&#8209;major grid schedule for GEMM, which assigns blocks to tiles of the output matrix in simple order, often yields poor L2 locality because blocks mapped to the same XCD load non&#8209;overlapping A and B tiles, causing redundant HBM traffic and underutilized bandwidth.</p><p>HipKittens defines chiplet&#8209;aware grid scheduling strategies that regroup blocks so that those operating on spatially nearby output tiles&#8212;and therefore sharing input A and B tiles&#8212;are more likely to run on the same XCD and reuse data in L2 and LLC. For large GEMMs (e.g., M=N=K=9216 and 14592) comparing:</p><ul><li><p>Row&#8209;major ordering, which has moderate L2 hit rates and high LLC hits but only modest memory bandwidth and TFLOPs.</p></li><li><p>Several &#8220;XCD&#8209;aware&#8221; layouts that tune the per&#8209;XCD worker counts (W) and blocks per chiplet (C), achieving better balance between L2 and LLC hit rates, higher effective memory bandwidth (e.g., over 16 TB/s), and higher TFLOPs compared to row&#8209;major.</p></li></ul><p>The key idea is that optimizing solely for L2 locality can backfire by having each chiplet fetch disjoint A/B regions, increasing LLC and HBM activity, so HK&#8217;s schedulers aim for a compromise that reuses tiles both within each XCD and across chiplets via LLC. These chiplet&#8209;aware patterns are embodied as grid&#8209;launch policies in HK, so kernel authors can select them without manually micro&#8209;managing block indices.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!kmy8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 424w, /__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 848w, /__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 1272w, /__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!kmy8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png" width="1033" height="675" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:675,&quot;width&quot;:1033,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;HipKittens logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="HipKittens logo" title="HipKittens logo" srcset="/__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 424w, /__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 848w, /__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 1272w, /__u/substackcdn.com/image/fetch/$s_!kmy8!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0d8ab3-079a-4ba8-9da0-c717696df506_1033x675.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>HK is itself open-source and <a href="https://github.com/HazyResearch/HipKittens">code</a> is available in GitHub.</p><h2></h2><h3>Library</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ZMwK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ZMwK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png" width="1456" height="559" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/42c6d546-9759-449a-9089-ff569b682633_5243x2012.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:559,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZMwK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42c6d546-9759-449a-9089-ff569b682633_5243x2012.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/tile-ai/tilelang">Tile Language</a> (<strong>tile-lang</strong>) is a concise domain-specific language designed to streamline the development of high-performance GPU/CPU kernels (e.g., GEMM, Dequant GEMM, FlashAttention, LinearAttention). By employing a Pythonic syntax with an underlying compiler infrastructure on top of <a href="https://tvm.apache.org/">TVM</a>, tile-lang allows developers to focus on productivity without sacrificing the low-level optimizations necessary for state-of-the-art performance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!7cQK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 424w, /__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 848w, /__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 1272w, /__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!7cQK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png" width="540" height="557" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b11984c2-e80a-464c-83b1-049011cea54c_540x557.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:557,&quot;width&quot;:540,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="image" title="image" srcset="/__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 424w, /__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 848w, /__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 1272w, /__u/substackcdn.com/image/fetch/$s_!7cQK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb11984c2-e80a-464c-83b1-049011cea54c_540x557.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/ROCm/aiter">AITER</a> is AMD&#8217;s centralized repository that support various of high performance AI operators for AI workloads acceleration, where a good unified place for all the customer operator-level requests, which can match different customers&#8217; needs. Developers can focus on operators, and let the customers integrate this op collection into their own private/public/whatever framework.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!EMCx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 424w, /__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 848w, /__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 1272w, /__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!EMCx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png" width="1456" height="790" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:790,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 424w, /__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 848w, /__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 1272w, /__u/substackcdn.com/image/fetch/$s_!EMCx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf53e0b-8910-491c-b0af-50917bd2d9d6_4003x2171.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p></p><p><a href="https://github.com/WeiboAI/VibeThinker">VibeThinker-1.5B</a> is a 1.5B-parameter dense model that challenges the prevailing notion that small models inherently lack robust reasoning capabilities. Developed with an innovative post-training methodology centered on the <strong>&#8220;Spectrum-to-Signal Principle (SSP)&#8221;</strong>, VibeThinker-1.5B demonstrates superior reasoning capabilities compared to closed-source models Magistral Medium and Claude Opus 4, while achieving performance on par with open-source models like GPT OSS-20B Medium.</p><p><a href="https://github.com/AndersonBY/python-repomix/">Repomix</a> is a powerful tool that packs your entire repository into a single, AI-friendly file. It&#8217;s perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini.</p><p></p><h3>Below The Fold</h3><h1><strong>&#127786;&#65039; Vortex</strong></h1><p><a href="https://github.com/vortex-data/vortex">Vortex</a> is a next-generation columnar file format and toolkit designed for high-performance data processing. It is the fastest and most extensible format for building data systems backed by object storage. It provides:</p><ul><li><p><strong>&#9889;&#65039; Blazing Fast Performance</strong></p><ul><li><p>100x faster random access reads (vs. modern Apache Parquet)</p></li><li><p>10-20x faster scans</p></li><li><p>5x faster writes</p></li><li><p>Similar compression ratios</p></li><li><p>Efficient support for wide tables with zero-copy/zero-parse metadata</p></li></ul></li><li><p><strong>&#128295; Extensible Architecture</strong></p><ul><li><p>Modeled after Apache DataFusion&#8217;s extensible approach</p></li><li><p>Pluggable encoding system, type system, compression strategy, &amp; layout strategy</p></li><li><p>Zero-copy compatibility with Apache Arrow</p></li></ul></li><li><p><strong>&#128499;&#65039; Open Source, Neutral Governance</strong></p><ul><li><p>A Linux Foundation (LF AI &amp; Data) Project</p></li><li><p>Apache-2.0 Licensed</p></li></ul></li><li><p>&#8596;&#65039;<strong> Integrations</strong></p><ul><li><p>Arrow, DataFusion, DuckDB, Spark, Pandas, Polars, &amp; more</p></li><li><p>Apache Iceberg (coming soon)</p></li></ul></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!2jld!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 424w, /__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 848w, /__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!2jld!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png" width="1456" height="1602" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1602,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 424w, /__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 848w, /__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2jld!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b7d8ee-3af1-4ea6-95f5-103b66d26c1a_2000x2200.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/sayyadirfanali/Myna">Myna</a></strong> (<em>Gracula religiosa</em> &#128038;&#8205;&#11035;) is a monospace font which aims to bring harmony to your editor by treating symbols as first-class glyphs alongside alphanumeric characters.</p><p>Myna was born of a need to scratch a persistent typographical itch. While I&#8217;ve tried many otherwise well-crafted monospace fonts, I always found myself wanting to tweak a glyph here or adjust a shape there. After developing Myna and using it almost exclusively in my professional and personal work, I&#8217;m sharing it as a small contribution to the wonderful community of monospace typography enthusiasts.</p><p><a href="https://markojs.com/docs/introduction/getting-started">Marko</a> re-imagines HTML as a language for building dynamic and reactive user interfaces. Nearly any valid HTML is also valid Marko, but Marko extends the HTML language to enable building modern applications in a declarative way.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!s-KW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!s-KW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;display&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="display" title="display" srcset="/__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!s-KW!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc5679ed-8606-4962-b441-5f1916601f8f_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/jazwa/rackstack/">rackstack</a> is a modular 3d-printable mini rack system</p><ul><li><p><em><strong>Mount Anything:</strong></em> Perfect for organizing SBCs, mini PCs, small switches, power hubs, etc.</p></li><li><p><em><strong>Fully customizable:</strong></em> Fully written in OpenSCAD. Everything, from the dimensions of the rack, to the roundness of the corners, can be modified with a simple code change.</p></li><li><p><em><strong>Printable from home:</strong></em> Designed to be printed with conventioenal FDM printers. Requires minimal supports when printing, and final assembly needs only a few easy-to-source parts.</p></li><li><p><em><strong>No cage nuts:</strong></em> Sliding hex nut design for the front rails allows one to easily mount items, without dealing with cage nuts.</p></li><li><p><em><strong>Stackable:</strong></em> Individual racks can be easily stacked and fastened together. Mix and match different color and design combinations!</p></li></ul>]]></content:encoded></item><item><title><![CDATA[Netflix's ML Engineering Experience through Metaflow and Spin]]></title><description><![CDATA[Netflix wrote an excellent in depth article on the engineering experience of an ML Engineer in Netflix and how they develop and iterate on the ML models in Netflix with the technology stack that they use.]]></description><link>https://mlops.substack.com/p/netflixs-ml-engineering-experience</link><guid isPermaLink="false">https://mlops.substack.com/p/netflixs-ml-engineering-experience</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 16 Nov 2025 01:00:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Pv1-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Pv1-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Pv1-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg" width="1400" height="771" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:771,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!Pv1-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F627036c0-d9b0-44f5-bb96-983d4b4d276c_1400x771.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Netflix wrote an excellent <a href="https://netflixtechblog.com/supercharging-the-ml-and-ai-development-experience-at-netflix-b2d5b95c63eb">in depth article</a> on the engineering experience of an ML Engineer in Netflix and how they develop and iterate on the ML models in Netflix with the technology stack that they use. </p><p>That stack centers around <strong><a href="https://metaflow.org">Metaflow</a></strong>, an open-source framework that allows engineers to build, iterate, and deploy models. Netflix cares about understanding of engineering productivity, design principles from development with infrastructure tooling eventually that transforms the complex world of machine learning operations into something much more accessible, especially for junior engineers.</p><p>Netflix&#8217;s approach recognizes a fundamental problem in modern ML development: ML engineers need freedom to experiment and iterate rapidly, yet their workflows must eventually integrate with production systems(ideally without issues!). Unlike traditional software engineering where explicit control flow and deterministic execution are the norm, machine learning development operates in fundamentally different territory where control flows and execution are anything but deterministic. Models require experimental iteration with visible state, versioned and persisted artifacts to support reproducibility and observability, and the ability to test individual components without re-executing entire pipelines. Metaflow comes into play in this problem and provides what various good abstractions that manage the complete lifecycle of ML projects&#8212;from rapid local prototyping in notebooks to reliable, maintainable production deployments scaling across cloud infrastructure.</p><p>Metaflow code looks like a workflow &#8212; similar to <a href="https://airflow.apache.org/">Airflow</a>: each Metaflow <code>@step</code> serves as <a href="https://docs.metaflow.org/metaflow/basics#what-should-be-a-step">a checkpoint boundary</a>. At the end of every step, Metaflow automatically persists all instance variables as <em>artifacts</em>, allowing the execution to <a href="https://docs.metaflow.org/metaflow/debugging#how-to-use-the-resume-command">resume</a> seamlessly from that point onward.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!PbyZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 424w, /__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 848w, /__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 1272w, /__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!PbyZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png" width="1400" height="707" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:707,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Diagram showing the various modes of execution in Metaflow: Run, Resume and Spin&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Diagram showing the various modes of execution in Metaflow: Run, Resume and Spin" title="Diagram showing the various modes of execution in Metaflow: Run, Resume and Spin" srcset="/__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 424w, /__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 848w, /__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 1272w, /__u/substackcdn.com/image/fetch/$s_!PbyZ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae28b20a-9286-4682-8894-90773ff96bc9_1400x707.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>However, this has an issue in the reproducibility in the production setting as MetaFlow cannot put the same workflow to production the way experimentation takes it to.</p><p>To solve that problem, Netflix recently shipped a feature called <strong>Spin</strong> that solves that pain point of making the experimentation code to be ready for production ready.  Spin allows engineers develop Metaflow workflows incrementally, step by step, with local iterations&#8212;by providing the notebook experience while building production-ready systems that scale across distributed infrastructure. The feature follows an incremental pattern: develop a stub flow with start and end steps, execute it to generate initial inputs, then use <code>python myflow.py spin somestep</code> to test changes quickly using artifacts from previous runs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!bl2U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 424w, /__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 848w, /__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bl2U!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif" width="1438" height="895" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/96641230-6220-4616-bf93-5118b94b1456_1438x895.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:895,&quot;width&quot;:1438,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;An animated GIF showing how resume can be used in Metaflow. The GIF shows how using `flow.py resume join` makes Metaflow clone previously executed steps and resumes the computation from the `join` step and continues executing till the end of the flow.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="An animated GIF showing how resume can be used in Metaflow. The GIF shows how using `flow.py resume join` makes Metaflow clone previously executed steps and resumes the computation from the `join` step and continues executing till the end of the flow." title="An animated GIF showing how resume can be used in Metaflow. The GIF shows how using `flow.py resume join` makes Metaflow clone previously executed steps and resumes the computation from the `join` step and continues executing till the end of the flow." srcset="/__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 424w, /__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 848w, /__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!bl2U!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96641230-6220-4616-bf93-5118b94b1456_1438x895.gif 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Each step can be tested independently with appropriate input data without orchestrating metadata or persisting artifacts globally, allowing engineers to eyeball logs and optionally access output artifacts locally. Once a step functions correctly, engineers run the complete flow normally to capture comprehensive metadata and artifacts. This mirrors the workflow patterns that made Jupyter notebooks successful &#8212;visual output and analysis attached to the Python code, and incremental development with cached state.</p><p>Metaflow can also integrate Claude, which can construct complete ML workflows using Spin, detecting and fixing issues with reduced human intervention and faster completion times than traditional manual development. It creates &#8220;human in the loop&#8221; experience by augmenting the systems by handling routine pattern application and execution cycles.</p><p><a href="https://claude.ai/login?returnTo=%2F%3F#">Claude</a> integrated Spin can write tests based on input/output pairs, run them to confirm failure, implement code to pass tests, and iterate until all tests pass&#8212;all without human prompting between cycles. This test-driven development approach accelerates not just individual development but creates self-validating systems that resist common ML pitfalls like overfitting or architectural inconsistencies within the model. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!JyrH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 424w, /__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 848w, /__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 1272w, /__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!JyrH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png" width="1400" height="787" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:787,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Metaflow tool-chain.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Metaflow tool-chain." title="Metaflow tool-chain." srcset="/__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 424w, /__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 848w, /__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 1272w, /__u/substackcdn.com/image/fetch/$s_!JyrH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71af64a6-572c-43f8-9b64-cc934f88595c_1400x787.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This framework currently powers over 3,000 ML projects at Netflix, executing hundreds of millions of data-intensive compute jobs annually while processing petabytes of data.</p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Vb3U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 424w, /__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 848w, /__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Vb3U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png" width="403" height="403" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:403,&quot;width&quot;:403,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Helion Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Helion Logo" title="Helion Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 424w, /__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 848w, /__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Vb3U!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad7c0305-ebe0-4e2f-80df-32db67390b5c_403x403.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/pytorch/helion">Helion</a> is a Python-embedded domain-specific language (DSL) for authoring machine learning kernels, designed to compile down to <a href="https://github.com/triton-lang/triton">Triton</a>, a performant backend for programming GPUs and other devices. Helion aims to raise the level of abstraction compared to Triton, making it easier to write correct and efficient kernels while enabling more automation in the autotuning process.</p><p><a href="https://github.com/openpcc/openpcc">OpenPCC</a> is an open-source framework for provably private AI inference, inspired by Apple&#8217;s Private Cloud Compute but fully open, auditable, and deployable on your own infrastructure. It allows anyone to run open or custom AI models without exposing prompts, outputs, or logs - enforcing privacy with encrypted streaming, hardware attestation, and unlinkable requests.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!47hQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 424w, /__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 848w, /__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!47hQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg" width="33" height="33" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:33,&quot;width&quot;:33,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="logo" title="logo" srcset="/__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 424w, /__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 848w, /__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!47hQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a9e61cc-2077-4dbc-865c-001ae7a2d27d_33x33.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/datachain-ai/datachain">DataChain</a> is a Python-based AI-data warehouse for transforming and analyzing unstructured data like images, audio, videos, text and PDFs. It integrates with external storage (e.g. S3) to process data efficiently without data duplication and manages metadata in an internal database for easy and efficient querying.</p><ol><li><p><strong>ETL.</strong> Pythonic framework for describing and running unstructured data transformations and enrichments, applying models to data, including LLMs.</p></li><li><p><strong>Analytics.</strong> DataChain dataset is a table that combines all the information about data objects in one place + it provides dataframe-like API and vectorized engine to do analytics on these tables at scale.</p></li><li><p><strong>Versioning.</strong> DataChain doesn&#8217;t store, require moving or copying data (unlike DVC). Perfect use case is a bucket with thousands or millions of images, videos, audio, PDFs.</p></li><li><p><strong>Incremental Processing.</strong> DataChain&#8217;s delta and retry features allow for efficient processing workflows:</p><ul><li><p><strong>Delta Processing</strong>: Process only new or changed files/records</p></li><li><p><strong>Retry Processing</strong>: Automatically reprocess records with errors or missing results</p></li><li><p><strong>Combined Approach</strong>: Process new data and fix errors in a single pipeline</p></li></ul></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!yQmK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 424w, /__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 848w, /__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 1272w, /__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!yQmK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png" width="1456" height="1373" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1373,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 424w, /__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 848w, /__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 1272w, /__u/substackcdn.com/image/fetch/$s_!yQmK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b53ac2-7aa3-4e0d-8a79-80cca5a63feb_1677x1581.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/pgmpy/pgmpy">pgmpy</a> is a Python library for causal and probabilistic modeling using graphical models. It provides a uniform API for building, learning, and analyzing models, such as Bayesian Networks, Dynamic Bayesian Networks, Directed Acyclic Graphs (DAGs), and Structural Equation Models (SEMs). By integrating tools from both probabilistic inference and causal inference, pgmpy enables users to seamlessly transition between predictive and causal analyses.</p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!1_sw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 424w, /__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 848w, /__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!1_sw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png" width="800" height="130" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:130,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;The ClickHouse company logo.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="The ClickHouse company logo." title="The ClickHouse company logo." srcset="/__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 424w, /__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 848w, /__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1_sw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3089cf17-45e2-4b6e-8f49-f31288fdaec0_800x130.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/ClickHouse/ClickHouse">ClickHouse</a>&#174; is an open-source column-oriented database management system that allows generating analytical data reports in real-time</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!wDOk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 424w, /__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 848w, /__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 1272w, /__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!wDOk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png" width="1280" height="320" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:320,&quot;width&quot;:1280,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Magnitude Text Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Magnitude Text Logo" title="Magnitude Text Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 424w, /__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 848w, /__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 1272w, /__u/substackcdn.com/image/fetch/$s_!wDOk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88ba0887-be15-4cdd-a525-c6f99359a75a_1280x320.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/sagekit/magnitude">Magnitude</a> uses vision AI to enable you to control your browser with natural language.</p><ul><li><p>&#129517; <strong>Navigate</strong> - Sees and understands any interface to plan out actions</p></li><li><p>&#128433;&#65039; <strong>Interact</strong> - Executes precise actions using mouse and keyboard</p></li><li><p>&#128269; <strong>Extract</strong> - Intelligently extracts useful structured data</p></li><li><p>&#9989; <strong>Verify</strong> - Built-in test runner with powerful visual assertions</p></li></ul><p>You can use it to automate tasks on the web, integrate between apps without APIs, extract data, test your web apps, or as a building block for your own browser agents.</p>]]></content:encoded></item><item><title><![CDATA[Model Safety at Uber]]></title><description><![CDATA[Skyvern, PyScripter and Argilla]]></description><link>https://mlops.substack.com/p/model-safety-at-uber</link><guid isPermaLink="false">https://mlops.substack.com/p/model-safety-at-uber</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Mon, 03 Nov 2025 00:01:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ipt_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3></h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ipt_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 424w, /__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 848w, /__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ipt_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png" width="1024" height="554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:554,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image" title="Image" srcset="/__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 424w, /__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 848w, /__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ipt_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2323efa-82fd-4868-bed0-3610ab61945b_1024x554.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Uber wrote a good <a href="https://www.uber.com/blog/raising-the-bar-on-ml-model-deployment-safety/">article</a> on how they are raising the bar on the model deployment by implementing a number of different checks and balances for model quality through some of the MLOps practices.</p><p>Uber&#8217;s centralized ML platform called <a href="https://www.uber.com/blog/michelangelo-machine-learning-platform/">Michelangelo</a>, which supports over 400 use cases, executes more than 20,000 training jobs monthly, and serves 15 million predictions per second during peak load. In such an environment, even minor degradations in model quality can ripple out rapidly, making &#8220;silent failures&#8221; or subtle regressions dangerous and hard to detect. Unlike conventional code, ML systems are deeply probabilistic and tightly coupled to their ever-changing data sources, rendering static code tests insufficient for reliability.</p><p>In order to provide high safety standards in such an environment, Uber adopts various principles and adopts methods to improve their operational efficiency and operate the systems in a reliable manner. </p><p>Main principles that they have adopted:</p><ul><li><p><strong>Data and Code as Artifacts:</strong> Every ML model is fundamentally dependent on its source data and code &#8212; both are equally critical in determining system reliability and are targets for silent failures.</p></li><li><p><strong>End-to-end Safeguards:</strong> Effective safety requires embedding protections at every stage &#8212; feature engineering, model training, pre-production validation, and post-deployment monitoring.</p></li><li><p><strong>Automation and Actionability:</strong> Safeguards are coupled with automated mechanisms (alerts, rollout gates, instant rollbacks) that act instantly when anomalies or regressions are detected.</p></li></ul><p>These principles provide both deployment safety and mitigation strategies in case something goes wrong post-deployment. </p><p>After the principles, the post is almost like a summary of what a good MLOps book should cover in terms of four categories with regards to ML Lifecycle:</p><h3>1. Data and Feature Engineering</h3><p>The earliest line of defense is ensuring feature-level consistency:</p><ul><li><p><strong>Null Handling:</strong> Uber enforces consistent representation of nulls and requires identical imputation logic in both training and serving. This eliminates subtle sources of schema or value drift.</p></li><li><p><strong>Schema Validation:</strong> Michelangelo&#8217;s pipelines automatically check data schemas for type mismatches, distribution shifts, and cardinality changes before they affect downstream systems.</p></li></ul><h3>2. Model Training and Operational Robustness</h3><p>Training is tightly linked with operational baselines:</p><ul><li><p><strong>Distributional Statistics:</strong> Offline training computes and records key statistics (percentiles, averages, null rates) for every numerical feature.</p></li><li><p><strong>Latency Budgets:</strong> All model architectures are vetted against strict latency budgets to ensure serving environments remain performant.</p></li><li><p><strong>Standardized Reporting:</strong> Each run produces model reports containing data-quality metrics, feature-importance rankings, and core performance stats&#8212;these are the basis for &#8220;deployment readiness&#8221; reviews.</p></li></ul><h3>3. Robust pre-Production Validation</h3><ul><li><p><strong>Backtesting:</strong> Models are validated against historical production data to catch regressions invisible in aggregate metrics.</p></li><li><p><strong>Shadow Testing:</strong> Most critical use cases undergo &#8220;shadow&#8221; deployments, in which new models run in parallel with production, feeding on the same live input&#8212;outputs are compared in real time, but only the production model affects users. This is increasingly required by default for online models.</p></li></ul><h3>4. Safe and Controlled Rollout</h3><ul><li><p><strong>Phased Rollout:</strong> Models are first deployed to a &#8220;traffic slice&#8221; with continuous monitoring. Any breach of error, latency, or resource thresholds triggers auto-rollback to the last approved version.</p></li><li><p><strong>Fallback Plans:</strong> Every rollout includes predefined fallback and contingency measures to ensure business continuity.</p></li></ul><p></p><h3>Monitoring &amp; Observability</h3><p>For monitoring and observability, they use extensively Hue to both monitor and create alerts on the operational metrics such as availability, latency as well as prediction or model quality metrics such as calibration, entropy. </p><ul><li><p><strong>Operational Metrics:</strong> Availability, latency, throughput.</p></li><li><p><strong>Prediction Metrics:</strong> Score distributions, calibration, entropy.</p></li><li><p><strong>Feature Health:</strong> Null rates, drift detection via statistical tests, online-offline feature parity checks.</p></li><li><p><strong>Automated Alerts and Promotion Gates:</strong> If thresholds are breached (especially in high-risk cases), promotions can be blocked autonomously until remediated.</p></li></ul><ul><li><p><strong>&#8220;Hue&#8221; System:</strong> Separates data profiling from monitoring so teams can compare live and historical feature distributions, supporting slicing and debugging at Uber scale (Flink and Pinot power this stream analytics).</p></li></ul><ul><li><p>Automated data-quality checks, system monitoring, and gradual rollout with rollback are default for every model.</p></li><li><p>Continuous &#8220;offline&#8221; and &#8220;real-time&#8221; validation, plugged seamlessly into Michelangelo, rapidly highlights regressions&#8212;this means issues that once took days to be detected now surface in hours or less.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!bpLT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 424w, /__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 848w, /__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bpLT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png" width="1024" height="448" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:448,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image" title="Image" srcset="/__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 424w, /__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 848w, /__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bpLT!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbac629ec-37e2-4308-a1cf-30329f3e71bc_1024x448.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Model Safety Deployment Scoring:</strong> Uber tracks four key aspects for each model family:</p><ul><li><p>Offline evaluation coverage</p></li><li><p>Shadow deployment coverage</p></li><li><p>Unit-test coverage (for both monorepo and new lines)</p></li><li><p>Active monitoring and alerting coverage</p></li></ul></li><li><p>These metrics form a transparent safety score showing a family&#8217;s overall readiness for deployment, driving continuous improvement and adoption.</p></li></ul><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_R3N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 424w, /__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 848w, /__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_R3N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png" width="402" height="108" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:108,&quot;width&quot;:402,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 424w, /__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 848w, /__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_R3N!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb58dd4ec-a6ec-4716-a4f5-36d8549ace47_402x108.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://www.skyvern.com/">Skyvern</a> automates browser-based workflows using LLMs and computer vision. It provides a simple API endpoint to fully automate manual workflows on a large number of websites, replacing brittle or unreliable automation solutions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!mfjn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 424w, /__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 848w, /__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 1272w, /__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!mfjn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png" width="964" height="720" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:720,&quot;width&quot;:964,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 424w, /__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 848w, /__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 1272w, /__u/substackcdn.com/image/fetch/$s_!mfjn!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5d6e53-d902-4baa-b7e1-e62b22f22d90_964x720.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Skyvern was inspired by the Task-Driven autonomous agent design popularized by <a href="https://github.com/yoheinakajima/babyagi">BabyAGI</a> and <a href="https://github.com/Significant-Gravitas/AutoGPT">AutoGPT</a> -- with one major bonus: we give Skyvern the ability to interact with websites using browser automation libraries like <a href="https://playwright.dev/">Playwright</a>.</p><p>This approach has the following advantages:</p><ol><li><p>Skyvern can operate on websites it&#8217;s never seen before, as it&#8217;s able to map visual elements to actions necessary to complete a workflow, without any customized code</p></li><li><p>Skyvern is resistant to website layout changes, as there are no pre-determined XPaths or other selectors our system is looking for while trying to navigate</p></li><li><p>Skyvern is able to take a single workflow and apply it to a large number of websites, as it&#8217;s able to reason through the interactions necessary to complete the workflow</p></li><li><p>Skyvern leverages LLMs to reason through interactions to ensure we can cover complex situations. Examples include:</p><ol><li><p>If you wanted to get an auto insurance quote from Geico, the answer to a common question &#8220;Were you eligible to drive at 18?&#8221; could be inferred from the driver receiving their license at age 16</p></li><li><p>If you were doing competitor analysis, it&#8217;s understanding that an Arnold Palmer 22 oz can at 7/11 is almost definitely the same product as a 23 oz can at Gopuff </p></li></ol></li></ol><p><a href="https://github.com/apple/pico-banana-400k">Pico-Banana-400K</a> is a large-scale dataset of <strong>~400K text&#8211;image&#8211;edit triplets</strong> designed to advance research in <strong>text-guided image editing</strong>.<br>Each example contains:</p><ul><li><p>an <strong>original image</strong> (from <a href="https://storage.googleapis.com/openimages/web/factsfigures.html">Open Images</a>),</p></li><li><p>a <strong>human-like edit instruction</strong>, and</p></li><li><p>the <strong>edited result</strong> generated by Nano-Banana and verified by Gemini-2.5-Pro.</p></li></ul><p>The dataset spans <strong>35 edit operations</strong> across <strong>8 semantic categories</strong>, covering diverse transformations&#8212;from low-level color adjustments to high-level object, scene, and stylistic edits.</p><p><a href="https://github.com/microsoft/msccl">MSCCL</a> is an inter-accelerator communication framework that is built on top of <a href="https://github.com/nvidia/nccl">NCCL</a> and uses its building blocks to execute custom-written collective communication algorithms. MSCCL vision is to provide a unified, efficient, and scalable framework for executing collective communication algorithms across multiple accelerators.</p><p><a href="https://github.com/ai-dynamo/nixl">NVIDIA Inference Xfer Library (NIXL)</a> is targeted for accelerating point to point communications in AI inference frameworks such as NVIDIA Dynamo, while providing an abstraction over various types of memory (e.g., CPU and GPU) and storage (e.g., file, block and object store) through a modular plug-in architecture.</p><p>DeepEP is a communication library tailored for Mixture-of-Experts (MoE) and expert parallelism (EP). It provides high-throughput and low-latency all-to-all GPU kernels, which are also known as MoE dispatch and combine. The library also supports low-precision operations, including FP8.</p><h3>Below the Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!-Wqw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 424w, /__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 848w, /__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!-Wqw!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif" width="800" height="405" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91d773bb-1698-4f55-a847-533059b36112_800x405.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:405,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LightlyStudio Overview&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LightlyStudio Overview" title="LightlyStudio Overview" srcset="/__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 424w, /__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 848w, /__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!-Wqw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91d773bb-1698-4f55-a847-533059b36112_800x405.gif 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://www.lightly.ai/lightly-studio">LightlyStudio</a></strong> is an open-source tool designed to unify your data workflows from curation, annotation and management in a single tool. You can work with COCO and ImageNet on a Macbook Pro with M1 and 16GB of memory!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!zDeR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 424w, /__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 848w, /__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 1272w, /__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!zDeR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png" width="1456" height="850" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:850,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Screenshot&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Screenshot" title="Screenshot" srcset="/__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 424w, /__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 848w, /__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 1272w, /__u/substackcdn.com/image/fetch/$s_!zDeR!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997ad25c-97ef-4782-8f35-2c4a294bed03_1568x915.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/pyscripter/pyscripter">PyScripter</a> is a free and open-source Python Integrated Development Environment (IDE) created with the ambition to become competitive in functionality with commercial Windows-based IDEs available for other languages.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!h5iL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 424w, /__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 848w, /__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 1272w, /__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!h5iL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png" width="268" height="151.3021978021978" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b154db90-3baf-4310-bd32-f321d518df83_2941x1661.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:822,&quot;width&quot;:1456,&quot;resizeWidth&quot;:268,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Katakate Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Katakate Logo" title="Katakate Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 424w, /__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 848w, /__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 1272w, /__u/substackcdn.com/image/fetch/$s_!h5iL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb154db90-3baf-4310-bd32-f321d518df83_2941x1661.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p></p><p><a href="https://github.com/Katakate/k7">Katakate</a> aims to make it easy to create, manage and orchestrate lightweight safe VM sandboxes for executing untrusted code, at scale. It is built on battle-tested VM isolation with Kata, Firecracker and Kubernetes. It is orignally motivated by AI agents that need to run arbitrary code at scale but it is also great for:</p><ul><li><p>Custom serverless (like AWS Fargate, but yours)</p></li><li><p>Hardened CI/CD runners (no Docker-in-Docker risks)</p></li><li><p>Blockchain execution layers for AI dApps</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!u3DK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 424w, /__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 848w, /__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!u3DK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg" width="133" height="70" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:70,&quot;width&quot;:133,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Argilla&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Argilla" title="Argilla" srcset="/__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 424w, /__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 848w, /__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!u3DK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075b4e22-d54e-4df1-b41e-7d11ce989db6_133x70.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/argilla-io/argilla">Argilla</a> is a collaboration tool for AI engineers and domain experts who need to build high-quality datasets for their projects.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!xIpH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 424w, /__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 848w, /__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!xIpH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp" width="1456" height="1049" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1049,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Admin UI&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Admin UI" title="Admin UI" srcset="/__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 424w, /__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 848w, /__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!xIpH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b4ce223-55b1-4fe1-a908-133c1af2b943_1665x1200.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/trailbaseio/trailbase">Trailbase</a> is an open, <a href="https://trailbase.io/reference/benchmarks/">blazingly fast</a>, single-executable Firebase alternative with type-safe REST &amp; realtime APIs, built-in WebAssembly runtime, SSR, auth and admin UI built on Rust, SQLite &amp; Wasmtime.</p><p>Simplify with fewer moving parts: an easy to self-host, single-executable, extensible backend for your mobile, web or desktop application. Sub-millisecond latencies eliminate the need for dedicated caches, no more stale or inconsistent data.</p><p></p>]]></content:encoded></item><item><title><![CDATA[Modular Manifolds]]></title><description><![CDATA[Llama-Factory, Qwen3-Omni]]></description><link>https://mlops.substack.com/p/modular-manifolds</link><guid isPermaLink="false">https://mlops.substack.com/p/modular-manifolds</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 19 Oct 2025 21:00:28 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!YbX5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><p>ThinkingMachines wrote a rather interesting and in depth <a href="https://thinkingmachines.ai/blog/modular-manifolds/">piece</a> on the Modular Manifolds.</p><p>The fundamental challenge in training large neural networks lies in maintaining tensor health&#8212;ensuring that weights, activations, and gradients neither grow excessively large nor become vanishingly small. Traditional approaches have focused extensively on normalizing activations through techniques like layer normalization and gradient normalization through optimizers like <a href="https://kellerjordan.github.io/posts/muon/">Muon</a>, but weight matrix normalization remains under-explored despite its potential benefits for training stability and predictability.</p><p>This post specifically presents a framework &#8220;modular manifolds&#8221; that constrains weight matrices to specific geometric structures (manifolds) while co-designing optimization algorithms that respect these constraints. This approach promises several advantages: </p><ol><li><p>simplified hyperparameter tuning by focusing on tensors whose size matters most, </p></li><li><p>prevention of weight norm explosions, </p></li><li><p>improved matrix conditioning for more predictable behavior</p></li><li><p>facilitation of Lipschitz guarantees for robustness.</p></li></ol><p>Before explaining further, let&#8217;s look at some basic concepts especially what Manifold is.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!YbX5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 424w, /__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 848w, /__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!YbX5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png" width="1410" height="914" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:914,&quot;width&quot;:1410,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:247578,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 424w, /__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 848w, /__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YbX5!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0ffd7eb-02e7-4655-b23e-90439daf92b6_1410x914.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>Manifold Concepts</h4><p>A manifold represents a curved surface that appears locally flat when examined closely, with the locally flat approximation at any point called the tangent space. The key insight is that optimization should occur within the tangent space rather than projecting updates back onto the manifold after each step, ensuring that the learning rate corresponds directly to the actual optimization step length.</p><p>The fundamental principle involves three sequential steps for any manifold optimizer: </p><ul><li><p>finding the unit-length tangent vector that maximizes progress in the gradient direction, </p></li><li><p>scaling this direction by the learning rate and updating weights</p></li><li><p>retracting the updated weights back onto the manifold. </p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!9NFU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 424w, /__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 848w, /__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 1272w, /__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!9NFU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png" width="1370" height="656" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:656,&quot;width&quot;:1370,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:371182,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 424w, /__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 848w, /__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 1272w, /__u/substackcdn.com/image/fetch/$s_!9NFU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffff65d10-bc91-4d3a-8742-73f1ca775bc5_1370x656.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The choice of distance measurement in the tangent space critically affects the optimal update direction, with non-Euclidean distance measures potentially enabling greater progress toward the gradient direction for fixed step length.</p><p>The optimization problem considers constraining a vector parameter to a hypersphere in d-dimensional space, where all points maintain unit Euclidean norm. The tangent space at any point consists of vectors orthogonal to the current position, and the problem turns into a constrained minimization seeking the update direction that minimizes linear change in loss while satisfying both size and tangent constraints.</p><p>Using Lagrange multipliers, the optimal update formula emerges as subtracting the radial component from the gradient, normalizing the result, and multiplying by the learning rate. The retraction map, derived through Pythagoras&#8217; theorem, involves dividing updated weights by the square root of one plus the squared learning rate to maintain the spherical constraint.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!hEJ9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 424w, /__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 848w, /__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 1272w, /__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!hEJ9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png" width="1358" height="934" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:934,&quot;width&quot;:1358,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:335525,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 424w, /__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 848w, /__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 1272w, /__u/substackcdn.com/image/fetch/$s_!hEJ9!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31294024-b29f-4f7e-9d48-4b8dc7634eac_1358x934.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Extending manifold optimization to matrix parameters requires careful consideration of how weight matrices function within neural networks. Most transformer weight matrices act as &#8220;vector-multipliers,&#8221; transforming input vectors through matrix multiplication, and their behavior can be understood through singular value decomposition, which reveals how matrices stretch input vectors along different axes.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!eQeQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 424w, /__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 848w, /__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 1272w, /__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!eQeQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png" width="1254" height="574" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:574,&quot;width&quot;:1254,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:96033,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 424w, /__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 848w, /__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 1272w, /__u/substackcdn.com/image/fetch/$s_!eQeQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd1f953-7925-48fc-b7a4-55c4f5f2ce2f_1254x574.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The <a href="https://en.wikipedia.org/wiki/Stiefel_manifold">Stiefel manifold</a> becomes as the natural choice for matrix constraints, defined as the set of matrices where all singular values equal one, ensuring that the matrix neither excessively amplifies nor diminishes input vectors. For tall matrices (m &#8805; n), this manifold can be characterized by the constraint W^T W = I_n, directly generalizing the hyperspherical constraint from vector parameters.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!57Je!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 424w, /__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 848w, /__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 1272w, /__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!57Je!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png" width="1390" height="742" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:742,&quot;width&quot;:1390,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:134664,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 424w, /__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 848w, /__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 1272w, /__u/substackcdn.com/image/fetch/$s_!57Je!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62f2613-14f1-419f-9ab2-61d37fa0359a_1390x742.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The manifold Muon algorithm combines Stiefel manifold constraints with spectral norm distance measurement to limit the maximum stretching effect of weight updates. This formulation leads to a constrained optimization problem that can be solved through dual ascent methodology, converting the original constrained minimization into an unconstrained maximization problem.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!joLB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 424w, /__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 848w, /__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 1272w, /__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!joLB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png" width="1392" height="562" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:562,&quot;width&quot;:1392,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:117157,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 424w, /__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 848w, /__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 1272w, /__u/substackcdn.com/image/fetch/$s_!joLB!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21fd0b64-a4b5-4367-a834-de80a88fd66c_1392x562.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The solution involves introducing Lagrange multipliers and applying a series of mathematical transformations, ultimately yielding a dual problem solvable by gradient ascent. The complete algorithm consists of four steps: running gradient ascent on dual variables to find optimal Lagrange multipliers, computing the optimal update using the matrix sign function applied to a combination of gradients and weighted matrices, applying this update to the weights, and retracting weights back to the manifold using the matrix sign function.</p><p>The manifold Muon problem generalizes the hyperspherical case to matrices, seeking update directions that minimize gradient alignment subject to spectral norm constraints and tangent space requirements. The matrix sign function, which normalizes singular values to one, plays a central role in both computing optimal updates and performing manifold retraction.</p><p>The dual ascent approach transforms the problem through multiple steps: </p><ul><li><p>reformulating as a saddle point problem where maximization over Lagrange multipliers penalizes tangent space violations, </p></li><li><p>applying trace properties and Sion&#8217;s minimax theorem, </p></li><li><p>solving the inner minimization to obtain optimal updates parameterized by Lagrange multipliers,</p></li><li><p>deriving the dual function involving nuclear norm gradients</p></li></ul><p></p><p>The modular manifolds framework addresses the crucial question of how manifold constraints interact when combining layers to build complete networks. Rather than requiring global coordination, the theory enables reasoning about individual layers in isolation while automatically handling inter-layer interactions through a principled abstraction.</p><p>Any neural network module is characterized by three mathematical attributes: a forward function mapping from parameter space and input space to output space, a submanifold constraining the weights, and a norm serving as a measuring stick on weight space. For example, a Stiefel-constrained linear module combines linear transformation with Stiefel manifold constraints and spectral norm measurement.</p><p>When composing two modules, specific rules ensure that Lipschitz properties are preserved and automatically compiled for the joint system. The new forward function results from composing existing forward functions, the new manifold constraint becomes the Cartesian product of existing manifolds, and the new norm function represents the maximum of existing norm functions weighted by special scalar coefficients.</p><p>These scalar coefficients serve as learning rate budgets across layers, emerging naturally from the mathematical structure rather than requiring manual tuning. The composite norm automatically derives separate optimizers for each layer while the coefficients handle learning rate allocation, ensuring that updates respect the overall network&#8217;s Lipschitz properties.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Ujv3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 424w, /__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 848w, /__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Ujv3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png" width="1334" height="374" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:374,&quot;width&quot;:1334,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:92247,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/172520923?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 424w, /__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 848w, /__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Ujv3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74930e2e-acd4-48ff-aeaa-2a7121a9a99c_1334x374.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>Lipschitz Analysis</h4><p>Budgeting learning rates across layers directly relates to understanding network output sensitivity with respect to weights. Manifold constraints enable much tighter bounds on this sensitivity compared to unconstrained approaches. For instance, a Stiefel-constrained linear module with unit-norm inputs maintains Lipschitz properties with constant one, meaning output changes are bounded by weight perturbation magnitude measured in spectral norm. This Lipschitz statement extends automatically to composed modules following the composition rules, providing principled foundations for scaling weight updates throughout the network. Practical implementation of manifold optimization requires efficient computation of several mathematical operations, particularly the matrix sign function used in manifold Muon. Recent research like the <a href="https://arxiv.org/abs/2505.16932">Polar Express</a> algorithm show promise for fast matrix sign computation on GPUs, but further algorithmic innovations may be necessary for large-scale deployment.</p><p>The dual ascent approach in manifold Muon involves iterative optimization to solve for Lagrange multipliers, potentially requiring multiple inner iterations per optimization step. This computational overhead must be weighed against benefits of improved conditioning and stability, particularly for large models where training stability is paramount.</p><h4>Modularity and Architecture Design</h4><p>The modular manifolds framework opens numerous questions about optimal manifold choices for different network components. Attention heads and embeddings may benefit from different constraint types, and the framework naturally accommodates mixed constraint patterns where some tensors remain unconstrained.</p><p>Architecture-optimizer co-design represents a promising direction, where manifold constraints exemplify tight integration between architectural components and optimization algorithms. While hard manifold constraints may not ultimately prove optimal, they demonstrate the potential for discovering new co-design opportunities.</p><h4>Advanced Optimization Techniques</h4><p>The dual ascent formulation of manifold Muon suggests opportunities for applying more sophisticated convex optimization techniques to solve dual problems faster and more reliably. Convergence analysis remains an open question, particularly regarding whether improved weight matrix conditioning accelerates overall convergence.</p><p>Regularization effects of manifold constraints deserve deeper investigation, including whether constraint radii can be tuned to improve generalization performance. The implicit regularization provided by manifold constraints may offer new approaches to controlling model complexity.</p><p>Most manifold optimization research operates within Riemannian geometry where distances derive from inner products. However, neural networks naturally involve operator norms like the spectral norm that do not emerge from inner products, creating non-Riemannian geometric structures with sharp-cornered norm balls and non-unique gradient flows.</p><p>This non-Riemannian world may harbor undiscovered optimization principles particularly relevant to neural network training. The geometric structure of neural network weight spaces may provide insights into more effective optimization approaches.</p><h4>Challenges</h4><p>Scaling manifold optimization techniques to contemporary large models requires addressing several practical considerations. Efficient GPU implementations of manifold operations remain crucial, particularly for operations like matrix sign computation that may not have optimized implementations in standard deep learning frameworks. Memory overhead associated with storing dual variables and performing additional computations must be balanced against training benefits.</p><h4>Connection to Existing Optimization Theory</h4><p>This framework provides a principled approach to understanding how local optimization decisions affect global network behavior through compositional Lipschitz analysis.</p><p>The relationship between manifold constraints and existing regularization techniques deserves further exploration, particularly understanding how geometric constraints relate to more familiar penalty-based approaches. The automatic learning rate budgeting emerging from modular manifold composition offers an alternative to manual hyperparameter tuning that may prove more principled and effective.</p><h4>Impact on Training</h4><p>By constraining weight matrices to well-conditioned manifolds, the approach may fundamentally alter training dynamics in ways that improve both stability and convergence. The elimination of weight norm explosions and the guarantee of bounded condition numbers create more predictable training behavior that may be particularly valuable for large-scale experiments.</p><p>The Lipschitz guarantees provided by manifold constraints offer robustness benefits that extend beyond optimization to model deployment, where bounded sensitivity to input perturbations provides security and reliability advantages.</p><h2></h2><h2>Libraries</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Kjpm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 424w, /__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 848w, /__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Kjpm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png" width="1400" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:400,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;# LLaMA Factory&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="# LLaMA Factory" title="# LLaMA Factory" srcset="/__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 424w, /__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 848w, /__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Kjpm!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b8e8ca-5167-4bce-b6ce-09bd46b575dc_1400x400.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/hiyouga/LLaMA-Factory">Llama-Factory</a> is a library that provides Unified Efficient Fine-Tuning of 100+ LLMs &amp; VLMs (ACL 2024).</p><h4><strong>Features</strong></h4><ul><li><p><strong>Various models</strong>: LLaMA, LLaVA, Mistral, Mixtral-MoE, Qwen, Qwen2-VL, DeepSeek, Yi, Gemma, ChatGLM, Phi, etc.</p></li><li><p><strong>Integrated methods</strong>: (Continuous) pre-training, (multimodal) supervised fine-tuning, reward modeling, PPO, DPO, KTO, ORPO, etc.</p></li><li><p><strong>Scalable resources</strong>: 16-bit full-tuning, freeze-tuning, LoRA and 2/3/4/5/6/8-bit QLoRA via AQLM/AWQ/GPTQ/LLM.int8/HQQ/EETQ.</p></li><li><p><strong>Advanced algorithms</strong>: <a href="https://github.com/jiaweizzhao/GaLore">GaLore</a>, <a href="https://github.com/Ledzy/BAdam">BAdam</a>, <a href="https://github.com/zhuhanqing/APOLLO">APOLLO</a>, <a href="https://github.com/zyushun/Adam-mini">Adam-mini</a>, <a href="https://github.com/KellerJordan/Muon">Muon</a>, <a href="https://github.com/huggingface/peft/tree/main/src/peft/tuners/oft">OFT</a>, DoRA, LongLoRA, LLaMA Pro, Mixture-of-Depths, LoRA+, LoftQ and PiSSA.</p></li><li><p><strong>Practical tricks</strong>: <a href="https://github.com/Dao-AILab/flash-attention">FlashAttention-2</a>, <a href="https://github.com/unslothai/unsloth">Unsloth</a>, <a href="https://github.com/linkedin/Liger-Kernel">Liger Kernel</a>, RoPE scaling, NEFTune and rsLoRA.</p></li><li><p><strong>Wide tasks</strong>: Multi-turn dialogue, tool using, image understanding, visual grounding, video recognition, audio understanding, etc.</p></li><li><p><strong>Experiment monitors</strong>: LlamaBoard, TensorBoard, Wandb, MLflow, <a href="https://github.com/SwanHubX/SwanLab">SwanLab</a>, etc.</p></li><li><p><strong>Faster inference</strong>: OpenAI-style API, Gradio UI and CLI with <a href="https://github.com/vllm-project/vllm">vLLM worker</a> or <a href="https://github.com/sgl-project/sglang">SGLang worker</a>.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!e9tV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 424w, /__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 848w, /__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 1272w, /__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!e9tV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png" width="1441" height="930" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:930,&quot;width&quot;:1441,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 424w, /__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 848w, /__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 1272w, /__u/substackcdn.com/image/fetch/$s_!e9tV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2b35a66-422a-483b-a50c-7eab6405dbb3_1441x930.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!x52g!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 424w, /__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 848w, /__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 1272w, /__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!x52g!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png" width="1456" height="1522" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1522,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 424w, /__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 848w, /__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 1272w, /__u/substackcdn.com/image/fetch/$s_!x52g!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd39d9d5e-f567-4ed6-a9f7-4f0628135afa_2688x2809.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/QwenLM/Qwen3-Omni">Qwen3-Omni</a> is the natively end-to-end multilingual omni-modal foundation models. It processes text, images, audio, and video, and delivers real-time streaming responses in both text and natural speech. We introduce several architectural upgrades to improve performance and efficiency.</p><p><a href="https://github.com/apple/ml-simplefold">SimpleFold</a>, the first flow-matching based protein folding model that solely uses general purpose transformer layers. SimpleFold does not rely on expensive modules like triangle attention or pair representation biases, and is trained via a generative flow-matching objective. SimpleFold can scale to 3B parameters and train it on more than 8.6M distilled protein structures together with experimental PDB data. To the best of researchers&#8217;per knowledge, SimpleFold is the largest scale folding model ever developed. On standard folding benchmarks, SimpleFold-3B model achieves competitive performance compared to state-of-the-art baselines. Due to its generative training objective, SimpleFold also demonstrates strong performance in ensemble prediction. SimpleFold challenges the reliance on complex domain-specific architectures designs in folding, highlighting an alternative yet important avenue of progress in protein structure prediction.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!rEYO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 424w, /__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 848w, /__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 1272w, /__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!rEYO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png" width="848" height="352" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:352,&quot;width&quot;:848,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 424w, /__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 848w, /__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 1272w, /__u/substackcdn.com/image/fetch/$s_!rEYO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef12da7-c24a-4e13-ab7e-41daa70071a2_848x352.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/musistudio/claude-code-router">Claude Code Router</a> allows you to use Claude Code as the foundation for coding infrastructure, and you can decide how to interact with the model while enjoying updates from Anthropic.</p><p><a href="https://github.com/explosion/spaCy">spaCy</a> is a library for <strong>advanced Natural Language Processing</strong> in Python and Cython. It&#8217;s built on the very latest research, and was designed from day one to be used in real products.</p><ul><li><p>spaCy comes with <a href="https://spacy.io/models">pretrained pipelines</a> and currently supports tokenization and training for <strong>70+ languages</strong>. It features state-of-the-art speed and <strong>neural network models</strong> for tagging, parsing, <strong>named entity recognition</strong>, <strong>text classification</strong> and more, multi-task learning with pretrained <strong>transformers</strong> like BERT, as well as a production-ready <strong><a href="https://spacy.io/usage/training">training system</a></strong> and easy model packaging, deployment and workflow management. </p></li></ul><p></p><h4><strong>Features</strong></h4><ul><li><p><strong>Model Routing</strong>: Route requests to different models based on your needs (e.g., background tasks, thinking, long context).</p></li><li><p><strong>Multi-Provider Support</strong>: Supports various model providers like OpenRouter, DeepSeek, Ollama, Gemini, Volcengine, and SiliconFlow.</p></li><li><p><strong>Request/Response Transformation</strong>: Customize requests and responses for different providers using transformers.</p></li><li><p><strong>Dynamic Model Switching</strong>: Switch models on-the-fly within Claude Code using the <code>/model</code> command.</p></li></ul><h2>Below the Fold</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!kGxr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 424w, /__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 848w, /__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!kGxr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Tutorial&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Tutorial" title="Tutorial" srcset="/__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 424w, /__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 848w, /__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 1272w, /__u/substackcdn.com/image/fetch/$s_!kGxr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ae97ab2-b202-4256-8fc3-a52ae996e89d_2314x1250.webp 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/ajeetdsouza/zoxide">zoxide</a> is a <strong>smarter cd command</strong>, inspired by z and autojump.</p><p>It remembers which directories you use most frequently, so you can &#8220;jump&#8221; to them in just a few keystrokes.<br>zoxide works on all major shells.</p><ul><li><p><strong>GitHub Actions Integration</strong>: Trigger Claude Code tasks in your GitHub workflows.</p></li><li><p><strong>Plugin System</strong>: Extend functionality with custom transformers.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!tsIN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 424w, /__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 848w, /__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 1272w, /__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!tsIN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png" width="1456" height="546" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:546,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 424w, /__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 848w, /__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 1272w, /__u/substackcdn.com/image/fetch/$s_!tsIN!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1ab6639-442c-440e-a9a8-693b8437ca15_2562x960.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/francoismichel/ssh3">SSH3</a> is a complete revisit of the SSH protocol, mapping its semantics on top of the HTTP mechanisms. It comes from our research work and we (researchers) recently proposed it as an <a href="https://www.ietf.org/how/ids/">Internet-Draft</a> (<a href="https://datatracker.ietf.org/doc/draft-michel-remote-terminal-http3/">draft-michel-remote-terminal-http3-00</a>).</p><p>In a nutshell, SSH3 uses <a href="https://datatracker.ietf.org/doc/html/rfc9000">QUIC</a>+<a href="https://datatracker.ietf.org/doc/html/rfc8446">TLS1.3</a> for secure channel establishment and the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#name-authorization">HTTP Authorization</a> mechanisms for user authentication. Among others, SSH3 allows the following improvements:</p><ul><li><p>Significantly faster session establishment</p></li><li><p>New HTTP authentication methods such as <a href="https://datatracker.ietf.org/doc/html/rfc6749">OAuth 2.0</a> and <a href="https://openid.net/specs/openid-connect-core-1_0.html">OpenID Connect</a> in addition to classical SSH authentication</p></li><li><p>Robustness to port scanning attacks: your SSH3 server can be made <strong>invisible</strong> to other Internet users</p></li><li><p>UDP port forwarding in addition to classical TCP port forwarding</p></li><li><p>All the features allowed by the modern QUIC protocol: including connection migration (soon) and multipath connections</p></li></ul><p><a href="https://github.com/scaleapi/SWE-bench_Pro-os">SWE-Bench Pro</a> is a challenging benchmark evaluating LLMs/Agents on long-horizon software engineering tasks. Given a <em>codebase</em> and an <em>issue</em>, a language model is tasked with generating a <em>patch</em> that resolves the described problem.</p>]]></content:encoded></item><item><title><![CDATA[ChatGPT-OSS from OpenAI ]]></title><description><![CDATA[and how this move is related to Android being open-sourced by Google]]></description><link>https://mlops.substack.com/p/chatgpt-oss-from-openai</link><guid isPermaLink="false">https://mlops.substack.com/p/chatgpt-oss-from-openai</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sat, 16 Aug 2025 23:01:31 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!VSjI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>OpenAI open-sources GPT!</h1><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!O5al!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 424w, /__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 848w, /__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 1272w, /__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!O5al!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png" width="1456" height="288" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:288,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:56352,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 424w, /__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 848w, /__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 1272w, /__u/substackcdn.com/image/fetch/$s_!O5al!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef30e491-e22e-4693-b8c0-1f56ec7367ce_2380x470.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>OpenAI's recent release of its <a href="https://openai.com/index/introducing-gpt-oss/">first open-weight models</a> since GPT-2&#8212;<strong>gpt-oss-120b</strong> and <strong>gpt-oss-20b</strong>&#8212;represents far more than a return to the company's open-source roots. This move signals a defensive strategy that mirrors Google's Android strategy, demonstrating how open-sourcing can paradoxically strengthen competitive moats while appearing to give away the crown jewels for companies. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!VSjI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 424w, /__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 848w, /__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 1272w, /__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!VSjI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png" width="1110" height="892" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:892,&quot;width&quot;:1110,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:74291,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 424w, /__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 848w, /__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 1272w, /__u/substackcdn.com/image/fetch/$s_!VSjI!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b946089-90a5-4790-ae8e-c658ef745fe9_1110x892.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>In this article, I will draw some parallels between OpenAI's pivot to OSS and Google's Android ecosystem reveals how companies can weaponize openness to maintain long-term dominance.</p><p>After Google acquired Android, its strategy established the definitive playbook for using open source as a defensive weapon. Google open-sourced Android and the move was anything but altruistic&#8212;it was strategic defensive play designed to prevent platform lock-in by competitors. The core was that by commoditizing the mobile operating system layer, Google could ensure its services remained accessible across the entire mobile ecosystem, regardless of hardware manufacturer.</p><p>Android's open-source nature created what appeared to be a fragmented market with multiple hardware vendors&#8212;Samsung, LG, HTC, and others&#8212;all competing on the same platform. However, one thing was same with this level of fragmentation: every Android device became a Google services delivery vehicle. While hardware manufacturers competed on margins, Google maintained control over the profitable layer&#8212;search, advertising and later other services. The company traded short-term licensing revenue for long-term platform dominance, ensuring that even as the mobile market exploded, Google's core business remained protected and its distribution of services are not disturbed in a fragmented HW vendors space. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!jq4v!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 424w, /__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 848w, /__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!jq4v!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png" width="1110" height="886" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:886,&quot;width&quot;:1110,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:77461,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 424w, /__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 848w, /__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jq4v!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff55f0878-e968-4e35-8133-53dcb9f80868_1110x886.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The defensibility wasn't just about market access or distribution; it was about preventing competitive platform lock-in. Had Apple's iOS or Microsoft's Windows Mobile achieved total dominance, Google could have found itself locked out of mobile entirely, with competitors controlling the gateway to billions of users. Android's open architecture made such exclusion impossible while creating powerful network effects that grew stronger with each new device and developer.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Xaqk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 424w, /__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 848w, /__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Xaqk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png" width="1456" height="251" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:251,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:546652,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 424w, /__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 848w, /__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Xaqk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f417356-24bc-47b6-8ac2-5e916183c185_2410x416.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!qNUX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 424w, /__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 848w, /__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!qNUX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png" width="1456" height="233" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:233,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:520991,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 424w, /__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 848w, /__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qNUX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff17a226e-3666-4697-a8b3-6dcd3e0cd5bc_2470x396.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p> Android actually won against iOS in the <a href="https://gs.statcounter.com/os-market-share/mobile/worldwide">world</a> with a large market share(Android: 72.13% and iOS: 27.48%) and competed well within <a href="https://gs.statcounter.com/os-market-share/mobile/united-states-of-america">USA</a>(58.68% iOS and 41.03% Android). </p><h4>OpenAI's Strategic Parallel</h4><p>OpenAI's open-weight model release follows the same strategic logic, adapted for the AI era. Facing mounting pressure from competitors like DeepSeek, Alibaba's Qwen, and other open-source models that deliver "roughly 90% of the performance at a mere 10% of the cost<strong>"</strong>, OpenAI found itself in a position eerily similar to Google in 2005&#8212;potentially being outplayed by more open alternatives.</p><p>The strategic calculus is clear: rather than lose market share to open-source competitors, OpenAI is commoditizing the foundation model layer while maintaining superiority in the premium tier. The gpt-oss models aren't OpenAI's best technology&#8212;that remains with GPT-5 and the closed-source premium offerings. Instead, they're strategic weapons designed to prevent the open-source ecosystem from entirely bypassing OpenAI's influence and defend OpenAI against such pressures.</p><p>This approach serves multiple defensive purposes simultaneously. First, it counters the narrative that OpenAI has abandoned its open-source roots, addressing criticism from who accused the company of betraying its founding principles. Second, it provides a competitive alternative to increasingly sophisticated other competitor models.</p><p>Most importantly, the open-weight models function as an ecosystem builder. Just as Android attracted developers to Google's platform, gpt-oss models draw AI researchers and developers into OpenAI's orbit, creating network effects around the company's tools, frameworks, and cloud infrastructure. I will expand this a bit more later but especially fine-tuning will become more important to build specialized models, this section might be more and more important as it will allow developers to use a particular operating system to build their applications. </p><h4>Closed and Open as Complementary Weapons</h4><p>Both strategies lies in how they balance closed and open components to maximize strategic advantage. Google didn't open-source everything about Android&#8212;<strong>Google  Services, the most valuable components of the ecosystem, remained proprietary</strong>. This allowed Google to maintain control over critical functionality while benefiting from the innovation and adoption that open source enables.</p><p>OpenAI employs a similar dual strategy architecture. The open-weight gpt-oss models provide a foundation that developers can build upon, but they're explicitly positioned as complementary to OpenAI's premium closed-source offerings. The architecture also includes hybrid capabilities&#8212;if the open model encounters a task beyond its capabilities, it can seamlessly call OpenAI's closed-source models in the cloud where the better/more capable model can be used and marketed to the user if the OSS model cannot respond to the task at hand.</p><p>This creates a good funnel effect: developers start with the free open models, become embedded in OpenAI's ecosystem, and naturally graduate to premium services as their needs scale or capabilities that lie beyond OSS models. The open models serve as both competitive defense and customer acquisition vehicle, similar to how free Android devices drove users toward Google's profitable services.</p><h4>Network Effects and Platform Lock-in</h4><p>Both strategies leverage network effects to create sustainable competitive advantages. Android's success created a virtuous cycle: more devices meant more users, which attracted more developers, which created better applications, which attracted more users. The scale advantages became self-reinforcing, making it increasingly difficult for competitors to challenge Google's position.</p><p>OpenAI's open-weight strategy aims to replicate these dynamics in AI. By providing high-quality foundation models under permissive Apache 2.0 licensing, OpenAI encourages widespread adoption and customization. As developers build applications, fine-tune models, and create derivative works, they become increasingly embedded in OpenAI's technical ecosystem.</p><p>The network effects extend beyond direct usage. Open models enable OpenAI to benefit from crowdsourced research and development. The global community of developers becomes an unpaid R&amp;D workforce, discovering new applications, identifying limitations, and contributing improvements that OpenAI can incorporate into future releases. This approach provides innovation velocity that even well-funded internal teams struggle to match.</p><h4>The Strategic Duality</h4><p>Both strategies lies in their <strong>simultaneous offensive and defensive capabilities</strong>. Defensively, Android protected Google from mobile platform exclusion while OpenAI's open models protect against commoditization by pure open-source alternatives. Offensively, both strategies actively undermine competitors' business models.</p><p>Android's open nature made it difficult for competitors to charge premium prices for mobile operating systems, effectively commoditizing Microsoft and other proprietary mobile platforms. Similarly, OpenAI's open-weight models directly challenge the business models of competitors like Anthropic and other AI companies that rely primarily on API access revenue.</p><p>The attack mechanism is particularly sophisticated because it converts competitors' advantages into liabilities. Companies that built their entire business around selling access to AI models suddenly face competition from free, high-quality alternatives. This would also prevent and make the new entry to be harder while OpenAI does not lose its competitive moat through its premium offering. Further, OpenAI&#8212;with its diversified revenue streams including enterprise contracts, cloud services, and premium features&#8212;can absorb the short-term revenue impact while competitors struggle with their core business model disruption.</p><h4>Strengthening Through Apparent Weakness</h4><p>Both strategies demonstrate the moat paradox: sometimes the best way to build defensibility is to appear to give it away. By open-sourcing core technology, both Google and OpenAI created deeper, more sustainable competitive advantages than traditional proprietary approaches could provide.</p><p>The key insight is that technology itself is not the ultimate moat. True defensibility comes from network effects, data advantages, talent concentration, and ecosystem lock-in. Open source can actually strengthen these deeper moats by accelerating adoption, creating developer loyalty, and establishing technology standards that competitors must follow rather than lead.</p><p>Google's Android strategy proved that controlling the platform matters more than controlling the code. OpenAI's approach suggests that in AI, the training infrastructure, and the path to premium capabilities matters more than protecting  individual model weights.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!gtfV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!gtfV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Gemma 3 270M&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Gemma 3 270M" title="Gemma 3 270M" srcset="/__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!gtfV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17842280-66bd-4f2f-b554-3260e3141518_4001x2251.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Google <a href="https://developers.googleblog.com/en/introducing-gemma-3-270m/">open sourced a new Gemma 3 270M model</a>, which is a family of open-source models from Google. The main model is a compact model engineered for hyper-efficient AI applications, mainly mobile and applications where power consumption is as important as model accuracy. </p><p>Further, the larger Gemma collection is enhanced with other more efficient models, including Gemma 3, Gemma 3 QAT (quantization-aware training), and Gemma 3n&#8212;a mobile-oriented, real-time multimodal AI model tailored for edge deployments rather than server based applications.</p><p>For LLMs, generally tendency to build and employ ever-larger models under the notion that <strong>size equates to capability</strong>. Therefore, the larger the model, the better model is. However, there is also an important dimension in LLM application and deployment where efficiency matters a lot, especially in mobile and edge deployments. Specialized, smaller models like Gemma 3 270M offer a leaner, cost-effective alternative, especially for highly defined tasks such as text classification or structured data extraction for applications that do not require a lot of capabilities that large models offer while still can do an excellent job on these applications that are deployed in mobile and edge.</p><p><strong>Gemma 3 270M</strong> is designed as a fine-tuning-friendly, compact foundation model with a parameter count of 270 million. It is intentionally positioned as the starting point for building <strong>task-specific AI agents</strong>&#8212;so-called &#8220;small, specialized models&#8221;&#8212;each narrowly focused and highly optimized for its domain. The underlying philosophy is to enable developers to create modular AI systems, each with targeted abilities, rather than burdening a single, large model with many disparate tasks.</p><h4>It is good for:</h4><ul><li><p>Fast, accurate text classification</p></li><li><p>Data extraction from documents</p></li><li><p>Instruction-following and text structuring tasks</p></li><li><p>Multimodal applications when paired with additional assets (e.g., for mobile or edge deployment)</p></li></ul><h3>Gemma 3 270M: Technical Overview</h3><ul><li><p><strong>Parameter Count:</strong> 270 million&#8212;this makes the model light compared to mainstream large language models (LLMs) that often contain billions or tens of billions of parameters. Compare this with <a href="https://openai.com/index/introducing-gpt-oss/">GPT-OSS-120B</a> from OpenAI which has about 117 Billion parameters.</p></li><li><p><strong>Fine-Tuning Paradigm Shift</strong></p><ul><li><p>Gemma 3 270M is specifically designed for <strong>rapid, efficient task-specific fine-tuning</strong>. Its size and robust pre-training make it ideal for organizations aiming to deploy multiple narrow models&#8212;sometimes called &#8220;expert models&#8221;&#8212;each optimized for a particular workflow.</p></li><li><p>This approach is consistent with growing trends in AI, where &#8220;model specialization&#8221; outperforms attempts to cover all needs with a single, general-purpose foundation model.</p></li></ul></li><li><p><strong>Instruction Structuring and Out-of-Box Quality</strong></p><ul><li><p>Larger models are often cumbersome and require extensive re-training or adaptation to follow instructions accurately. In contrast, Gemma 3 270M offers high-fidelity instruction-following without extra overhead. The architecture incorporates prior learnings from instruction tuning, reinforcement with human feedback, and possibly synthetic data training strategies, ensuring reliable zero-shot and few-shot performance for common tasks.</p></li></ul></li><li><p><strong>Efficiency and Cost-Effectiveness</strong></p><ul><li><p>Smaller parameter count translates into significantly <strong>lower compute, memory, and energy requirements</strong>&#8212;crucial for both enterprise-scale deployments (where inference costs scale rapidly with usage) and on-device AI scenarios.</p></li><li><p>Gemma 3 270M&#8217;s architecture likely employs advanced quantization and pruning techniques for further efficiency, although the article references QAT (in Gemma 3 QAT) but doesn&#8217;t specify whether this model is pre-quantized.</p></li></ul></li><li><p><strong>Edge and Mobile Compatibility Through Shared Architecture</strong></p><ul><li><p>By building on the same architecture as Gemma 3 and Gemma 3n, Google ensures horizontal portability&#8212;models can be trained and then later adapted for smaller, even mobile-specific variants.</p></li><li><p>The efficient transformer backbone, fused attention mechanisms, and potential optimizations for ARM or edge hardware mean developers can expect real-time inference, even on non-datacenter hardware.</p></li></ul></li></ul><p>The models are available in <a href="https://huggingface.co/collections/google/gemma-3-release-67c6c6f89c4f76621268bb6d">HuggingFace</a>, you can also experiment and try out the models in the <a href="https://console.cloud.google.com/vertex-ai/publishers/google/model-garden/gemma3?pli=1&amp;inv=1&amp;invt=Ab5qYQ">Google Vertex</a> as well. Fine-tuning on Gemma models is also available as a <a href="https://ai.google.dev/gemma/docs/core/huggingface_text_full_finetune">notebook</a>. </p><p></p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!4rO_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 424w, /__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 848w, /__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!4rO_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png" width="1456" height="693" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:693,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:987622,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 424w, /__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 848w, /__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4rO_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c161e56-49c6-41b5-9718-142f7d726b2d_2384x1134.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/microsoft/poml">POML</a> (Prompt Orchestration Markup Language)</strong> is a novel markup language designed to bring structure, maintainability, and versatility to advanced prompt engineering for Large Language Models (LLMs). It addresses common challenges in prompt development, such as lack of structure, complex data integration, format sensitivity, and inadequate tooling. POML provides a systematic way to organize prompt components, integrate diverse data types seamlessly, and manage presentation variations, empowering developers to create more sophisticated and reliable LLM applications.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!MV4s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 424w, /__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 848w, /__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MV4s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg" width="128" height="128" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:128,&quot;width&quot;:128,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LangExtract Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LangExtract Logo" title="LangExtract Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 424w, /__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 848w, /__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!MV4s!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F224e2fe2-aad8-460f-a8d1-086c27ba0239_128x128.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/google/langextract">LangExtract</a> is a Python library that uses LLMs to extract structured information from unstructured text documents based on user-defined instructions. It processes materials such as clinical notes or reports, identifying and organizing key details while ensuring the extracted data corresponds to the source text.</p><h2></h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ifEE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 424w, /__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 848w, /__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ifEE!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif" width="1328" height="650" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:650,&quot;width&quot;:1328,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Romeo and Juliet Basic Visualization &quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Romeo and Juliet Basic Visualization " title="Romeo and Juliet Basic Visualization " srcset="/__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 424w, /__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 848w, /__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!ifEE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ffd855c-d40d-4b6a-a416-bed0ddd7a1b2_1328x650.gif 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ol><li><p><strong>Precise Source Grounding:</strong> Maps every extraction to its exact location in the source text, enabling visual highlighting for easy traceability and verification.</p></li><li><p><strong>Reliable Structured Outputs:</strong> Enforces a consistent output schema based on your few-shot examples, leveraging controlled generation in supported models like Gemini to guarantee robust, structured results.</p></li><li><p><strong>Optimized for Long Documents:</strong> Overcomes the "needle-in-a-haystack" challenge of large document extraction by using an optimized strategy of text chunking, parallel processing, and multiple passes for higher recall.</p></li><li><p><strong>Interactive Visualization:</strong> Instantly generates a self-contained, interactive HTML file to visualize and review thousands of extracted entities in their original context.</p></li><li><p><strong>Flexible LLM Support:</strong> Supports your preferred models, from cloud-based LLMs like the Google Gemini family to local open-source models via the built-in Ollama interface.</p></li><li><p><strong>Adaptable to Any Domain:</strong> Define extraction tasks for any domain using just a few examples. LangExtract adapts to your needs without requiring any model fine-tuning.</p></li><li><p><strong>Leverages LLM World Knowledge:</strong> Utilize precise prompt wording and few-shot examples to influence how the extraction task may utilize LLM knowledge. The accuracy of any inferred information and its adherence to the task specification are contingent upon the selected LLM, the complexity of the task, the clarity of the prompt instructions, and the nature of the prompt examples.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!SvEE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 424w, /__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 848w, /__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!SvEE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png" width="902" height="652" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:652,&quot;width&quot;:902,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:158274,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 424w, /__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 848w, /__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SvEE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c2d4b28-8e80-4373-b3b9-7daab0542bdf_902x652.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/trymeka/agent">Meka Agent</a> is an open-source, autonomous computer-using agent that delivers state-of-the-art browsing capabilities. The agent works and acts in the same way humans do, by purely using vision as its eyes and acting within a full computer context.</p><p>It is designed as a simple, extensible, and customizable framework, allowing flexibility in the choice of models, tools, and infrastructure providers.</p><p>The agent primarily focuses on web browsing today, and achieves state-of-the-art benchmark results in the WebArena Benchmark (72.7%).</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!PIME!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 424w, /__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 848w, /__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 1272w, /__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!PIME!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png" width="1200" height="300" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:300,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;TraceRoot Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="TraceRoot Logo" title="TraceRoot Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 424w, /__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 848w, /__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 1272w, /__u/substackcdn.com/image/fetch/$s_!PIME!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a8532c8-d3a3-4924-acca-ad2a9b4865cc_1200x300.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/traceroot-ai/traceroot">TraceRoot</a> is an open-source debugging platform that helps engineers fix production issues 10x faster by combining structured traces, logs, and source code context with AI-powered analysis.</p><p></p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Gaxk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 424w, /__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 848w, /__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Gaxk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png" width="1456" height="1102" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1102,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:144730,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 424w, /__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 848w, /__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Gaxk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75d53e88-69e6-40ff-b7d0-05becf8cd176_1606x1216.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/anewtypeofinterference/Optician-Sans">Optician Sans</a> is a free typeface based on the 10 historical optotype letters seen on millions of eye charts around the world, finalising the work that was started decades ago.</p><p>The universal optometrist eye charts have been around for decades and seen by millions of people worldwide. The first standardised chart was created by Hermann Snellen in the Netherlands in 1862, before Louise Sloan designed a new set in 1959. These letters make up the now universal chart for testing visual acuity, also known as the LogMAR chart, which was developed by National Vision Research Institute of Australia. But ever since 1959, they have consisted of only 10 letters.</p><p>Optician Sans is a fully functional typeface based on the historical optotype letters, including numbers and special characters.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!AjFY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 424w, /__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 848w, /__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 1272w, /__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!AjFY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png" width="1456" height="804" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:804,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1703119,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168811141?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 424w, /__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 848w, /__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 1272w, /__u/substackcdn.com/image/fetch/$s_!AjFY!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26128124-f28e-4626-a46b-93baf0af0b39_1644x908.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/dkamm/pr-quiz">PR Quiz</a> is a GitHub Action that uses AI to generate a quiz based on a pull request. It can help you, the human reviewer, test your understanding of your AI Agent's code. (And block you from deploying code you don't understand!)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!R4cE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 424w, /__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 848w, /__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!R4cE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg" width="434" height="299.54810238305384" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:782,&quot;width&quot;:1133,&quot;resizeWidth&quot;:434,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 424w, /__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 848w, /__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!R4cE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea05e2c4-e729-4415-af5e-f92098474aa6_1134x782.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/9001/copyparty">copyparty</a> turns almost any device into a file server with resumable uploads/downloads using <em><a href="https://github.com/9001/copyparty#browser-support">any</a></em> web browser</p><p><a href="https://github.com/KittenML/KittenTTS">Kitten TTS</a> <strong>&#128571;</strong> is an open-source realistic text-to-speech model with just 15 million parameters, designed for lightweight deployment and high-quality voice synthesis.</p>]]></content:encoded></item><item><title><![CDATA[MLE-STAR* from Google to Automate all things ML Related! ]]></title><description><![CDATA[*Machine Learning Engineering via Search and Targeted Refinement]]></description><link>https://mlops.substack.com/p/mle-star-from-google-to-automate</link><guid isPermaLink="false">https://mlops.substack.com/p/mle-star-from-google-to-automate</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 03 Aug 2025 23:01:10 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!-4zy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><h3>Articles</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!-4zy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 424w, /__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 848w, /__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!-4zy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png" width="1250" height="821" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:821,&quot;width&quot;:1250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;MLE-STAR-2-Overview&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="MLE-STAR-2-Overview" title="MLE-STAR-2-Overview" srcset="/__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 424w, /__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 848w, /__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-4zy!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a578cd9-fe59-437d-a70e-80d84840e0c3_1250x821.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Google wrote about a <a href="https://research.google/blog/mle-star-a-state-of-the-art-machine-learning-engineering-agents/">new agent framework</a> for solving common machine learning tasks called MLE-STAR,(Machine Learning Engineering via Search and Targeted Refinement) which is a general multi-agent framework for building automated machine learning engineering agents that can generate complete ML solutions from task descriptions and datasets end to end. </p><p>The research mainly addresses critical limitations in existing Large Language Model (LLM)-based MLE agents, which rely heavily on internal LLM knowledge and employ coarse exploration strategies that modify entire code structures at once, limiting their ability to select effective task-specific models and perform deep exploration within specific components. This all or nothing approach does not build an iterative solution and sometimes it is ineffective of solving a subcomponent of a problem. </p><p>This research addresses some of the limitations through general(not task specific) multi-agent framework that distinguishes from AutoML type of approaches where the search space is much more limited and have to be very well defined(both in terms of problem statement and a possible solution among all of the possible paths).</p><h4>Web Search</h4><p>One of the main advantage of MLE-STAR's integration of web search as a tool for retrieving state-of-the-art models is ability to fetch the most of the recent information about a particular problem rather than solely depending on LLM's internal knowledge. This addresses the common problem where LLMs propose outdated models (like logistic regression for text classification tasks) due to bias toward familiar patterns from pre-training data. This also becomes common for reasoning tasks especially for research oriented and study oriented tasks where model does not have all of the information that is trained on, but can use the information at the &#8220;test time&#8221; to reason about and curate a good answer even though it does not necessarily know this information in the &#8220;training time&#8221;. </p><p>In order to do that, they have the following execution path:</p><ul><li><p>Uses Google Search to retrieve M effective models for given tasks</p></li><li><p>Retrieves both model descriptions (<code>T_model</code>) and corresponding example code (<code>T_code</code>)</p></li><li><p>A retriever agent (<code>A_retriever</code>) generates structured JSON outputs containing model information</p></li><li><p>Retrieved models are evaluated by a candidate evaluation agent (<code>A_init</code>) that generates executable Python scripts</p></li></ul><h3>Refinement</h3><p>Unlike existing approaches that modify entire code structures, MLE-STAR introduces a nested loop refinement system that targets specific ML pipeline components.</p><p><strong>Outer Loop - Component Identification:</strong></p><ul><li><p>Performs ablation studies using an ablation study agent (<code>A_abl</code>) to identify which code blocks have the most significant impact on performance</p></li><li><p>A summarization module (<code>A_summarize</code>) processes ablation results</p></li><li><p>An extractor module (<code>A_extractor</code>) identifies the critical code block (<code>c_t</code>) for refinement and generates initial plans (<code>p_0</code>)</p></li></ul><p><strong>Inner Loop - Iterative Refinement:</strong></p><ul><li><p>A coding agent (<code>A_coder</code>) implements refinement plans</p></li><li><p>A planning agent (<code>A_planner</code>) proposes new strategies based on performance feedback from previous attempts</p></li><li><p>Process continues for K iterations, selecting the best-performing candidate</p></li><li><p>Outer loop repeats T times targeting different critical code blocks</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!IXzn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 424w, /__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 848w, /__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 1272w, /__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!IXzn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png" width="1456" height="505" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:505,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:577243,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/169395158?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 424w, /__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 848w, /__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 1272w, /__u/substackcdn.com/image/fetch/$s_!IXzn!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6fad63a-b639-4292-a08a-5cd8fc20aa5b_1792x622.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>3. Orchestration of Ensemble Selection</strong></h3><p>MLE-STAR has an ensemble method that goes beyond simple voting or averaging. Instead of selecting the single best solution, it follows:</p><ul><li><p>Generates multiple candidate solutions from parallel runs</p></li><li><p>Uses an ensemble strategy planner (A_ens_planner) to propose effective combination methods</p></li><li><p>An ensembler agent (A_ensembler) implements these strategies</p></li><li><p>Iteratively refines ensemble approaches based on performance feedback over R iterations</p></li></ul><p>Through this, it can optimize the selection after multiple possible paths and solutions are proposed and still optimize these paths through the ensembler agent. </p><p>If we were to summarize this multi-agent system, we can outline 13 specialized agents that interact with each other with slightly different objective functions while optimizing the problem at the hand(problem definition is in the next section):</p><ol><li><p><strong>Retriever Agent (A_retriever)</strong>: Searches web for relevant models</p></li><li><p><strong>Candidate Evaluation Agent (A_init)</strong>: Generates and evaluates initial solutions</p></li><li><p><strong>Merging Agent (A_merger)</strong>: Combines multiple models into initial solution</p></li><li><p><strong>Ablation Study Agent (A_abl)</strong>: Creates ablation study code for component analysis</p></li><li><p><strong>Summarization Agent (A_summarize)</strong>: Processes ablation study results</p></li><li><p><strong>Extractor Agent (A_extractor)</strong>: Identifies critical code blocks for refinement</p></li><li><p><strong>Coder Agent (A_coder)</strong>: Implements code refinements</p></li><li><p><strong>Planner Agent (A_planner)</strong>: Proposes refinement strategies</p></li><li><p><strong>Ensemble Strategy Planner (A_ens_planner)</strong>: Plans ensemble combinations</p></li><li><p><strong>Ensembler Agent (A_ensembler)</strong>: Implements ensemble strategies</p></li><li><p><strong>Debugging Agent (A_debugger)</strong>: Fixes code execution errors</p></li><li><p><strong>Data Leakage Checker (A_leakage)</strong>: Prevents test data contamination</p></li><li><p><strong>Data Usage Checker (A_data)</strong>: Ensures all provided data is utilized</p></li></ol><h4><strong>Problem Formulation</strong></h4><p>The system formally defines the optimization problem as finding <code>s* = argmax(h(s))</code>, where <code>S</code> is the space of possible Python script solutions and h is a performance score function. The multi-agent framework takes datasets <code>D</code> and task descriptions <code>T_task</code> as input, working across any data modalities (tabular, image, text, audio) and task types (classification, regression, sequence-to-sequence).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Dlam!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 424w, /__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 848w, /__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Dlam!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png" width="1456" height="760" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/da066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:760,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:748959,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/169395158?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 424w, /__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 848w, /__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Dlam!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda066551-cfc6-4983-b711-82429c5bb9f9_1850x966.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Experiments were conducted on 22 Kaggle competitions from MLE-bench Lite, using Gemini-2.0-Flash and Gemini-2.5-Pro as base models. The system retrieves 4 model candidates, performs 4 inner refinement loops across 4 outer loops, and explores ensemble strategies for 5 rounds within a 24-hour time limit.</p><p><strong>Medal Achievement Rates:</strong></p><ul><li><p>MLE-STAR with Gemini-2.5-Pro: 63.6% medal achievement rate (36.4% gold medals)</p></li><li><p>MLE-STAR with Gemini-2.0-Flash: 43.9% medal achievement rate (30.3% gold medals)</p></li><li><p>AIDE baseline with Gemini-2.0-Flash: 25.8% medal achievement rate (12.1% gold medals)</p></li></ul><p>This represents an <strong>18+ percentage point improvement</strong> in overall medal achievement and a <strong>147% improvement</strong> in gold medal achievement over the best baseline.</p><p>The <a href="https://arxiv.org/html/2506.15692v2">paper</a> also has a lot more details on agents as well as the benchmarks.</p><p></p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!4e2I!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!4e2I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png" width="282" height="282" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:282,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;A tiny office with tiny people doing some tiny jobs.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="A tiny office with tiny people doing some tiny jobs." title="A tiny office with tiny people doing some tiny jobs." srcset="/__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4e2I!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a967912-c022-4e6b-a1bf-dedc3161962c_1024x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/microsoft/TinyTroupe">TinyTroupe</a> is an experimental Python library that allows the <strong>simulation</strong> of people with specific personalities, interests, and goals. These artificial agents - <code>TinyPerson</code>s - can listen to us and one another, reply back, and go about their lives in simulated <code>TinyWorld</code> environments. This is achieved by leveraging the power of Large Language Models (LLMs), notably GPT-4, to generate realistic simulated behavior. This allows us to investigate a wide range of <strong>convincing interactions</strong> and <strong>consumer types</strong>, with <strong>highly customizable personas</strong>, under <strong>conditions of our choosing</strong>. The focus is thus on <em>understanding</em> human behavior and not on directly <em>supporting it</em> (like, say, AI assistants do) -- this results in, among other things, specialized mechanisms that make sense only in a simulation setting. Further, unlike other <em>game-like</em> LLM-based simulation approaches, TinyTroupe aims at enlightening productivity and business scenarios, thereby contributing to more successful projects and products. Here are some application ideas to <strong>enhance human imagination</strong>:</p><ul><li><p><strong>Advertisement:</strong> TinyTroupe can <strong>evaluate digital ads (e.g., Bing Ads)</strong> offline with a simulated audience before spending money on them!</p></li><li><p><strong>Software Testing:</strong> TinyTroupe can <strong>provide test input</strong> to systems (e.g., search engines, chatbots or copilots) and then <strong>evaluate the results</strong>.</p></li><li><p><strong>Training and exploratory data:</strong> TinyTroupe can generate realistic <strong>synthetic data</strong> that can be later used to train models or be subject to opportunity analyses.</p></li><li><p><strong>Product and project management:</strong> TinyTroupe can <strong>read project or product proposals</strong> and <strong>give feedback</strong> from the perspective of <strong>specific personas</strong> (e.g., physicians, lawyers, and knowledge workers in general).</p></li><li><p><strong>Brainstorming:</strong> TinyTroupe can simulate <strong>focus groups</strong> and deliver great product feedback at a fraction of the cost!</p></li></ul><p></p><p><a href="https://github.com/Exorust/TorchLeet">Torchleet</a> is a leetcode for Pytorch. TorchLeet is broken into two sets of questions:</p><ol><li><p><strong>Question Set</strong>: A collection of PyTorch practice problems, ranging from basic to hard, designed to enhance your skills in deep learning and PyTorch.</p></li><li><p><strong>LLM Set</strong>: A new set of questions focused on understanding and implementing Large Language Models (LLMs) from scratch, including attention mechanisms, embeddings, and more.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!6hTG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 424w, /__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 848w, /__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!6hTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png" width="1274" height="784" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:784,&quot;width&quot;:1274,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="image" title="image" srcset="/__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 424w, /__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 848w, /__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6hTG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82b79f6a-3422-47e9-90f8-c7c0aef0520c_1274x784.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://positron.posit.co/">Positron</a> is:</p><ul><li><p>A next-generation data science IDE built by <a href="https://posit.co/">Posit PBC</a></p></li><li><p>An extensible, polyglot tool for writing code and exploring data</p></li><li><p>A familiar environment for reproducible authoring and publishing</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!yU-s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!yU-s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Arch Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Arch Logo" title="Arch Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!yU-s!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9581238-58a0-4837-aa95-8b6bd332b753_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/katanemo/archgw/">Arch</a> handles the <em>pesky low-level work</em> in building agentic apps &#8212; like applying guardrails, clarifying vague user input, routing prompts to the right agent, and unifying access to any LLM. It&#8217;s a language and framework friendly infrastructure layer designed to help you build and ship agentic apps faster.</p><p>&#127760; <a href="https://github.com/mcp-use/mcp-use">MCP-Use</a> is the open source way to connect <strong>any LLM to any MCP server</strong> and build custom MCP agents that have tool access, without using closed source or application clients.</p><p>&#128161; Let developers easily connect any LLM to tools like web browsing, file operations, and more.</p><ul><li><p>If you want to get started quickly check out <a href="https://mcp-use.com/">mcp-use.com website</a> to build and deploy agents with your favorite MCP servers.</p></li><li><p>Visit the <a href="https://docs.mcp-use.com/">mcp-use docs</a> to get started with mcp-use library</p></li><li><p>For the TypeScript version, visit <a href="https://github.com/mcp-use/mcp-use-ts">mcp-use-ts</a></p></li></ul><h3>Below The Fold</h3><p><a href="https://github.com/mozilla-ai/any-llm">any-llm</a> is a single interface to use different llm providers from Mozilla, which offers:</p><ul><li><p><strong>Simple, unified interface</strong> - one function for all providers, switch models with just a string change</p></li><li><p><strong>Developer friendly</strong> - full type hints for better IDE support and clear, actionable error messages</p></li><li><p><strong>Leverages official provider SDKs</strong> when available, reducing maintenance burden and ensuring compatibility</p></li><li><p><strong>Stays framework-agnostic</strong> so it can be used across different projects and use cases</p></li><li><p><strong>Actively maintained</strong> - we use this in our own product (<a href="https://github.com/mozilla-ai/any-agent">any-agent</a>) ensuring continued support</p></li><li><p><strong>No Proxy or Gateway server required</strong> so you don't need to deal with setting up any other service to talk to whichever LLM provider you need.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_MVY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_MVY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg" width="1456" height="493" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:493,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;RisingWave&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="RisingWave" title="RisingWave" srcset="/__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!_MVY!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae02f7e2-bcce-4e35-b0ea-83a50a5313ed_5760x1952.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/risingwavelabs/risingwave">RisingWave</a> is a stream processing and management platform designed to offer the <em><strong>simplest</strong></em> and <em><strong>most cost-effective</strong></em> way to <strong>process</strong>, <strong>analyze</strong>, and <strong>manage</strong> real-time event data &#8212; with built-in support for the <a href="https://iceberg.apache.org/">Apache Iceberg&#8482;</a> open table format. It provides both a Postgres-compatible <a href="https://docs.risingwave.com/sql/overview">SQL interface</a> and a DataFrame-style <a href="https://docs.risingwave.com/python-sdk/intro">Python interface</a>.</p><p>RisingWave can <strong>ingest</strong> millions of events per second, continuously <strong>join and analyze</strong> live streams with historical data, <strong>serve</strong> ad-hoc queries at low latency, and <strong>persist</strong> fresh, consistent results to Apache Iceberg&#8482; or any other downstream system.</p><p><a href="https://github.com/manticoresoftware/manticoresearch">Manticore Search</a> is an easy-to-use, open-source, and fast database designed for search. It is a great alternative to Elasticsearch.</p><p><a href="https://github.com/vet-run/vet">vet</a> is a command-line tool that acts as a safety net for the common but risky <code>curl | bash</code> pattern. It lets you inspect remote scripts for changes, run them through a linter, and require your explicit approval before they can execute.</p><p><a href="https://github.com/openvenues/libpostal">libpostal</a> is a C library for parsing/normalizing street addresses around the world using statistical NLP and open data. The goal of this project is to understand location-based strings in every language, everywhere. For a more comprehensive overview of the research behind libpostal, be sure to check out the (lengthy) introductory blog posts:</p><ul><li><p><strong>Original post</strong>: <a href="https://medium.com/@albarrentine/statistical-nlp-on-openstreetmap-b9d573e6cc86">Statistical NLP on OpenStreetMap</a></p></li><li><p><strong>Follow-up for 1.0 release</strong>: <a href="https://medium.com/@albarrentine/statistical-nlp-on-openstreetmap-part-2-80405b988718">Statistical NLP on OpenStreetMap: Part 2</a></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!7Q18!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 424w, /__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 848w, /__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!7Q18!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg" width="316" height="316" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:316,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 424w, /__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 848w, /__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!7Q18!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe475c701-f332-40c6-a0f8-14ec4974eb0d_1024x1024.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/jj-vcs/jj">Jujutsu</a> is a powerful <a href="https://en.wikipedia.org/wiki/Version_control">version control system</a> for software projects. You use it to get a copy of your code, track changes to the code, and finally publish those changes for others to see and use. It is designed from the ground up to be easy to use&#8212;whether you're new or experienced, working on brand new projects alone, or large scale software projects with large histories and teams.</p><p>Jujutsu is unlike most other systems, because internally it abstracts the user interface and version control algorithms from the <em>storage systems</em> used to serve your content. This allows it to serve as a VCS with many possible physical backends, that may have their own data or networking models&#8212;like <a href="https://www.mercurial-scm.org/">Mercurial</a> or <a href="https://www.breezy-vcs.org/">Breezy</a>, or hybrid systems like Google's cloud-based design, <a href="https://youtu.be/W71BTkUbdqE?t=645">Piper/CitC</a>.</p><p><a href="https://github.com/streetwriters/notesnook">Notesnook</a> is a free (as in speech) &amp; open-source note-taking app focused on user privacy &amp; ease of use.</p><p>Notesnook is our <strong>proof</strong> that privacy does <em>not</em> (always) have to come at the cost of convenience. We aim to provide users peace of mind &amp; 100% confidence that their notes are safe and secure. The decision to go fully open source is one of the most crucial steps towards that.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!GpJU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!GpJU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;ZUSE Screenshot 1&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="ZUSE Screenshot 1" title="ZUSE Screenshot 1" srcset="/__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GpJU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0efca0b3-4bc0-45b2-9191-f2a3b48f468a_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/babycommando/zuse">ZUSE</a> is a sleek, minimal IRC client for your terminal. Built with Go and powered by the elegant Bubble Tea framework. Chat faster, cleaner, and without distractions right from your terminal.</p>]]></content:encoded></item><item><title><![CDATA[LSM-2 from Google for Wearable Data]]></title><description><![CDATA[Kimi-2 is released by MoonshotAI, another SOTA MoE Model]]></description><link>https://mlops.substack.com/p/lsm-2-from-google-for-wearable-data</link><guid isPermaLink="false">https://mlops.substack.com/p/lsm-2-from-google-for-wearable-data</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 27 Jul 2025 00:00:42 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!zHdB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!zHdB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 424w, /__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 848w, /__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 1272w, /__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!zHdB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png" width="798" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:798,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 424w, /__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 848w, /__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 1272w, /__u/substackcdn.com/image/fetch/$s_!zHdB!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8061b3c3-5fe1-4609-8306-17f30bf95d75_798x814.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Google wrote an <a href="https://research.google/blog/lsm-2-learning-from-incomplete-wearable-sensor-data/">article</a> on LSM-2, a foundation model designed for wearable sensor data, leveraging a novel self-supervised learning (SSL) framework called Adaptive and Inherited Masking (AIM). This approach addresses the challenge of incomplete data that is common in real-world wearable devices, due to device removal, charging, motion artifacts, and other disruptions. </p><p>Unlike traditional SSL methods that require complete data or rely on imputation and filtering&#8212;which introduce biases or waste valuable data&#8212;AIM treats missing data as a natural, informative aspect of sensor streams, enabling the model to learn directly from incomplete data without explicit imputation.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!w7nU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!w7nU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg" width="805" height="384" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:384,&quot;width&quot;:805,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LSM2-1&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LSM2-1" title="LSM2-1" srcset="/__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!w7nU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c814a98-b5ce-41d0-b5b5-4878614cdd12_805x384.jpeg 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>AIM extends masked autoencoder (MAE) pre-training by introducing a dual masking strategy that combines token dropout and attention masking. Token dropout improves computational efficiency by dropping a fixed number of masked tokens (segments of missing or deliberately masked data) before the encoder stage, while attention masking handles the variable and unpredictable additional tokens that remain masked based on real-world missingness. This technique effectively balances reducing input sequence length with maintaining model capacity to handle naturally fragmented data streams. During fine-tuning and evaluation phases, AIM applies attention masking exclusively to naturally missing tokens, allowing the model to generalize and robustly process variable data fragmentation.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!S74f!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 424w, /__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 848w, /__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 1272w, /__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!S74f!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png" width="1250" height="664" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:664,&quot;width&quot;:1250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LSM2-3&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LSM2-3" title="LSM2-3" srcset="/__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 424w, /__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 848w, /__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 1272w, /__u/substackcdn.com/image/fetch/$s_!S74f!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9126926f-cb8f-4049-b973-8a2fa29e3c3f_1250x664.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Adaptive and Inherited Masking (AIM) Capabilities:</strong></p><ul><li><p><strong>Dual Masking:</strong> AIM distinguishes between <em>inherited</em> (naturally missing) tokens, reflecting real sensor gaps, and <em>artificial</em> mask tokens, deliberately applied for self-supervised learning objectives.</p></li><li><p><strong>Token Dropout:</strong> During pre-training, a fixed number of masked tokens (from both inherited and artificial types) are dropped <em>before</em> the encoder, reducing computational burden by shortening the effective sequence length.</p></li><li><p><strong>Attention Masking:</strong> Remaining masked tokens are handled within the encoder's transformer blocks via explicit attention masks&#8212;ensuring the attention mechanism ignores these tokens during representation learning. This allows the model to process any configuration of missing data.</p></li><li><p><strong>Unified Treatment:</strong> AIM treats inherited and artificial mask tokens equivalently at the transformer level, teaching the model to reason about and reconstruct both types, enabling robustness to random and structured data fragmentation.</p></li></ul><p><strong>Pre-training and Fine-tuning:</strong></p><ul><li><p>During SSL pre-training, AIM intersperses reconstructed and naturally missing tokens. The model learns to generate latent representations that encode both the underlying data structure and the distribution of missingness.</p></li><li><p>At fine-tuning and deployment, only inherited masks (i.e., the real-world missing entries) are present; attention masking ensures seamless adaptation to any fragmentation pattern, a vast improvement over imputation-based or aggressive filtering techniques.</p></li></ul><p><strong>Head Layer Probes:</strong><br>After the transformer backbone, task-specific linear probes are used for evaluations:</p><ul><li><p><em>Classification Tasks</em>: Embeddings are averaged across observed tokens as the input to a linear classifier.</p></li><li><p><em>Regression Tasks</em>: A similar approach supplies inputs to a linear regressor.</p></li><li><p><em>Generative Tasks</em>: The model reconstructs missing input regions by generating output directly for masked locations.</p></li></ul><p>Google had an extensive multimodal wearable dataset: </p><ul><li><p><strong>Size:</strong> 40M hours of data from 60,000+ participants over three months (March&#8211;May 2024).</p></li><li><p><strong>Device Heterogeneity:</strong> Devices include Fitbit, Google Pixel watches, and trackers with multiple sensor channels (e.g., heart rate, accelerometry, EDA, temperature).</p></li><li><p><strong>Labeling:</strong> All data are anonymized. Meta-data (user annotations for 20 activities, self-reported physical/mental health, demographics) collected in parallel.</p></li><li><p><strong>Partitioning:</strong> Data from each user appears in <em>either</em> training, fine-tuning, or evaluation splits, but never more than one, strictly preventing data leakage and ensuring reliable generalization tests.</p></li></ul><p><strong>Data Preprocessing and Ingestion Scheme:</strong></p><ul><li><p><strong>Tokenization:</strong> Raw continuous time-series from various sensors are discretized into non-overlapping time-channel patches, permitting efficient batching and masking within the transformer&#8212;standardizing sequences with variable sampling rates and occasional dropout artifacts.</p></li><li><p><strong>Missingness Quantification:</strong> Every input sequence is annotated with a precise missingness map, denoting which patches result from real-world sensor gaps. This map governs inherited masking throughout the pipeline.</p></li><li><p><strong>No Imputation:</strong> Critically, AIM and LSM-2 <em>do not</em> perform statistical or model-based imputation; instead, every instance of missingness (whether due to device-off, motion artifacts, or signal drop) is treated as valuable, information-bearing structure.</p></li></ul><p><strong>Efficient Large-scale Ingestion:</strong></p><ul><li><p>Incoming data are validated and indexed with hash-based deduplication to prevent redundant storage.</p></li><li><p>Meta-data and sensor streams are stored in a format optimized for parallel readout and random-access, crucial for efficient construction of masked batches for SSL training.</p></li><li><p>Custom ingestion pipelines ensure batch construction correctly respects subject splits and missing annotations.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!bg-W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 424w, /__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 848w, /__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bg-W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png" width="798" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:798,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LSM2-4&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LSM2-4" title="LSM2-4" srcset="/__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 424w, /__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 848w, /__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bg-W!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b654ce6-0f39-41e0-81f8-4084d2da2b3f_798x814.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>It performs relatively well in a number of tasks:</strong></p><ul><li><p><em>Generative Tasks</em>: LSM-2 achieves up to 77% better mean squared error (MSE) reconstruction of missing sensor signals than LSM-1 under high (80%) missingness, excelling in random imputation, interpolation, extrapolation, and channel-missing scenarios.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!-wOO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!-wOO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg" width="1185" height="760" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:760,&quot;width&quot;:1185,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LSM2-2&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LSM2-2" title="LSM2-2" srcset="/__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!-wOO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd63627b9-2b34-4977-925d-48763a4a20ae_1185x760.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><em>Classification and Regression</em>: LSM-2 outperforms not just LSM-1 but also supervised baselines in 20-class activity classification and binary health conditions (hypertension, anxiety), with robust feature generalization to new tasks via linear probes.</p></li><li><p><em>Scaling</em>: Unlike LSM-1, LSM-2&#8217;s performance scales almost linearly with increases in data, subjects, compute, and model capacity, showing no evidence of saturation</p></li></ul><p></p><h3>Libraries</h3><p><a href="https://github.com/MoonshotAI/Kimi-K2">Kimi K2</a> is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities.</p><h5><strong>Key Features</strong></h5><ul><li><p>Large-Scale Training: Pre-trained a 1T parameter MoE model on 15.5T tokens with zero training instability.</p></li><li><p>MuonClip Optimizer: We apply the Muon optimizer to an unprecedented scale, and develop novel optimization techniques to resolve instabilities while scaling up.</p></li><li><p>Agentic Intelligence: Specifically designed for tool use, reasoning, and autonomous problem-solving.</p></li></ul><h5><strong>Model Variants</strong></h5><ul><li><p><strong>Kimi-K2-Base</strong>: The foundation model, a strong start for researchers and builders who want full control for fine-tuning and custom solutions.</p></li><li><p><strong>Kimi-K2-Instruct</strong>: The post-trained model best for drop-in, general-purpose chat and agentic experiences. It is a reflex-grade model without long thinking.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Brwg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Brwg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Evaluation Results&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Evaluation Results" title="Evaluation Results" srcset="/__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Brwg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52f3f7de-8690-4993-ae10-f9d08ad03625_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!FvxF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 424w, /__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 848w, /__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 1272w, /__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!FvxF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png" width="282" height="282" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:282,&quot;width&quot;:282,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;CORE logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="CORE logo" title="CORE logo" srcset="/__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 424w, /__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 848w, /__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 1272w, /__u/substackcdn.com/image/fetch/$s_!FvxF!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F713e68c0-37db-4c31-9ad1-beba107cfb9e_282x282.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/RedPlanetHQ/core">Contextual Observation &amp; Recall Engine(</a></strong><a href="https://github.com/RedPlanetHQ/core">C.O.R.E)</a> is a portable memory graph built from your llm interactions and personal data, making all your context and workflow history accessible to any AI tool, just like a digital brain. This eliminates the need for repeated context sharing . The aim is to provide:</p><ul><li><p><strong>Unified, Portable Memory</strong>: Add and recall context seamlessly, and connect your memory across apps like Claude, Cursor, Windsurf and more.</p></li><li><p><strong>Relational, Not just Flat Facts</strong>: CORE organizes your knowledge, storing both facts and relationships for a deeper richer memory like a real brain.</p></li><li><p><strong>User Owned</strong>: You decide what to keep, update or delete and share your memory across the tool you want and be freed from vendor lock-in.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!GIlL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 424w, /__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 848w, /__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!GIlL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png" width="1456" height="218" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:218,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:303477,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168345516?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 424w, /__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 848w, /__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GIlL!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b1bf514-963c-46d0-aae8-f519add6db56_1708x256.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/ExtensityAI/symbolicai">SymbolicAI</a> is a <strong>neuro-symbolic</strong> framework, combining classical Python programming with the differentiable, programmable nature of LLMs in a way that actually feels natural in Python. It's built to not stand in the way of your ambitions. It's easily extensible and customizable to your needs by virtue of its modular design. It's quite easy to <a href="https://extensityai.gitbook.io/symbolicai/engines/custom_engine">write your own engine</a>, <a href="https://extensityai.gitbook.io/symbolicai/engines/local_engine">host locally</a> an engine of your choice, or interface with tools like <a href="https://extensityai.gitbook.io/symbolicai/engines/search_engine">web search</a> or <a href="https://extensityai.gitbook.io/symbolicai/engines/drawing_engine">image generation</a>. To keep things concise in this README, we'll introduce two key concepts that define SymbolicAI: <strong>primitives</strong> and <strong>contracts</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!vj3e!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!vj3e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Arch Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Arch Logo" title="Arch Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!vj3e!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7eef371b-1113-401b-8cad-4ca9ebe5a535_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/katanemo/archgw">Arch</a> handles the <em>pesky low-level work</em> in building agentic apps &#8212; like applying guardrails, clarifying vague user input, routing prompts to the right agent, and unifying access to any LLM. It&#8217;s a language and framework friendly infrastructure layer designed to help you build and ship agentic apps faster.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!SO4y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 424w, /__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 848w, /__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!SO4y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png" width="1456" height="676" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:676,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 424w, /__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 848w, /__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SO4y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0e5061d-3320-416f-8d53-2055ca7c31b9_3020x1402.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://metaflow.org/">Metaflow</a> is a human-centric framework designed to help scientists and engineers <strong>build and manage real-life AI and ML systems</strong>. Serving teams of all sizes and scale, Metaflow streamlines the entire development lifecycle&#8212;from rapid prototyping in notebooks to reliable, maintainable production deployments&#8212;enabling teams to iterate quickly and deliver robust systems efficiently.</p><p>Originally developed at <a href="https://netflixtechblog.com/open-sourcing-metaflow-a-human-centric-framework-for-data-science-fa72e04a5d9">Netflix</a> and now supported by <a href="https://outerbounds.com/">Outerbounds</a>, Metaflow is designed to boost the productivity for research and engineering teams working on <a href="https://netflixtechblog.com/supporting-diverse-ml-systems-at-netflix-2d2e6b6d205d">a wide variety of projects</a>, from classical statistics to state-of-the-art deep learning and foundation models. By unifying code, data, and compute at every stage, Metaflow ensures seamless, end-to-end management of real-world AI and ML systems.</p><p>The code is available in <a href="https://github.com/Netflix/metaflow">GitHub</a>. </p><p><a href="https://github.com/google-health/medgemma">MedGemma</a> is a collection of <a href="https://ai.google.dev/gemma/docs/core">Gemma 3</a> variants that are trained for performance on medical text and image comprehension. Developers can use MedGemma to accelerate building healthcare-based AI applications. MedGemma comes in two variants: a 4B multimodal version and a 27B text-only version.</p><p>MedGemma 4B utilizes a <a href="https://arxiv.org/abs/2303.15343">SigLIP image encoder</a> that has been specifically pre-trained on a variety of de-identified medical data, including chest X-rays, dermatology images, ophthalmology images, and histopathology slides. Its LLM component is trained on a diverse set of medical data, including radiology images, histopathology patches, ophthalmology images, dermatology images, and medical text.</p><p><a href="https://github.com/block/goose">goose</a> is your on-machine AI agent, capable of automating complex development tasks from start to finish. More than just code suggestions, goose can build entire projects from scratch, write and execute code, debug failures, orchestrate workflows, and interact with external APIs - <em>autonomously</em>.</p><p>Whether you're prototyping an idea, refining existing code, or managing intricate engineering pipelines, goose adapts to your workflow and executes tasks with precision.</p><p>Designed for maximum flexibility, goose works with any LLM and supports multi-model configuration to optimize performance and cost, seamlessly integrates with MCP servers, and is available as both a desktop app as well as CLI - making it the ultimate AI assistant for developers who want to move faster and focus on innovation.</p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!7q6E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 424w, /__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 848w, /__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 1272w, /__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!7q6E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Diagram&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Diagram" title="Diagram" srcset="/__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 424w, /__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 848w, /__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 1272w, /__u/substackcdn.com/image/fetch/$s_!7q6E!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F32799fb7-0ec8-4a2d-8f21-a15293971f08_2850x1425.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/sirius-db/sirius">Sirius</a> is a GPU-native SQL engine. It plugs into existing databases such as DuckDB via the standard Substrait query format, requiring no query rewrites or major system changes.</p><p><a href="https://github.com/danthegoodman1/bloomsearch">BloomSearch</a> provides extremely low memory usage and low cold-start searches through pluggable storage interfaces.</p><ul><li><p><strong>Memory efficient</strong>: Bloom filters have constant size regardless of data volume</p></li><li><p><strong>Pluggable storage</strong>: DataStore and MetaStore interfaces for any backend (can be same or separate)</p></li><li><p><strong>Fast filtering</strong>: Hierarchical pruning via partitions, minmax indexes, and bloom filters</p></li><li><p><strong>Flexible queries</strong>: Search by <code>field</code>, <code>token</code>, or <code>field:token</code> with AND/OR combinators</p></li><li><p><strong>Disaggregated storage and compute</strong>: Unbound ingest and query throughput</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!DaNd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 424w, /__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 848w, /__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 1272w, /__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!DaNd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png" width="1456" height="345" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:345,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Shows a black logo in light color mode and a white one in dark color mode.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Shows a black logo in light color mode and a white one in dark color mode." title="Shows a black logo in light color mode and a white one in dark color mode." srcset="/__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 424w, /__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 848w, /__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 1272w, /__u/substackcdn.com/image/fetch/$s_!DaNd!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33934673-b497-4e9f-8b2a-21f72f33416a_1541x365.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/atopile/atopile">atopile</a> is a language, compiler and toolchain to design electronics with code.</p><p>Design circuit boards with the same powerful workflows that software developers use - version control, modularity, and automated validation. Instead of point-and-click schematics, use human-readable <code>.ato</code> files that can be version controlled and shared. Capture design intelligence and validation rules in code to ensure your hardware works as intended. <a href="https://docs.atopile.io/atopile/quickstart">QuickStart page</a> is pretty good if you want to get started right away.</p><p><a href="https://github.com/apple/containerization">Containerization</a> package allows applications to use Linux containers. Containerization is written in <a href="https://www.swift.org/">Swift</a> and uses <a href="https://developer.apple.com/documentation/virtualization">Virtualization.framework</a> on Apple silicon.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!nI4Z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 424w, /__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 848w, /__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 1272w, /__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!nI4Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png" width="1456" height="985" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:985,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:447257,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168345516?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 424w, /__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 848w, /__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 1272w, /__u/substackcdn.com/image/fetch/$s_!nI4Z!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F049c1317-6857-41c9-88c7-58128f5c0446_1656x1120.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Stress-Terminal UI,<a href="https://github.com/amanusk/s-tui"> s-tui</a>, monitors CPU temperature, frequency, power and utilization in a graphical way from the terminal.</p><p><a href="https://netflixtechblog.com/orchestrating-data-ml-workflows-at-scale-with-netflix-maestro-aaa2b41b800c">Maestro</a> is a general-purpose workflow orchestrator that provides a fully managed workflow-as-a-service (WAAS) to the data platform users at Netflix.</p><p>It serves thousands of users, including data scientists, data engineers, machine learning engineers, software engineers, content producers, and business analysts, for various use cases. It schedules hundreds of thousands of workflows, millions of jobs every day and operates with a strict SLO even when there are spikes in the traffic. Maestro is highly scalable and extensible to support existing and new use cases and offers enhanced usability to end users.</p><p>The library is available in <a href="https://github.com/Netflix/maestro">GitHub</a>.</p><h2>More To Read</h2><ul><li><p>From a previous employee on his time spent in OpenAI as <a href="https://calv.info/openai-reflections">reflections</a>.</p></li><li><p>A good <a href="https://drew.silcock.dev/blog/artisanal-git/">blog post</a> on going through some unknown &#8220;artisanal&#8221; git commands and shows basic prompts and commands in a funny way.</p></li><li><p></p></li></ul>]]></content:encoded></item><item><title><![CDATA[SmolLM3 from HuggingFace]]></title><description><![CDATA[MUVERA from Google to Solve Multi-Vector Search Problem]]></description><link>https://mlops.substack.com/p/smollm3-from-huggingface</link><guid isPermaLink="false">https://mlops.substack.com/p/smollm3-from-huggingface</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 13 Jul 2025 22:01:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!SGXl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3>Articles</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!SGXl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 424w, /__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 848w, /__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!SGXl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png" width="1456" height="874" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:874,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 424w, /__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 848w, /__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SGXl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb5b855d-f5f1-4326-9b96-8367fbe2e929_2048x1229.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/huggingface/smollm">SmolLM3</a> is a fully open 3 billion-parameter transformer decoder optimized for <strong>efficiency</strong>, <strong>multilingual support</strong>, <strong>long-context reasoning</strong>, and <strong>dual-mode instruction </strong>from HuggingFace. </p><p>HuggingFace wrote a rather detailed a <a href="https://huggingface.co/blog/smollm3">blog post</a> on both some of the model architecture changes that they have done and some of the mid-training and post-training strategies.</p><p>Trained on 11.2 trillion tokens, it outperforms other 3B models (Llama-3.2-3B, Qwen2.5-3B) and competes with larger 4B models (Qwen3-4B, Gemma3-4B) while offering a complete &#8220;blueprint&#8221;&#8212;architecture, data recipes, and fine-tuning methodology&#8212;to empower researchers and engineers.</p><h4>Model Overview</h4><p>Over 2000 feet, the model would look like something like this in terms of properties and capabilities. </p><ul><li><p><strong>Scale &amp; Performance</strong></p><ul><li><p>3 B parameters; trained on 11.2 T tokens with a three-stage web/code/math curriculum.</p></li><li><p>Win-rate leadership on 12 benchmarks (HellaSwag, ARC, Winogrande, CommonsenseQA, MMLU-CF/Pro, PIQA, OpenBookQA, GSM8K, MATH, HumanEval+, MBPP+) and competitive parity with 4 B models in knowledge, reasoning, math, and coding tasks.</p></li></ul></li><li><p><strong>Multilingual</strong></p><ul><li><p>Supports six languages (English, French, Spanish, German, Italian, Portuguese).</p></li><li><p>Evaluated on Global MMLU, MLMM HellaSwag, Flores-200, Belebele.</p></li></ul></li><li><p><strong>Long-Context</strong></p><ul><li><p>Native context window extended to 64 K tokens via staged RoPE theta adjustments.</p></li><li><p>Extrapolation to 128 K tokens at inference using YARN.</p></li></ul></li><li><p><strong>Dual-Mode Instruct Model</strong></p><ul><li><p><code>/think</code> (reasoning) vs. <code>/no_think</code> (direct answer) flags enable explicit or collapsed reasoning traces.</p></li><li><p>Supports XML and Python tool-calling interfaces.</p></li></ul></li></ul><h4>Architectural Enhancements</h4><p>There are interesting multiple adjustments to the model architecture and changes to the traditional methods that are being used and outlined below: </p><ul><li><p><strong>Grouped Query Attention (GQA):</strong> Replaces standard multi-head attention with four query groups, matching task performance while reducing KV cache memory during inference.</p></li><li><p><strong>NoPE (No Position Embeddings):</strong> Adopts a hybrid attention strategy by omitting rotary position embeddings in every fourth layer, significantly boosting long-context fidelity without degrading short-context capabilities.</p></li><li><p><strong>Intra-Document Masking:</strong> Ensures tokens from distinct documents within the same batch don&#8217;t attend to each other, improving training stability for long sequences.</p></li><li><p><strong>Training Stability Adjustments:</strong> Removes weight decay from embedding layers (inspired by OLMo 2), stabilizing embedding norms and overall training dynamics.</p></li></ul><h3>Mid-Training and Post-Training Strategies</h3><h5>Long-Context Extension</h5><p>Additional 100 B tokens in two phases:</p><ul><li><p>4 K &#8594; 32 K (RoPE &#952; = 1.5 M)</p></li><li><p>32 K &#8594; 64 K (RoPE &#952; = 5 M)<br>Both phases upsampled long-document code, books, and web data, with ablations confirming sufficient long-context gains without explicit long-document upsampling.</p></li></ul><h5>General Reasoning Injection</h5><p>Trained on 35 B reasoning-trace tokens (OpenThoughts3, Llama-Nemotron-Post-Training) via ChatML template and packing for 4 epochs (140 B tokens), producing a reasoning-capable mid-training checkpoint for fine-tuning.</p><h5>Supervised Fine-Tuning (SFT)</h5><p>1.8 B token mixture (1 B non-reasoning, 0.8 B reasoning) across 22 datasets, balancing domains: math, code, general reasoning, instruction, multilinguality, tool calling. Synthetic reasoning traces generated by Qwen3-32B for underrepresented domains. Trained 4 epochs (~8 B tokens) with BFD packing; aligned with user-turn masking and tool-output masking.</p><h5>Alignment via Anchored Preference Optimization (APO)</h5><p>APO (variant of Direct Preference Optimization) leverages Tulu3 and synthetic reasoning preference pairs (chosen: Qwen3-32B; rejected: Qwen3-0.6B) to stabilize optimization and improve downstream performance. Ablations revealed reasoning training slightly degraded long-context scores, prompting mitigation via model merging.</p><h5>Model Merging</h5><p>Using MergeKit, a linear blend (0.9 reasoning-aligned &#8220;soup&#8221; + 0.1 long-context mid-training checkpoint) restored RULER 128 K performance while retaining reasoning gains.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Izm3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 424w, /__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 848w, /__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Izm3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png" width="1456" height="1012" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1012,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:283229,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168119489?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 424w, /__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 848w, /__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Izm3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33e081af-1e7a-4504-921f-c4240eb5fd04_1580x1098.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://research.google/blog/muvera-making-multi-vector-retrieval-as-fast-as-single-vector-search/">MUVERA</a></strong><a href="https://research.google/blog/muvera-making-multi-vector-retrieval-as-fast-as-single-vector-search/"> (Multi-Vector Retrieval Algorithm)</a> from Google Research is a method in information retrieval (IR) that enables the <strong>speed and efficiency of single-vector search</strong> while preserving the accuracy and expressiveness of multi-vector models. This advance is critical for search engines, recommender systems, and natural language processing, where capturing nuanced semantic relationships is essential but computational cost has historically limited practical deployment of multi-vector approaches. Below is a detailed, technical summary of the MUVERA system, its theoretical foundations, empirical results, and implications for large-scale IR.</p><h4>Single-Vector Embeddings and MIPS</h4><p>Traditional neural embedding models (e.g., BERT-based bi-encoders) represent each data point&#8212;such as a document or query&#8212;as a <strong>single vector</strong> in a high-dimensional space. Retrieval is performed by measuring the <strong>inner product</strong> (dot product) between the query vector and document vectors. This allows for <strong>Maximum Inner Product Search (MIPS)</strong>, a well-studied problem with highly optimized algorithms and infrastructure. The main advantages of this approach are:</p><ul><li><p><strong>Speed:</strong> Single-vector MIPS can be performed extremely fast, even at very large scale of document counts(billions to trillions).</p></li><li><p><strong>Memory efficiency:</strong> Each item is represented by one vector.</p></li><li><p><strong>Simplicity:</strong> Off-the-shelf search systems can be used.</p></li></ul><p>However, <strong>single-vector representations often lose fine-grained semantic information</strong>, limiting retrieval accuracy, especially for complex queries or long documents.</p><h4>Multi-Vector Models</h4><p>To address these limitations, <strong>multi-vector models</strong> (notably ColBERT) represent each item as a <strong>set of vectors</strong>&#8212;for example, one vector per token or phrase. Similarity between a query and a document is computed using more expressive functions, such as the <strong>Chamfer similarity</strong> (sum of maximal similarities between query and document vectors). This approach:</p><ul><li><p>Greatly improves retrieval accuracy and expressiveness.</p></li><li><p><strong>Captures nuanced relationships</strong> (e.g., matching specific query terms to document segments).</p></li></ul><p>But, it comes with also major drawbacks:</p><ul><li><p><strong>Computational cost:</strong> For each query-document pair, all pairs of query and document vectors must be compared.</p></li><li><p><strong>Latency:</strong> Multi-vector similarity is much slower than single-vector MIPS.</p></li><li><p><strong>Scalability:</strong> Not suitable for web-scale retrieval without major engineering compromises.</p></li></ul><h4>MUVERA: To Solve them All</h4><p>MUVERA bridges the gap by <strong>reducing multi-vector retrieval to single-vector MIPS</strong> through a mathematically principled approach.</p><p>The central innovation is the construction of <strong>Fixed Dimensional Encodings (FDEs)</strong>. For each query and document (which are originally sets of vectors), MUVERA computes a <strong>single vector</strong> such that the <strong>inner product of these FDEs closely approximates the true multi-vector similarity</strong> (e.g., <a href="https://parkcheolhee-lab.github.io/chamfer-distance/">Chamfer similarity</a>). </p><p>This transformation is <strong>data-oblivious</strong> (does not require learning from data), <strong>fast</strong>, and <strong>provably accurate</strong>.</p><p>MUVERA further provides <strong>provable guarantees</strong> on the quality of the approximation:</p><ul><li><p>For any query/document pair, the FDE dot product is an <strong>&#949;&#949;-approximation</strong> to the true multi-vector similarity.</p></li><li><p>This is the <strong>first method with provable guarantees</strong> for reducing multi-vector similarity search to single-vector MIPS, ensuring that retrieval quality is not sacrificed for speed.</p></li></ul><p>The MUVERA retrieval pipeline consists of two stages:</p><ol><li><p><strong>Initial Retrieval:</strong> Use the FDEs to perform single-vector MIPS over the corpus, leveraging existing fast and scalable infrastructure.</p></li><li><p><strong>Re-ranking:</strong> For the top-k candidates, compute the exact multi-vector similarity (e.g., Chamfer) to ensure final accuracy.</p></li></ol><p>This <strong>hybrid approach</strong> combines the best of both worlds: fast candidate generation and accurate final ranking.</p><p>MUVERA constructs FDEs such that their inner product closely approximates this sum of maximum inner products. The construction uses <strong>random projections and aggregation techniques</strong> to ensure that the mapping is efficient and preserves the necessary similarity structure.</p><p>To further reduce memory and storage requirements, MUVERA incorporates <strong>product quantization</strong>:</p><ul><li><p>FDEs are compressed by up to <strong>32&#215;</strong> (e.g., a 10,240-dimensional FDE stored in just 1,280 bytes).</p></li><li><p>This compression incurs <strong>negligible loss in retrieval quality</strong>.</p></li><li><p>The result is a <strong>dramatic reduction in memory footprint</strong>, making large-scale deployment feasible.</p></li></ul><p>MUVERA supports <strong>asymmetric FDE construction</strong>, where queries and documents can be encoded differently to further optimize retrieval performance. This flexibility allows for tuning the system to specific application needs or hardware constraints.</p><h4>Benchmark</h4><p>MUVERA was evaluated on several standard IR benchmarks, including the <strong>BEIR</strong> suite and <strong>MS MARCO</strong>. Key results:</p><ul><li><p><strong>Recall:</strong> MUVERA achieves the same or better recall as prior state-of-the-art multi-vector heuristics (e.g., PLAID, ColBERT).</p></li><li><p><strong>Efficiency:</strong> MUVERA retrieves <strong>2&#8211;5&#215; fewer candidates</strong> for the same recall, reducing computational cost.</p></li><li><p><strong>Latency:</strong> End-to-end retrieval is up to <strong>90% faster</strong> than prior multi-vector systems.</p></li><li><p><strong>Memory:</strong> With product quantization, MUVERA&#8217;s memory usage is a fraction of baseline methods</p></li></ul><p><a href="https://github.com/google/graph-mining/tree/main/sketching/point_cloud">MUVERA</a> is <strong>open-source</strong> with implementations available in C++ and Python. </p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!MWtl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 424w, /__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 848w, /__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MWtl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png" width="1456" height="363" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:363,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Biomni Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Biomni Logo" title="Biomni Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 424w, /__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 848w, /__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MWtl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1958f3d4-54ad-4402-8db7-30f1699ada53_3053x761.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/snap-stanford/Biomni">Biomni</a> is a general-purpose biomedical AI agent designed to autonomously execute a wide range of research tasks across diverse biomedical subfields. By integrating cutting-edge large language model (LLM) reasoning with retrieval-augmented planning and code-based execution, Biomni helps scientists dramatically enhance research productivity and generate testable hypotheses.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!NQvS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 424w, /__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 848w, /__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 1272w, /__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!NQvS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png" width="1456" height="725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:725,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 424w, /__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 848w, /__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 1272w, /__u/substackcdn.com/image/fetch/$s_!NQvS!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd06f3828-ee64-4c0c-8fc6-2b5aa13fe8a2_1500x747.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/MiniMax-AI/MiniMax-M1">MiniMax-M1</a> is powered by a hybrid Mixture-of-Experts (MoE) architecture combined with a lightning attention mechanism. The model is developed based on our previous <a href="https://huggingface.co/MiniMaxAI/MiniMax-Text-01">MiniMax-Text-01 model</a>, which contains a total of 456 billion parameters with 45.9 billion parameters activated per token. Consistent with MiniMax-Text-01, the M1 model natively supports a context length of 1 million tokens, 8x the context size of DeepSeek R1.</p><p><strong><a href="https://github.com/OpenBMB/MiniCPM-o">MiniCPM-o</a></strong> is the latest series of end-side multimodal LLMs (MLLMs) ungraded from MiniCPM-V. The models can now take images, video, text, and audio as inputs and provide high-quality text and speech outputs in an end-to-end fashion. Since February 2024, there have been released 6 versions of the model, aiming to achieve <strong>strong performance and efficient deployment</strong>. The most notable models in the series currently include:</p><ul><li><p><strong>MiniCPM-o 2.6</strong>: &#128293;&#128293;&#128293; The latest and most capable model in the MiniCPM-o series. With a total of 8B parameters, this end-to-end model <strong>achieves comparable performance to GPT-4o-202405 in vision, speech, and multimodal live streaming</strong>, making it one of the most versatile and performant models in the open-source community. For the new voice mode, MiniCPM-o 2.6 <strong>supports bilingual real-time speech conversation with configurable voices</strong>, and also allows for fun capabilities such as emotion/speed/style control, end-to-end voice cloning, role play, etc. It also advances MiniCPM-V 2.6's visual capabilities such <strong>strong OCR capability, trustworthy behavior, multilingual support, and video understanding</strong>. Due to its superior token density, MiniCPM-o 2.6 can for the first time <strong>support multimodal live streaming on end-side devices</strong> such as iPad.</p></li><li><p><strong>MiniCPM-V 2.6</strong>: The most capable model in the MiniCPM-V series. With a total of 8B parameters, the model <strong>surpasses GPT-4V in single-image, multi-image and video understanding</strong>. It outperforms <strong>GPT-4o mini, Gemini 1.5 Pro and Claude 3.5 Sonnet</strong> in single image understanding, and can for the first time support real-time video understanding on iPad.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!T9Gt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 424w, /__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 848w, /__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 1272w, /__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!T9Gt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png" width="232" height="232" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:500,&quot;resizeWidth&quot;:232,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Agentic Seek Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Agentic Seek Logo" title="Agentic Seek Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 424w, /__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 848w, /__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 1272w, /__u/substackcdn.com/image/fetch/$s_!T9Gt!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2906c674-e32e-4360-bc7b-6af87e6f86d9_500x500.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/Fosowl/agenticSeek">Agenticseek</a> is voice-enabled AI assistant autonomously browses the web, writes code, and plans tasks while keeping all data on your device. Tailored for local reasoning models, it runs entirely on your hardware, ensuring complete privacy and zero cloud dependency.</p><p></p><p><a href="https://github.com/facebookresearch/omnisealbench">OmniSealBench</a> provides a comprehensive benchmark for evaluating the performance of neural watermarking techniques. The benchmark includes a variety of datasets, evaluation metrics, and tools for training and testing neural networks for watermarking.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!gT5M!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 424w, /__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 848w, /__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 1272w, /__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!gT5M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png" width="1456" height="316" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dbd69286-a975-443b-a55d-988141073490_1882x408.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:316,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 424w, /__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 848w, /__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 1272w, /__u/substackcdn.com/image/fetch/$s_!gT5M!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbd69286-a975-443b-a55d-988141073490_1882x408.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/facebookresearch/flow_matching">flow_matching</a> is a PyTorch library for Flow Matching algorithms, featuring continuous and discrete implementations. It includes examples for both text and image modalities. This repository is part of <a href="https://arxiv.org/abs/2412.06264">Flow Matching Guide and Codebase</a>.</p><p><a href="https://github.com/bhauman/clojure-mcp">Clojure MCP</a> connects AI models to your Clojure development environment, enabling a remarkable REPL-driven development experience powered by large language models (LLMs).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!B_z6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 424w, /__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 848w, /__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 1272w, /__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!B_z6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png" width="1456" height="900" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:900,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:380667,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/168119489?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 424w, /__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 848w, /__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 1272w, /__u/substackcdn.com/image/fetch/$s_!B_z6!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb09fc083-5e41-4e7b-a9c8-76b856508a83_2272x1404.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/MoonshotAI/Kimi-K2">Kimi K2</a> is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities.</p><h4><strong>Key Features</strong></h4><ul><li><p>Large-Scale Training: Pre-trained a 1T parameter MoE model on 15.5T tokens with zero training instability.</p></li><li><p>MuonClip Optimizer: We apply the Muon optimizer to an unprecedented scale, and develop novel optimization techniques to resolve instabilities while scaling up.</p></li><li><p>Agentic Intelligence: Specifically designed for tool use, reasoning, and autonomous problem-solving.</p></li></ul><h4><strong>Model Variants</strong></h4><ul><li><p><strong>Kimi-K2-Base</strong>: The foundation model, a strong start for researchers and builders who want full control for fine-tuning and custom solutions.</p></li><li><p><strong>Kimi-K2-Instruct</strong>: The post-trained model best for drop-in, general-purpose chat and agentic experiences. It is a reflex-grade model without long thinking.</p></li></ul><p>More details and benchmarks are in the <a href="https://moonshotai.github.io/Kimi-K2/">post</a>.</p><p></p><h3>Below the Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!1Vae!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 424w, /__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 848w, /__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!1Vae!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png" width="994" height="298" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:298,&quot;width&quot;:994,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;gophish logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="gophish logo" title="gophish logo" srcset="/__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 424w, /__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 848w, /__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1Vae!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01bc40d7-9540-44ee-a7d9-83f73196abf8_994x298.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://getgophish.com/">Gophish</a> is an open-source phishing toolkit designed for businesses and penetration testers. It provides the ability to quickly and easily setup and execute phishing engagements and security awareness training.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!RDbc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 424w, /__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 848w, /__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!RDbc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png" width="1456" height="805" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:805,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Preview&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Preview" title="Preview" srcset="/__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 424w, /__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 848w, /__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RDbc!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c76646-7d6f-4682-a690-e250d05dd73f_4797x2652.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/fosrl/pangolin">Pangolin</a> is a self-hosted tunneled reverse proxy server with identity and access control, designed to securely expose private resources on distributed networks. Acting as a central hub, it connects isolated networks &#8212; even those behind restrictive firewalls &#8212; through encrypted tunnels, enabling easy access to remote services without opening ports.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!QSxq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!QSxq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg" width="1456" height="581" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:581,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logo" title="Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!QSxq!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2431948-1ce7-4419-860d-039531cfb74d_4160x1661.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/cactus-compute/cactus">Cactus</a> is a cross-platform framework for deploying LLM/VLM/TTS models locally in your app.</p><ul><li><p>Available in Flutter and React-Native for cross-platform developers.</p></li><li><p>Supports any GGUF model you can find on Huggingface; Qwen, Gemma, Llama, DeepSeek etc.</p></li><li><p>Run LLMs, VLMs, Embedding Models, TTS models and more.</p></li><li><p>Accommodates from FP32 to as low as 2-bit quantized models, for efficiency and less device strain.</p></li><li><p>MCP tool-calls to make AI performant and helpful (set reminder, gallery search, reply messages) etc.</p></li><li><p>Fallback to massive cloud models for complex tasks and upon device failures.</p></li><li><p>Chat templates with Jinja2 support and token streaming.</p></li></ul><p><a href="https://xenharmlib.readthedocs.io/en/latest/">Xenharmlib</a> is a generalized music theory library that supports traditional Western and non-western harmonic systems, unconventional microtonal and macrotonal tunings, diatonic and posttonal set theory and non-standard notations.</p><p><a href="https://flix.dev/">Flix</a> is a principled effect-oriented functional, imperative, and logic programming language developed at <a href="https://cs.au.dk/">Aarhus University</a></p><p>XAI has published a <a href="https://x.com/xai/status/1943158495588815072">video</a> on how they trained their new model Grok 4 against a very large training cluster.</p><p></p>]]></content:encoded></item><item><title><![CDATA[TPU Deep Dive]]></title><description><![CDATA[Tokasaurus and LLM Inference Library Comparisons]]></description><link>https://mlops.substack.com/p/tpu-deep-dive</link><guid isPermaLink="false">https://mlops.substack.com/p/tpu-deep-dive</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sat, 05 Jul 2025 16:01:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!6vCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!6vCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 424w, /__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 848w, /__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!6vCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png" width="1418" height="1388" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1388,&quot;width&quot;:1418,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 424w, /__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 848w, /__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6vCC!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f28ce65-6fc2-4c28-b781-1dd7a62b82bc_1418x1388.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Stanford Scaling Intelligence group wrote a <a href="https://scalingintelligence.stanford.edu/blogs/tokasaurus/">blog post</a> on Tokasaurus, a new LLM inference engine optimized for throughput-intensive workloads.</p><p>It can do batch processing tasks such as codebase scanning, synthetic data generation, and reinforcement learning pipelines. The main motivation comes from  that unlike traditional chatbot applications where individual response latency is important, modern AI workflows often require processing thousands of sequences efficiently, making throughput optimization the primary concern where Tokasaurus is aiming to achieve fill this need. </p><p>Comparing to vLLM and SGLang across various throughput-focused benchmarks, researchers claim that Tokasaurus shows 3x throughput. This performance gain stems from optimizations tailored for both small and large models, addressing different bottlenecks that emerge at various scales. The project's influence extends beyond raw performance metrics, as it demonstrates how specialized design choices can dramatically improve efficiency for specific use cases which is one of the main theme in the blog post.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!W85D!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 424w, /__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 848w, /__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 1272w, /__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!W85D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png" width="804" height="772" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:772,&quot;width&quot;:804,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Tokasaurus large batch sampling&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Tokasaurus large batch sampling" title="Tokasaurus large batch sampling" srcset="/__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 424w, /__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 848w, /__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 1272w, /__u/substackcdn.com/image/fetch/$s_!W85D!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2aa845c-b40a-4607-9e23-71e6ac05fb08_804x772.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Tokasaurus adopts significantly different approach to LLM inference by prioritizing throughput over latency, leading to architectural decisions that is different from general-purpose inference engines. Further, it is implemented in pure Python, leveraging PyTorch's compilation capabilities and the FlashInfer library for attention operations. This design choice prioritizes flexibility and extensibility, following the philosophy of projects like <a href="https://github.com/pytorch-labs/gpt-fast">GPT-fast</a>.</p><p>The engine's architecture centers around an adaptive CPU manager that maintains deep input queues for GPU computation. This manager operates asynchronously and adaptively, monitoring queue depths and automatically adjusting its behavior to prevent GPU starvation. When the input queue approaches depletion, the manager dynamically skips optional operations like stop string checking and new sequence onboarding until sufficient queue depth is restored.</p><p>The system supports flexible parallelization strategies within single nodes, accommodating any combination of data, tensor, and pipeline parallelism. Currently, Tokasaurus supports models from the Llama-3 and Qwen-2 families, with plans for broader model support.</p><h4>Small Model Optimizations</h4><p>For small models, CPU overhead becomes a critical bottleneck that can significantly impact overall throughput. Traditional inference engines attempt to mitigate this through asynchronous processing, where CPU tasks for batch N+1 are prepared while the GPU processes batch N. Tokasaurus extends this concept with an adaptive management system that goes beyond simple asynchrony.</p><p>The adaptive manager continuously monitors the depth of the input queue and implements dynamic prioritization of tasks. When the system detects potential GPU starvation, it automatically reduces CPU overhead by temporarily suspending non-critical operations. This approach ensures that GPU utilization remains high even under varying workload conditions, a crucial factor for maximizing throughput in small model deployments.</p><p>The effectiveness of this optimization is demonstrated through benchmarks using the <a href="https://huggingface.co/datasets/RyokoAI/ShareGPT52K">ShareGPT dataset</a>, where Tokasaurus consistently outperforms competing engines. The adaptive nature of the system allows it to maintain high performance across different request patterns and batch sizes, making it particularly suitable for variable workloads.</p><h5>Dynamic Prefix Identification and Hydragen Integration</h5><p>One of Tokasaurus's features is its dynamic implementation of <a href="https://github.com/ScalingIntelligence/hydragen">Hydragen</a> (also known as cascade attention or bifurcated attention), which optimizes attention computation for sequences with shared prefixes. Prefix sharing occurs frequently in practical LLM applications, including repeated sampling for mathematical problems, document-based question answering, and system prompt reuse across different conversations.</p><p>The challenge in implementing Hydragen in a production inference engine lies in detecting shared prefixes dynamically as sequences continuously start and finish. Tokasaurus solves this through a greedy depth-first search algorithm executed before each model forward pass. This algorithm iteratively identifies the longest possible shared prefixes among active sequences, maximizing the efficiency gains from shared computation.</p><p>The impact of this optimization is particularly pronounced for small models, which dedicate a relatively larger fraction of their computational budget to attention mechanisms compared to larger models. In benchmarks reproducing the Large Language Monkeys experiment&#8212;where 128 GSM8K problems each receive 1024 answer attempts&#8212;Tokasaurus achieves over 2x throughput improvement compared to other engines. This dramatic improvement demonstrates the practical value of dynamic prefix detection in real-world scenarios with high degrees of sequence overlap.</p><h4>Large Model Optimizations</h4><p>Tokasaurus was originally motivated by the need to efficiently run large model inference on L40S GPUs, which lack high-bandwidth NVLink connections between GPUs. Without NVLink, the communication costs of tensor parallelism across multiple GPUs become prohibitive, making pipeline parallelism a more attractive option. Pipeline parallelism requires much less inter-GPU communication by partitioning the model across different stages rather than distributing each layer.</p><p>The engine's pipeline parallelism implementation excels in throughput-focused scenarios because it naturally requires large batch sizes to achieve efficiency. Batches from the manager are subdivided into microbatches distributed across pipeline stages, and since throughput optimization typically involves using the largest batch size that fits in memory, this aligns perfectly with pipeline parallelism requirements.</p><p>Benchmarking results using Llama-3.1-70B on eight L40S GPUs demonstrate the effectiveness of this approach, with Tokasaurus achieving over 3x throughput improvement compared to vLLM and SGLang's pipeline parallel implementations. This significant performance gain makes high-end inference accessible to organizations with more modest GPU infrastructure, democratizing access to large model capabilities.</p><h5>Asynchronous Tensor Parallelism for High-End Hardware</h5><p>For users with access to NVLink-enabled GPUs such as B200s, H100s, and A100s, Tokasaurus offers a different optimization strategy through Asynchronous Tensor Parallelism (Async-TP). This feature leverages PyTorch's relatively new capability to overlap inter-GPU communication with other computations, effectively hiding communication costs.</p><p>The implementation maintains both torch-compiled versions of models with and without Async-TP enabled, allowing the system to automatically switch between configurations based on batch size. Through benchmarking, the team discovered that Async-TP introduces significant CPU overhead and only provides benefits at very large batch sizes (6,000+ tokens).The automatic switching mechanism ensures optimal performance across the full range of operational conditions.</p><p>This dual-optimization approach demonstrates Tokasaurus's adaptability to different hardware configurations, maximizing performance whether users have access to premium interconnects or more standard GPU setups. The torch compilation integration also enables end-to-end optimization, further improving performance through advanced compiler optimizations.</p><h4>FlashInfer Integration and Attention Optimization</h4><p>Tokasaurus leverages the <a href="https://github.com/flashinfer-ai/flashinfer">FlashInfer</a> library for attention and sampling operations, providing state-of-the-art kernel performance across diverse inference scenarios. FlashInfer implements efficient attention kernels for both sparse and dense KV-cache storage formats, supporting single-request and batch operations across prefill, decode, and append stages.</p><p>The integration with FlashInfer enables Tokasaurus to achieve significant performance improvements in attention computation, which often represents a substantial portion of inference time. FlashInfer's block-sparse format for KV cache management optimizes memory access patterns and reduces redundancy. The library's customizable attention templates and Just-In-Time compilation capabilities allow adaptation to various attention variants and hardware configurations.</p><p>FlashInfer's load-balanced scheduling algorithm adjusts to the dynamic nature of user requests while maintaining compatibility with CUDA Graph requirements for static configuration. Comprehensive evaluations demonstrate FlashInfer's ability to achieve 29-69% inter-token latency reduction compared to compiler backends, 28-30% latency reduction for long-context inference, and 13-17% speedup for parallel generation scenarios.</p><h4>Benchmarking Methodology and Results</h4><p>The Tokasaurus team implemented benchmarking protocols to ensure fair comparisons with existing engines.All engines were configured with identical KV cache sizes and maximum running request limits, with careful tuning of remaining parameters for each system. The benchmarks report average throughput across multiple runs after completing warmup phases, and all experiments were conducted on identical hardware configurations.</p><p>Two primary workload types were used for evaluation: ShareGPT dataset completion (a standard benchmark for inference engines) and reproduction of the Large Language Monkeys experiment using GSM8K mathematical problems. The latter workload particularly highlights the benefits of prefix sharing optimization, as it involves sampling 1024 answers for each of 128 problems.</p><p>All experiments utilized the OpenAI API interface to standardize interactions across different engines, though additional testing with vLLM's Python API showed modest additional improvements. The team made benchmarking scripts and commands publicly available, enabling reproducibility and independent verification of results.</p><p>The benchmark results demonstrate Tokasaurus's superior performance across multiple scenarios. For small models using the ShareGPT dataset, Tokasaurus consistently outperformed both vLLM and SGLang. The most significant improvements appeared in the Large Language Monkeys benchmark, where the prefix sharing optimization enabled over 2x throughput gains.</p><p>For large model evaluation using Llama-3.1-70B on eight L40S GPUs, Tokasaurus's pipeline parallelism implementation achieved over 3x throughput improvement compared to existing solutions. These results demonstrate the engine's effectiveness across different model sizes and hardware configurations.</p><p>The benchmarking also revealed interesting insights about the relationship between batch size and optimization effectiveness. Async-TP only becomes beneficial at very large batch sizes, while the adaptive CPU management provides consistent benefits across varying load conditions. These findings inform optimal deployment strategies for different use cases.</p><h4>Competitive Landscape</h4><p>The LLM inference engine landscape includes several very good libraries, each with different strengths and optimization focuses. <a href="https://github.com/vllm-project/vllm">vLLM</a> pioneered continuous batching and PagedAttention for memory-efficient serving, achieving dramatic improvements over naive implementations. <a href="https://github.com/sgl-project/sglang">SGLang</a> focuses on structured generation and efficient request scheduling, often achieving superior throughput in specific scenarios.</p><p>Tokasaurus differentiates itself through its specialized focus on throughput-intensive workloads and dynamic optimization capabilities. While vLLM excels in general-purpose serving and SGLang provides strong structured generation support, Tokasaurus's adaptive management and dynamic prefix detection offer unique advantages for batch processing scenarios.</p><p>The comparison reveals that no single engine dominates all scenarios, with performance varying based on model size, hardware configuration, and workload characteristics. Tokasaurus' contribution lies in pushing the boundaries of throughput optimization for specific use cases where batch processing efficiency is very important.</p><h2></h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!4HtQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 424w, /__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 848w, /__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!4HtQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png" width="1456" height="1040" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1040,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;chip diagram&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="chip diagram" title="chip diagram" srcset="/__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 424w, /__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 848w, /__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4HtQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8c6722b-d852-44bc-9288-a7ae1f6de08c_2888x2063.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Henry H.M. Ko provides a comprehensive, exploration of TPUs, focusing on their architectural philosophy, hardware-software co-design, and scalability from single-chip to multi-host deployments in his <a href="https://henryhmko.github.io/posts/tpu/tpu.html">TPU Deep Dive</a> blog post. It compares different aspects of TPU with GPUs. </p><ul><li><p><strong>Early Considerations:</strong> Google began exploring specialized hardware for machine learning in 2006, initially weighing GPUs, FPGAs, and custom ASICs. Early workloads didn&#8217;t justify the investment, so CPUs sufficed.</p></li><li><p><strong>Turning Point:</strong> By 2013, neural networks powered features like voice search, and internal projections showed that scaling with CPUs alone would be infeasible. This spurred the development of a custom ASIC: the TPU.</p></li><li><p><strong>Current Role:</strong> Today, TPUs underpin Google&#8217;s AI services, powering both training and inference for models like Gemini and Veo, as well as high-throughput recommendation models (DLRMs).</p></li></ul><p>The post specifically focuses on the TPUv4 architecture, which is representative of the latest generations (e.g., TPUv6p "Trillium", TPUv7 "Ironwood"). Each TPUv4 chip contains:</p><ul><li><p><strong>Two TensorCores:</strong> Responsible for all computation (inference-specialized chips have one).</p></li><li><p><strong>Shared Memory Units:</strong></p><ul><li><p><strong>CMEM (128 MiB):</strong> General on-chip memory.</p></li><li><p><strong>HBM (32 GiB):</strong> High Bandwidth Memory for large data storage.</p></li></ul></li></ul><p>Each TensorCore comprises several specialized units:</p><ol><li><p><strong>Matrix Multiply Unit (MXU):</strong></p><ul><li><p><strong>128x128 Systolic Array:</strong> The heart of the TPU&#8217;s compute capability, optimized for dense matrix multiplications.</p></li></ul></li><li><p><strong>Vector Processing Unit (VPU):</strong></p><ul><li><p>Handles elementwise operations (e.g., ReLU, add, multiply, reductions).</p></li></ul></li><li><p><strong>Vector Memory (VMEM, 32 MiB):</strong></p><ul><li><p>Acts as a buffer for data fetched from HBM, staging it for computation.</p></li></ul></li><li><p><strong>Scalar Unit and Scalar Memory (SMEM, 10 MiB):</strong></p><ul><li><p>Manages control flow, scalar ops, and memory address generation.</p></li></ul></li><li><p><strong>Instruction and Control Logic:</strong></p><ul><li><p>Directs the operation of the VPU and MXU.</p></li></ul></li></ol><h4>How does it compare with GPUs?</h4><ul><li><p><strong>Memory:</strong> TPUs have much larger on-chip memory (CMEM, VMEM, SMEM) but smaller HBM compared to GPUs (e.g., NVIDIA H100: 256 KB L1, 50 MB L2, 80 GB HBM).</p></li><li><p><strong>Compute Cores:</strong> TPUs have fewer, but much more specialized compute cores comparing to GPUs.</p></li><li><p><strong>Throughput:</strong> TPU v5p achieves 500 TFLOPs/sec per chip; a full pod (8960 chips) reaches ~4.45 ExaFLOPs/sec. TPUv7 "Ironwood" claims up to 42.5 ExaFLOPS/sec per pod (9216 chips).</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!fGpG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 424w, /__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 848w, /__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 1272w, /__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!fGpG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png" width="1456" height="995" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:995,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;systolic array diagram&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="systolic array diagram" title="systolic array diagram" srcset="/__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 424w, /__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 848w, /__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 1272w, /__u/substackcdn.com/image/fetch/$s_!fGpG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0f8be40-7f2e-4f1d-9e1a-e5d05ef00812_3834x2621.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h4>Systolic Array:</h4><ul><li><p>A grid of interconnected processing elements (PEs), each performing simple operations (e.g., multiply-accumulate) and passing results to neighbors.</p></li><li><p><strong>Advantages:</strong> Once data enters the array, no further control logic is needed. There are minimal memory reads/writes except for input and output, maximizing efficiency.</p></li><li><p><strong>Ideal Use Cases:</strong> Matrix multiplications and convolutions, which dominate deep learning workloads, map perfectly onto systolic arrays.</p></li></ul><h5>Downsides</h5><ul><li><p><strong>Sparsity Handling:</strong> Systolic arrays excel with dense matrices but don&#8217;t benefit from sparsity&#8212;PEs still process zeros, leading to wasted cycles for sparse workloads. This is a big downside and limitation as models like Mixture-of-Experts (MoE) become more common and ubiquitous especially in GenAI workflows. </p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!RGoJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 424w, /__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 848w, /__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!RGoJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png" width="1085" height="697" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:697,&quot;width&quot;:1085,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;TPU data movement visualized&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="TPU data movement visualized" title="TPU data movement visualized" srcset="/__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 424w, /__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 848w, /__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RGoJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5dc6aeab-cd9f-4ae8-a172-9bd8feda67a0_1085x697.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Memory Hierarchy Comparison with GPUs</h3><ul><li><p><strong>GPUs:</strong> Rely on caches to handle unpredictable memory access patterns, enhancing flexibility but increasing energy consumption.</p></li></ul><ul><li><p><strong>TPUs:</strong></p><ul><li><p><strong>Predictable Access Patterns:</strong> Most ML workloads have regular, predictable access patterns.</p></li><li><p><strong>Scratchpad Memory:</strong> By using ahead-of-time compilation (via the XLA compiler), TPUs can precompute memory accesses and use scratchpad buffers instead of caches.</p></li><li><p><strong>Energy Efficiency:</strong> Arithmetic operations are much cheaper than memory accesses. By minimizing memory operations, TPUs achieve both speed and substantial energy savings.</p></li></ul></li></ul><h4>XLA Compiler</h4><ul><li><p><strong>Role:</strong> The XLA compiler analyzes computation graphs ahead of time, generating highly optimized binaries that minimize memory traffic and maximize data reuse.</p></li><li><p><strong>JAX Integration:</strong> JAX uses XLA under the hood. When a function is jitted, JAX traces it to a static computation graph, which XLA compiles for the TPU. However, different input shapes require recompilation, making JAX less suitable for dynamic workloads.</p></li></ul><ul><li><p><strong>Flexibility:</strong> The heavy reliance on AoT compilation sacrifices flexibility&#8212;dynamic models or variable-length loops are less efficient.</p></li><li><p><strong>Compiler Dependency:</strong> The system&#8217;s performance hinges on compiler quality and static analysis.</p></li></ul><ul><li><p><strong>Memory vs. Compute:</strong> On modern chips, memory operations consume orders of magnitude more energy than arithmetic. HBM3 (used in TPUs) is more efficient than older DDR3/4 DRAM, but memory remains the dominant energy cost.</p></li><li><p><strong>Scaling Laws:</strong> Increasing FLOPs (compute) is preferable to increasing memory operations, as it improves both speed and energy efficiency.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!oWc3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 424w, /__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 848w, /__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 1272w, /__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!oWc3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png" width="1456" height="641" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:641,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Simple thread hierarchy&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Simple thread hierarchy" title="Simple thread hierarchy" srcset="/__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 424w, /__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 848w, /__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 1272w, /__u/substackcdn.com/image/fetch/$s_!oWc3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F254fa692-4c1a-4a91-9e57-df44edbf7d7e_6120x2693.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>Multi-Chip and System-Level Architecture</h4><h5>Tray (Board) Level</h5><ul><li><p><strong>Composition:</strong> A tray contains 4 TPU chips (8 TensorCores), each with its own CPU host (for inference, one host per two trays).</p></li><li><p><strong>Interconnects:</strong></p><ul><li><p><strong>Host to Chip:</strong> PCIe.</p></li><li><p><strong>Chip to Chip:</strong> Inter-Core Interconnect (ICI), offering higher bandwidth than PCIe.</p></li></ul></li></ul><h5>Rack Level</h5><ul><li><p><strong>Structure:</strong> 64 TPUs per rack, connected in a 4x4x4 3D torus topology.</p></li><li><p><strong>Interconnects:</strong> ICI and Optical Circuit Switching (OCS).</p></li><li><p><strong>Scalability:</strong> The modular design allows racks to be combined into larger systems.</p></li></ul><h4>Terminology</h4><ul><li><p><strong>TPU Rack:</strong> Physical unit with 64 chips ("cube").</p></li><li><p><strong>TPU Pod:</strong> Maximum number of TPUs connected via ICI and OCS (e.g., 4096 chips for TPUv4).</p></li><li><p><strong>TPU Slice:</strong> Any subset of TPUs within a pod, not necessarily contiguous.</p></li></ul><p></p><h4>Topology and Communication</h4><h5>3D Torus and OCS</h5><ul><li><p><strong>3D Torus:</strong> Each chip connects to neighbors in three dimensions, reducing hops and latency.</p></li><li><p><strong>OCS (Optical Circuit Switching):</strong> Used for wraparound connections, turning each axis into a ring (1D torus). This reduces worst-case communication hops from N&#8722;1N&#8722;1 to (N&#8722;1)/2(N&#8722;1)/2 per axis, crucial for scaling.</p></li></ul><h5>Benefits of OCS</h5><ol><li><p><strong>Wraparound:</strong> Faster communication and reduced latency.</p></li><li><p><strong>Noncontiguous Slices:</strong> OCS allows logical grouping of non-adjacent chips, enabling flexible resource allocation and higher utilization.</p></li><li><p><strong>Scalability:</strong> Fewer physical wires and more flexible configurations support larger pod sizes.</p></li></ol><h4>Topology Choices</h4><ul><li><p><strong>Cube (e.g., 8x8x8):</strong> Maximizes bisection bandwidth, ideal for all-to-all communication (data/tensor parallelism).</p></li><li><p><strong>Cigar (e.g., 4x4x32):</strong> Favors pipeline parallelism, reducing sequential layer communication time.</p></li><li><p><strong>Rectangle (e.g., 4x8x16):</strong> Intermediate trade-offs.</p></li></ul><h4>Superpod</h4><ul><li><p><strong>Definition:</strong> The largest configuration of interconnected chips via ICI and OCS (e.g., 4096 chips for TPUv4, 9216 for TPUv7).</p></li><li><p><strong>Physical Layout:</strong> Multiple racks interconnected, forming a massive, unified compute resource.</p></li></ul><h4>Slices and Flexibility</h4><ul><li><p><strong>Dynamic Slicing:</strong> Thanks to OCS, slices can be noncontiguous, allowing for flexible job scheduling and resource allocation.</p></li><li><p><strong>Performance Impact:</strong> The chosen slice topology directly affects communication bandwidth and parallelism efficiency.</p></li></ul><h4>Beyond the Pod</h4><ul><li><p><strong>Multi-Pod:</strong> Connecting multiple pods requires slower interconnects, but enables even larger clusters for the most demanding workloads.</p></li></ul><h4>TPU Limitations</h4><p>While TPUs are great for a variety of different use cases, it still has a number of limitations that are in following:</p><ul><li><p><strong>Sparsity:</strong> Systolic arrays are inefficient for sparse workloads, a growing concern as models evolve.</p></li><li><p><strong>Flexibility:</strong> AoT compilation and static memory layouts hinder dynamic model architectures.</p></li><li><p><strong>Compiler Reliance:</strong> Performance and efficiency depend heavily on the XLA compiler&#8217;s ability to optimize computation graphs.</p></li><li><p><strong>Topology Tuning:</strong> Selecting the optimal slice topology is non-trivial and model-dependent.</p></li></ul><p></p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ySNV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 424w, /__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 848w, /__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ySNV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png" width="1456" height="996" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:996,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:142863,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/166485363?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 424w, /__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 848w, /__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ySNV!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff96d0e1-bdac-42ab-93ad-65a1ed2d5300_1508x1032.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://modelcontextprotocol.io/introduction">MCP</a> is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.</p><p>MCP helps you build agents and complex workflows on top of LLMs. LLMs frequently need to integrate with data and tools, and MCP provides:</p><ul><li><p>A growing list of pre-built integrations that your LLM can directly plug into</p></li><li><p>The flexibility to switch between LLM providers and vendors</p></li><li><p>Best practices for securing your data within your infrastructure</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!95kT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 424w, /__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 848w, /__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!95kT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg" width="668" height="359" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:359,&quot;width&quot;:668,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 424w, /__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 848w, /__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!95kT!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F066fbbcd-a805-4451-8bca-68e4ff1af73b_668x359.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/facebookresearch/lingua/tree/main">Meta Lingua</a> is a minimal and fast LLM training and inference library designed for research. Meta Lingua uses easy-to-modify PyTorch components in order to try new architectures, losses, data, etc. We aim for this code to enable end to end training, inference and evaluation as well as provide tools to better understand speed and stability. </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!8TB9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 424w, /__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 848w, /__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!8TB9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d3930794-3835-4199-9689-e857460e75d0_1920x1080.bin&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Protenix predictions&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Protenix predictions" title="Protenix predictions" srcset="/__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 424w, /__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 848w, /__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!8TB9!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3930794-3835-4199-9689-e857460e75d0_1920x1080.bin 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong><a href="https://github.com/bytedance/Protenix">Protenix</a></strong> &#8212; a trainable, open-source PyTorch reproduction of <a href="https://www.nature.com/articles/s41586-024-07487-w">AlphaFold 3</a>.</p><p>Protenix is built for high-accuracy structure prediction. It serves as an initial step in our journey toward advancing accessible and extensible research tools for the computational biology community.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!r6Wg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 424w, /__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 848w, /__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 1272w, /__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!r6Wg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png" width="1024" height="325" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:325,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="logo" title="logo" srcset="/__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 424w, /__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 848w, /__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 1272w, /__u/substackcdn.com/image/fetch/$s_!r6Wg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dca5bc7-c1ab-4449-b970-a2a5f0e5be33_1024x325.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em><a href="https://github.com/TRAIS-Lab/dattri">dattri</a></em> is a PyTorch library for <strong>developing, benchmarking, and deploying efficient data attribution algorithms</strong>. You may use <em>dattri</em> to</p><ul><li><p>Deploy existing data attribution methods to PyTorch models</p><ul><li><p>e.g., Influence Function, TracIn, RPS, TRAK, ...</p></li></ul></li><li><p>Develop new data attribution methods with efficient implementation of low-level utility functions</p><ul><li><p>e.g., Hessian (HVP/IHVP), Fisher Information Matrix (IFVP), random projection, dropout ensembling, ...</p></li></ul></li><li><p>Benchmark data attribution methods with standard benchmark settings</p><ul><li><p>e.g., MNIST-10+LR/MLP, CIFAR-10/2+ResNet-9, MAESTRO + Music Transformer, Shakespeare + nanoGPT, ...</p></li></ul></li></ul><p>If you have time to watch one video last week, make sure it is this one: </p><div id="youtube2-LCEmiRjPEtQ" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;LCEmiRjPEtQ&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/LCEmiRjPEtQ?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p></p><h3>Below The Fold(BTF)</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!3B9Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 424w, /__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 848w, /__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!3B9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png" width="412" height="347" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:347,&quot;width&quot;:412,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logo" title="Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 424w, /__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 848w, /__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3B9Y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbbc4b6e-08a9-4d9f-9f0d-1ff2c3719d3e_412x347.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/oven-sh/bun">Bun</a> is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called <code>bun</code>.</p><p>At its core is the <em>Bun runtime</em>, a fast JavaScript runtime designed as <strong>a drop-in replacement for Node.js</strong>. It's written in Zig and powered by JavaScriptCore under the hood, dramatically reducing startup times and memory usage.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!TGG_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 424w, /__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 848w, /__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!TGG_!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif" width="1334" height="793" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:793,&quot;width&quot;:1334,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Graph Visualization&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Graph Visualization" title="Graph Visualization" srcset="/__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 424w, /__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 848w, /__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!TGG_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfff7a88-04c4-41e3-acb6-b3fba4fbd575_1334x793.gif 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><a href="https://github.com/foambubble/foam">Foam</a> is a personal knowledge management and sharing system inspired by <a href="https://roamresearch.com/">Roam Research</a>, built on <a href="https://code.visualstudio.com/">Visual Studio Code</a> and <a href="https://github.com/">GitHub</a>.</p><p>You can use Foam for organising your research, keeping re-discoverable notes, writing long-form content and, optionally, publishing it to the web.</p><p>Foam is free, open source, and extremely extensible to suit your personal workflow. You own the information you create with Foam, and you're free to share it, and collaborate on it with anyone you want.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!CGMx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 424w, /__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 848w, /__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!CGMx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg" width="704" height="183" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:183,&quot;width&quot;:704,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Hurl Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Hurl Logo" title="Hurl Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 424w, /__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 848w, /__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!CGMx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F662224ac-c980-4589-8e0f-5d5dae65ddf8_704x183.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/Orange-OpenSource/hurl">Hurl</a> is a command line tool that runs <strong>HTTP requests</strong> defined in a simple <strong>plain text format</strong>.</p><p>It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both <strong>fetching data</strong> and <strong>testing HTTP</strong> sessions.</p><p>Hurl makes it easy to work with <strong>HTML</strong> content, <strong>REST / SOAP / GraphQL</strong> APIs, or any other <strong>XML / JSON</strong> based APIs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Sdhv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 424w, /__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 848w, /__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Sdhv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;github-background&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="github-background" title="github-background" srcset="/__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 424w, /__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 848w, /__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Sdhv!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4dee06b-7e09-4d39-aae1-100ccdbca958_2000x1000.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/kanbn/kan">Kan</a> is the open-source project management alternative to Trello.</p><ul><li><p>&#128065;&#65039; <strong>Board Visibility</strong>: Control who can view and edit your boards</p></li><li><p>&#129309; <strong>Workspace Members</strong>: Invite members and collaborate with your team</p></li><li><p>&#128640; <strong>Trello Imports</strong>: Easily import your Trello boards</p></li><li><p>&#128269; <strong>Labels &amp; Filters</strong>: Organise and find cards quickly</p></li><li><p>&#128172; <strong>Comments</strong>: Discuss and collaborate with your team</p></li><li><p>&#128221; <strong>Activity Log</strong>: Track all card changes with detailed activity history</p></li><li><p>&#127912; <strong>Templates (coming soon)</strong> : Save time with reusable board templates</p></li><li><p>&#9889;&#65039; <strong>Integrations (coming soon)</strong> : Connect your favourite tools</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!MzAm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 424w, /__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 848w, /__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MzAm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png" width="1268" height="715" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:715,&quot;width&quot;:1268,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper demo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper demo" title="Paper demo" srcset="/__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 424w, /__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 848w, /__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MzAm!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3997a6ae-4087-4e41-8472-abadd8420741_1268x715.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/iamgio/quarkdown">Quarkdown</a> is a modern Markdown-based typesetting system, designed around the key concept of <strong>versatility</strong>, by seamlessly compiling a project into a print-ready book or an interactive presentation. All through an incredibly powerful Turing-complete extension of Markdown, ensuring your ideas flow automatically into paper.</p><p><a href="https://github.com/janbjorge/pgqueuer">PGQueuer</a> is a minimalist, high-performance job queue library for Python, leveraging PostgreSQL's robustness. Designed with simplicity and efficiency in mind, PGQueuer offers real-time, high-throughput processing for background jobs using PostgreSQL's LISTEN/NOTIFY and <code>FOR UPDATE SKIP LOCKED</code> mechanisms.</p><p><a href="https://github.com/istio/istio">Istio</a> is an open source service mesh that layers transparently onto existing distributed applications. Istio&#8217;s powerful features provide a uniform and more efficient way to secure, connect, and monitor services. Istio is the path to load balancing, service-to-service authentication, and monitoring &#8211; with few or no service code changes.</p>]]></content:encoded></item><item><title><![CDATA[One MegaKernel to rule Llama-1B]]></title><description><![CDATA[Stanford's Hazy Research group recently explored how to maximize the speed of open-source models on modern GPUs, particularly in the challenging scenario of generating a single sequence with Llama-3.2-1B.]]></description><link>https://mlops.substack.com/p/one-megakernel-to-rule-llama-1b</link><guid isPermaLink="false">https://mlops.substack.com/p/one-megakernel-to-rule-llama-1b</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sat, 21 Jun 2025 15:01:07 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Xb4R!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Xb4R!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 424w, /__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 848w, /__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Xb4R!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png" width="1456" height="874" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:874,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Performance comparison graph&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Performance comparison graph" title="Performance comparison graph" srcset="/__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 424w, /__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 848w, /__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Xb4R!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf4cd967-7238-4ece-9e5b-a72c0fdada92_3000x1800.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Stanford's Hazy Research group <a href="https://hazyresearch.stanford.edu/blog/2025-05-27-no-bubbles">recently explored how to maximize the speed of open-source models on modern GPUs</a>, particularly in the challenging scenario of generating a single sequence with Llama-3.2-1B. Their findings reveal significant performance limitations in popular LLM inference engines and introduce a "megakernel" approach that delivers better speed improvements comparing to other approaches.</p><p>They identified an opportunity when running a single sequence with Llama-1B, performance is strongly memory-bound, meaning that execution speed is primarily limited by how quickly model weights can be loaded from GPU global memory. Popular LLM inference engines like <a href="https://github.com/vllm-project/vllm">vLLM</a> and <a href="https://github.com/sgl-project/sglang">SGLang</a> are only able to utilize at most 50% of the available GPU bandwidth when running this workload on high-performance accelerators like NVIDIA's H100.</p><p>The core problem is that existing systems break down a model's forward pass into approximately one hundred separate kernels, each implementing only a few operations such as RMS normalization, attention mechanisms, MLP layers with activations, and rotary position embeddings. Each of these kernels comes with setup and teardown periods during which no useful work is performed and creates overhead, resulting in inefficiencies.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!BbRY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 424w, /__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 848w, /__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!BbRY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png" width="1456" height="421" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:421,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Kernel boundaries diagram&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Kernel boundaries diagram" title="Kernel boundaries diagram" srcset="/__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 424w, /__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 848w, /__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BbRY!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb236c395-48d7-4633-9ecd-bac3d0b7531b_1600x463.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Three key problems with the current kernel-based approach that create what they call "memory pipeline bubbles"&#8212;periods when the GPU is not actively loading from memory:</p><ol><li><p><strong>Strict Ordering of GPU Kernels</strong>: GPU kernels are launched in a strict sequence where thread blocks in a new kernel cannot start until all thread blocks from previous kernels have completely finished. This creates waiting periods as stragglers finish their work.</p></li><li><p><strong>Kernel Launch and Teardown Costs</strong>: Each kernel launch incurs overhead. Even with NVIDIA's CUDA graphs (designed to hide these costs), measurements on an H100 showed launch costs of about 1.3 microseconds per kernel&#8212;time during which the GPU performs no useful work.</p></li><li><p><strong>Weight and Activation Loading Delays</strong>: After a new kernel starts, the GPU must wait to load weights and activations before computation can begin. These latencies result in thousands of idle cycles.</p></li></ol><p>For a model like Llama-1B with 16 layers and approximately 7 kernel launches per layer, even with an optimistic 5 microseconds of stalling per kernel, these inefficiencies limit performance. The theoretical memory limit on an H100 would allow approximately 1,350 forward passes per second, but pipeline bubbles reduce this to around 770 forward passes per second or even lower with further inefficiencies. </p><p>To address these limitations, one approach could be to merging the entire Llama-1B forward pass into a single "megakernel" that eliminates kernel boundaries altogether. This approach achieves remarkable performance, utilizing 78% of memory bandwidth on an H100 and outperforming existing systems by over 1.5x.</p><p>However, there are many challenges building and pipelining all of the kernel operations into a single kernel.  </p><h4><strong>Challenge 1: Fusing Numerous Operations</strong></h4><p>Traditional kernel fusion typically merges just two or three operations, but the Llama-1B forward pass requires fusing approximately one hundred operations. To manage this complexity, one needs to build an on-GPU interpreter where each streaming multiprocessor (SM) receives and executes a sequence of instructions. In order to do so, there are several key instructions for their Llama forward pass megakernel:</p><ul><li><p>Fused RMS norm &amp; QKV &amp; RoPE instruction</p></li><li><p>Attention computation instruction</p></li><li><p>Attention reduction instruction (for ThunderGQA on long sequences)</p></li><li><p>O-projection + residual instruction</p></li><li><p>Fused RMS norm &amp; up-gate &amp; SiLU instruction</p></li><li><p>Down-projection + residual instruction</p></li><li><p>RMS norm &amp; language modeling head instruction</p></li></ul><p>These instructions were implemented using a common CUDA template with standardized load, store, and compute functions to ensure interoperability within the interpreter framework.</p><h4><strong>Challenge 2: Managing Shared Memory Resources</strong></h4><p>The megakernel architecture allows for pipelining memory loads across instructions, starting to load weights for an upcoming instruction even while a previous instruction is still finishing. However, this creates a resource allocation challenge: the loaded weights need somewhere to be stored.</p><p>The solution was to implement a shared memory paging system. On an H100, the authors of the blog post divided the first 213KB of shared memory into thirteen 16KB pages, with remaining shared memory reserved for instruction parameters. Instructions explicitly request and release these pages from the interpreter, which automatically passes released pages to subsequent instructions. This allows new instructions to begin loading data as soon as shared memory becomes available, which also helps increasing utilization of the memory bandwidth.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ZgiJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ZgiJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png" width="500" height="247" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/faaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:247,&quot;width&quot;:500,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Thanos illustration&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Thanos illustration" title="Thanos illustration" srcset="/__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZgiJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaf36c5-8d0a-43f8-8ceb-4535c26fd16b_500x247.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4><strong>Challenge 3: Explicit Synchronization</strong></h4><p>In traditional multi-kernel execution, CUDA ensures that all input tensors for a kernel are fully produced and available before the kernel launches. With megakernels, this guarantee doesn't exist&#8212;when an SM starts executing a new instruction, its inputs might not be ready.</p><p>To address this synchronization challenge, the authors implemented a counter system in GPU global memory. When an instruction completes, it increments a specific counter; when a new instruction starts, it waits for relevant counters to reach target values, confirming that all dependencies have been satisfied.</p><p>This approach enabled advanced optimizations like chunking the intermediate state in multi-layer perceptrons (MLPs). Rather than waiting for the entire hidden state to complete before beginning the down projection matrix multiply (as would be necessary with PDL), the megakernel produces and consumes the intermediate state in four chunks, each with its own counter. This allows the down projection to start processing a chunk as soon as it's ready, without waiting for the entire hidden state.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!BCsF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 424w, /__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 848w, /__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!BCsF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png" width="960" height="554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:554,&quot;width&quot;:960,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Sonic illustration&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Sonic illustration" title="Sonic illustration" srcset="/__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 424w, /__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 848w, /__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BCsF!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac768e0b-be66-43c7-b7d4-9582e3c72f71_960x554.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4><strong>Performance Results</strong></h4><p>The megakernel approach improved the existing implementation through speed quite a bit: </p><ul><li><p>On an H100, it runs almost 2.5x faster than vLLM and over 1.5x faster than SGLang.</p></li><li><p>On a B200, the performance gap with vLLM increases to over 3.5x, while maintaining more than 1.5x advantage over SGLang.</p></li></ul><h4>Other Approaches</h4><p>While the megakernel approach demonstrates superior performance, the authors also acknowledge other technical approaches have their own merits:</p><ol><li><p><strong>CUDA Graphs</strong>: This NVIDIA feature helps hide kernel launch costs, reducing launch overhead from about 2.1 microseconds to 1.3 microseconds on an H100. While this represents a 38% improvement, it still leaves significant performance on the table compared to the megakernel approach.</p></li><li><p><strong>Programmatic Dependent Launch (PDL)</strong>: This NVIDIA mechanism allows the next kernel to start preparing while the previous kernel is running, potentially improving pipelining.However, the authors found that PDL's synchronization mechanism (cudaGridDependencySynchronize) is too coarse-grained. For example, it requires waiting for all queries, keys, and values to complete before starting attention calculations, rather than allowing heads to start as soon as they're ready. The megakernel's fine-grained counter-based synchronization offers more flexibility and efficiency.</p></li><li><p><strong>Traditional Kernel-Based Execution</strong>: The standard approach of dividing operations into separate kernels does provide automatic synchronization guarantees and simpler programming models. However, these benefits come at the cost of significant performance penalties for low-latency, memory-bound workloads.</p></li></ol><p></p><h3>Libraries</h3><p><a href="https://github.com/NVIDIA/garak">garak</a> checks if an LLM can be made to fail in a way we don't want. garak probes for hallucination, data leakage, prompt injection, misinformation, toxicity generation, jailbreaks, and many other weaknesses. If you know <code>nmap</code> or <code>msf</code> / Metasploit Framework, garak does somewhat similar things to them, but for LLMs.</p><p>garak focuses on ways of making an LLM or dialog system fail. It combines static, dynamic, and adaptive probes to explore this.</p><p>garak's a free tool. We love developing it and are always interested in adding functionality to support applications.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!dIH0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!dIH0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png" width="374" height="210.375" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:374,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;SD3 Diagram&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="SD3 Diagram" title="SD3 Diagram" srcset="/__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 424w, /__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 848w, /__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dIH0!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9976aac2-9362-4b92-8f58-93f7b07c310b_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/yousef-rafat/miniDiffusion">miniDiffusion</a> is a reimplementation of the Stable Diffusion 3.5 model in pure PyTorch with minimal dependencies. It's designed for educational, experimenting, and hacking purposes. It's made with the mindset of having the least amount of code necessary to recreate Stable Diffusion 3.5 from scratch, with only ~2800 spanning from VAE to DiT to the Train and Dataset scripts.</p><p><strong><a href="https://github.com/slipboxai/swift-scribe">Swift Scribe</a></strong> is a privacy-first, AI-enhanced transcription application built exclusively for iOS 26/macOS 26+ that transforms spoken words into organized, searchable notes. Using Apple's latest SpeechAnalyzer and SpeechTranscriber frameworks (available only in iOS 26/macOS 26+) combined with on-device Foundation Models, it delivers real-time speech recognition, intelligent content analysis, and advanced text editing capabilities.</p><h3>Below the Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Qxlu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 424w, /__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 848w, /__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Qxlu!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif" width="834" height="320" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:320,&quot;width&quot;:834,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;introductory movie showing some basic commands&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="introductory movie showing some basic commands" title="introductory movie showing some basic commands" srcset="/__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 424w, /__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 848w, /__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 1272w, /__u/substackcdn.com/image/fetch/$s_!Qxlu!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7c535ae-2c9b-4ec3-8166-8743da0f41d6_834x320.gif 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/apple/container">container</a> is a tool that you can use to create and run Linux containers as lightweight virtual machines on your Mac. It's written in Swift, and optimized for Apple silicon.</p><p>The tool consumes and produces OCI-compliant container images, so you can pull and run images from any standard container registry. You can push images that you build to those registries as well, and run the images in any other OCI-compliant application.</p><p>container uses the <a href="https://github.com/apple/containerization">Containerization</a> Swift package for low level container, image, and process management.</p><p><a href="https://github.com/zellij-org/zellij#origin-of-the-name">Zellij</a> is a workspace aimed at developers, ops-oriented people and anyone who loves the terminal. Similar programs are sometimes called "Terminal Multiplexers".</p><p>Zellij is designed around the philosophy that one must not sacrifice simplicity for power, taking pride in its great experience out of the box as well as the advanced features it places at its users' fingertips.</p><p>Zellij is geared toward beginner and power users alike - allowing deep customizability, personal automation through <a href="https://zellij.dev/documentation/layouts.html">layouts</a>, true multiplayer collaboration, unique UX features such as floating and stacked panes, and a <a href="https://zellij.dev/documentation/plugins.html">plugin system</a> allowing one to create plugins in any language that compiles to WebAssembly.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!YFfJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 424w, /__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 848w, /__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!YFfJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png" width="1456" height="374" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/be9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:374,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;pgroll logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="pgroll logo" title="pgroll logo" srcset="/__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 424w, /__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 848w, /__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YFfJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe9afe42-7d15-4e7b-8f17-9dd21e9cb973_2024x520.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/xataio/pgroll">pgroll</a> is an open source command-line tool that offers safe and reversible schema migrations for PostgreSQL by serving multiple schema versions simultaneously. It takes care of the complex migration operations to ensure that client applications continue working while the database schema is being updated. This includes ensuring changes are applied without locking the database, and that both old and new schema versions work simultaneously (even when breaking changes are being made!). This removes risks related to schema migrations, and greatly simplifies client application rollout, also allowing for instant rollbacks.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!jLdi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 424w, /__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 848w, /__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!jLdi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png" width="990" height="618" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:618,&quot;width&quot;:990,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:105013,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/165497911?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 424w, /__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 848w, /__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jLdi!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48ec57bd-c2f6-4215-8e41-4b6daebf1e69_990x618.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://ephe.app/landing">Ephe</a> is an ephemeral markdown paper to organize your daily todos and thoughts.</p><p>Traditional todo apps can be overwhelming.<br>Ephe is designed to organize your tasks with plain Markdown.<br>Ephe gives you just one clean page to focus your day.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!RbDa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 424w, /__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 848w, /__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!RbDa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png" width="290" height="300" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:300,&quot;width&quot;:290,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:179141,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/165497911?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 424w, /__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 848w, /__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RbDa!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3e7364a-0e95-4e57-a54e-ead8f0e8c96e_290x300.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><em><strong><a href="https://github.com/big-nacho/patolette">patolette</a></strong></em> is a <strong>C / Python</strong> color quantization and dithering library.</p><p>At its core, it implements a weighted variant of Xiaolin Wu's PCA-based quantizer (not to be confused with the popular one from <em>Graphics Gems vol. II</em>, which is already available <a href="https://gist.github.com/bert/1192520">here</a>).</p><p>Some of its key features are:</p><ul><li><p>Avoids axis-aligned subdivisions</p></li><li><p>Supports the <strong>CIEL*u*v*</strong> and <strong>ICtCp</strong> color spaces</p></li><li><p>Optional use of saliency maps to give higher weight to areas that stand out visually</p></li><li><p>Optional <em>KMeans</em> refinement</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Gi9j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Gi9j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png" width="205" height="205" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48378f1d-04ea-444f-959c-016130da527e_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:205,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;romm logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="romm logo" title="romm logo" srcset="/__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Gi9j!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48378f1d-04ea-444f-959c-016130da527e_1024x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/rommapp/romm">RomM</a> (ROM Manager) allows you to scan, enrich, browse and play your game collection with a clean and responsive interface. With support for multiple platforms, various naming schemes, and custom tags, RomM is a must-have for anyone who plays on emulators.</p>]]></content:encoded></item><item><title><![CDATA[Attention Wasn't All We Needed, we need more]]></title><description><![CDATA[Cosine Autoencoder for Image Restoration]]></description><link>https://mlops.substack.com/p/attention-wasnt-all-we-needed-we</link><guid isPermaLink="false">https://mlops.substack.com/p/attention-wasnt-all-we-needed-we</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 08 Jun 2025 22:00:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!3-SU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!3-SU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 424w, /__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 848w, /__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!3-SU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png" width="1456" height="453" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/642851e3-be21-4151-9352-6be73e7615f3_1978x616.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:453,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Network Architecture&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Network Architecture" title="Network Architecture" srcset="/__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 424w, /__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 848w, /__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 1272w, /__u/substackcdn.com/image/fetch/$s_!3-SU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F642851e3-be21-4151-9352-6be73e7615f3_1978x616.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>NVIDIA introduces <a href="https://sifeiliu.net/CosAE-page/">CosAE</a> (Cosine Autoencoder), a novel, generic Autoencoder that seamlessly leverages the classic Fourier series with a feed-forward neural network. CosAE represents an input image as a series of 2D Cosine time series, each defined by a tuple of learnable frequency and Fourier coefficients. This method stands in contrast to a conventional Autoencoder that often sacrifices detail in their reduced-resolution bottleneck latent spaces. CosAE, however, encodes frequency coefficients, i.e., the amplitudes and phases, in its bottleneck. This encoding enables extreme spatial compression, e.g., 64x downsampled feature maps in the bottleneck, without losing detail upon decoding.</p><p>I think there is a strong argument on why this type of architecture can be better than traditional vanilla AE:</p><ol><li><p>Fourier coefficients exploit information that occurs in the images in a more straightforward manner. </p></li><li><p>Fourier coefficients  can provide compression capability in a much better than the traditional vanilla auto encoder architectures. </p></li></ol><p>There is also strong argument on why this type of architecture can be worse than traditional vanilla AE: </p><ol><li><p>Fourier coefficients would be better for natural images and images that are generally good for visual elements of human eye and from the real world, but may not work as well for synthetically generated images.</p></li><li><p>While Fourier coefficients can provide better compression capabilities, it might also prevent other types of relationships that a traditional autoencoder might uncover.</p></li></ol><h2>Attention Wasn&#8217;t All We needed</h2><p>Stephen Diehl wrote an excellent <a href="https://www.stephendiehl.com/posts/post_transformers/">article</a> around attention and subsequent developments around attention and how crucial they are for optimizing the architecture and hence the cheeky title &#8220;Attention Wasn't All We Needed&#8221;. </p><p>"<a href="https://arxiv.org/html/1706.03762v7">Attention Is All You Need</a>" paper established the foundation for transformer architectures, but subsequent research has revealed significant opportunities for optimization and enhancement of this architecture both from efficiency and better accuracy point of view. </p><p>Dielh looks at three critical attention mechanism innovations that address fundamental limitations in the original transformer design: 1. Group Query Attention (GQA), 2. Multi-head Latent Attention, and 3. Flash Attention. </p><p>These mechanisms tackle distinct but somehow interconnected challenges including memory bandwidth bottlenecks during inference, quadratic computational complexity for long sequences, and inefficient GPU memory utilization patterns.</p><h4>Group Query Attention: Optimizing Memory Bandwidth for Inference</h4><p><strong>Group Query Attention(GQA)</strong> represents a shift in how attention mechanisms balance computational efficiency with representational capacity during inference. It specifically targets the key-value (KV) cache bottleneck that emerges during autoregressive generation, where previously computed keys and values must be stored and repeatedly accessed for each new token prediction. The main idea of GQA is that the computational bottleneck and memory footprint in multi-head attention are heavily influenced by the <strong>size of the K and V projections</strong> and their corresponding caches, rather than the <strong>query projections</strong> themselves.</p><p>Traditional multi-head attention maintains N_h distinct heads for queries, keys, and values, resulting in substantial memory requirements during inference when the KV cache must store all previous computations. GQA introduces an asymmetric design where N_h query heads operate with only N_kv key-value heads, where N_kv &lt; N_h and N_h is typically a multiple of N_kv. This architectural modification directly addresses the observation that key and value representations can be effectively shared across multiple query heads without significant performance degradation.</p><p>The mathematical foundation of GQA builds upon standard attention mechanisms while introducing parameter sharing. Given an input sequence representation X &#8712; R^(L&#215;d_model), where L represents sequence length and d_model denotes embedding dimension, the mechanism first projects X into queries, keys, and values using distinct linear transformations: Q = XW_Q, K = XW_K, and V = XW_V. The distinction lies in the dimensionality of these projection matrices, where W_Q &#8712; R^(d_model&#215;(N_h d_k)) maintains full query capacity while W_K, W_V &#8712; R^(d_model&#215;(N_kv d_k)) operate with reduced key-value dimensions.</p><p>The grouping mechanism divides the N_h query heads into N_kv groups, with each group containing g = N_h/N_kv query heads that share the same key and value representations. For the i-th query head, the corresponding key and value heads are determined by K_&#8968;i/g&#8969; and V_&#8968;i/g&#8969;, where the ceiling function ensures proper group assignment. The attention computation for each head follows the standard scaled dot-product attention formula, but with shared key-value pairs:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;Attention(Qi,K&#8968;i/g&#8969;,V&#8968;i/g&#8969;)=softmax(QiK&#8968;i/g&#8969;Tdk)V&#8968;i/g&#8969;&quot;,&quot;id&quot;:&quot;MVTGLVPUHK&quot;}" data-component-name="LatexBlockToDOM"></div><p></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;Attention(Qi,K&#8968;i/g&#8969;,V&#8968;i/g&#8969;)=softmax(dkQiK&#8968;i/g&#8969;T)V&#8968;i/g&#8969;&quot;,&quot;id&quot;:&quot;HPYTHZRJSY&quot;}" data-component-name="LatexBlockToDOM"></div><p></p><p>Through this, we can keep the full expressiveness of query representations while dramatically reducing the memory requirements for key-value storage.</p><h4>Implementation Efficiency and Practical Considerations</h4><p>The practical implementation of GQA leverages efficient tensor operations to minimize computational overhead while maximizing memory savings. The technique employs repetition and interleaving operations to align the reduced set of key-value heads with the full set of query heads before performing batched matrix multiplication for attention scores. This approach, implemented through operations like <code>repeat_interleave</code>, ensures that the computational pattern remains highly parallelizable and compatible with existing GPU kernels.</p><p>The memory bandwidth benefits of GQA become particularly important during autoregressive generation, where the KV cache size directly impacts inference speed. By reducing N_kv, GQA significantly decreases the memory bandwidth required to load the KV cache at each decoding step, which represents the primary performance bottleneck in large model deployment. Empirical evaluations demonstrate that GQA achieves favorable trade-offs, maintaining most of the representational quality of full multi-head attention while delivering substantial speedups and memory savings.</p><p>Multi-query attention (MQA) represents an extreme case of GQA where N_kv = 1, providing maximum memory efficiency at the potential cost of some representational capacity. The flexible framework allows practitioners to tune the N_h/N_kv ratio based on specific deployment constraints and performance requirements.</p><h3>Multi-head Latent Attention: Breaking Quadratic Complexity Barriers</h3><h4>Computational Complexity Revolution</h4><p>Multi-head Latent Attention addresses one of the most fundamental limitations of transformer architectures: the quadratic computational complexity O(L&#178;) with respect to sequence length L that emerges from the need for every input element to attend to every other element. This quadratic scaling becomes prohibitive for applications involving very long sequences, such as document processing, high-resolution image analysis, or extended audio processing. The mechanism introduces a sophisticated intermediary approach that decouples direct sequence interactions through a fixed-size set of learnable latent vectors.</p><p>The core architectural change  replacing direct self-attention with a two-stage cross-attention process mediated by N_latents learnable vectors. This design assumes that essential information from long input sequences can be effectively compressed and summarized through these latent representations, thus maintaining representational power while achieving linear scaling with sequence length. The approach transforms the computational complexity from O(L&#178;) to O(L &#215; N_latents), enabling transformer-like architectures to handle previously intractable sequence lengths when N_latents &lt;&lt; L.</p><h3>Two-Stage Attention Mechanism Architecture</h3><p>The mathematical formulation of Multi-head Latent Attention operates through two distinct cross-attention stages, each serving a specific information aggregation purpose. Let the input sequence be represented as <strong>X &#8712; R^(L&#215;d)</strong> and the learnable latent array as <strong>L &#8712; R^(N_latents&#215;d)</strong>, where both undergo projection into query, key, and value representations using either shared or separate projection matrices.</p><p>The first cross-attention stage focuses on information extraction from the input sequence to the latent space. Latent queries <strong>Q_L</strong> attend to input keys <strong>K_X</strong> and aggregate information from input values <strong>V_X</strong> through the standard attention mechanism. This operation enables the latent vectors to selectively extract and compress relevant information from the entire input sequence, effectively creating a condensed representation that captures global context.</p><p>The second cross-attention stage reverses the information flow, allowing input queries Q_X to attend to the updated latent representations. Input queries attend to latent keys K_L and aggregate information from the processed latent values H_L. This bidirectional information flow ensures that each input element can access the globally-relevant information captured by the latent vectors while maintaining the ability to produce element-specific outputs.</p><h4>Applications and Representational Trade-offs</h4><p>Multi-head Latent Attention is very important in domains where traditional self-attention becomes computationally infeasible due to sequence length constraints. Applications include processing long documents where maintaining global coherence is crucial, high-resolution image processing where pixel patches are treated as sequence elements, extended audio signal analysis, and video processing where temporal dependencies span many frames. The fixed number of latent vectors provides a scalable approach that remains computationally tractable regardless of input sequence length. For recommendation systems, you can imagine that for each activity, user interactions, you want to preserve a strong understanding and connection between them even though they might occur not in close temporal proximity of each other. </p><p>The learnable latent vectors, initialized randomly and updated through standard backpropagation, adapt during training to function as a compressed memory bank relevant to the specific task. This adaptive behavior allows the mechanism to automatically discover the most relevant global patterns and dependencies for the target application. However, the approach does introduce an information bottleneck that may limit fine-grained local interactions compared to full self-attention, representing a trade-off between computational efficiency and representational completeness.</p><p>Despite this limitation, Multi-head Latent Attention is very efficient at capturing global context, making it particularly valuable for tasks where long-range dependencies are more important than detailed local interactions. The mechanism has proven effective across various modalities, enabling transformer-like architectures to be applied to domains previously constrained by computational limitations.</p><h3>Flash Attention: Revolutionizing Memory Hierarchy Utilization</h3><h4>Memory Bandwidth Optimization Strategy</h4><p>Flash Attention, particularly in its latest FlashAttention-3 implementation, changes how attention mechanisms interact with modern GPU memory hierarchies. The standard attention computation requires materializing and storing the full attention score matrix <strong>S = QK^T</strong>, where <strong>Q, K &#8712; R^(N&#215;d)</strong> represent query and key matrices for a sequence of length N. This conventional approach necessitates storing the complete <strong>N &#215; N</strong> matrix S, resulting in <strong>O(N&#178;)</strong> memory complexity that becomes prohibitive for long sequences due to the limitations of GPU high bandwidth memory.</p><p>The approach of Flash Attention circumvents this memory bottleneck by avoiding the materialization of the full attention matrix in the GPU's slower high bandwidth memory. Instead, the mechanism leverages tiling and recomputation techniques that process attention computations in smaller blocks specifically sized to fit within the much faster on-chip SRAM. This architectural awareness represents a crucial shift from algorithm-centric optimization to hardware-aware design that maximizes the efficiency of modern accelerator architectures.</p><h4>Tiling and Recomputation Framework</h4><p>The core computational strategy of Flash Attention involves decomposing the Q, K, and V matrices into manageable blocks that can be processed within the constraints of on-chip memory. This tiling approach ensures that each computational step operates on data that can be efficiently cached in SRAM, minimizing the expensive memory transfers to and from high bandwidth memory that typically dominate attention computation costs.</p><p>The recomputation aspect of Flash Attention represents a sophisticated trade-off between memory usage and computational redundancy. Rather than storing intermediate attention scores that would exceed SRAM capacity, the mechanism strategically recomputes certain values when needed, leveraging the superior computational throughput of modern GPUs compared to their memory bandwidth limitations. This approach aligns with the evolving hardware landscape where computational resources often exceed memory bandwidth capacity.</p><h4>Convergence of Optimization Strategies</h4><p>The three attention mechanisms outlined above represent complementary approaches to addressing distinct bottlenecks in transformer scaling and deployment. </p><ol><li><p>Group Query Attention targets inference-time memory bandwidth, </p></li><li><p>Multi-head Latent Attention addresses training-time computational complexity for long sequences, </p></li><li><p>Flash Attention optimizes hardware utilization patterns. </p><p></p><p>This convergence suggests that future transformer architectures will likely integrate multiple optimization strategies rather than relying on single-point solutions.</p></li></ol><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!2E4y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 424w, /__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 848w, /__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!2E4y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png" width="506" height="153.95467032967034" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/33a43028-3103-4a03-a03b-facc930e321b_2392x728.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:443,&quot;width&quot;:1456,&quot;resizeWidth&quot;:506,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="logo" title="logo" srcset="/__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 424w, /__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 848w, /__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2E4y!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33a43028-3103-4a03-a03b-facc930e321b_2392x728.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/sgl-project/sglang">SGLang</a> is a fast serving framework for large language models and vision language models. It makes your interaction with models faster and more controllable by co-designing the backend runtime and frontend language. The core features include:</p><ul><li><p><strong>Fast Backend Runtime</strong>: Provides efficient serving with RadixAttention for prefix caching, zero-overhead CPU scheduler, continuous batching, token attention (paged attention), speculative decoding, tensor parallelism, chunked prefill, structured outputs, quantization (FP8/INT4/AWQ/GPTQ), and multi-lora batching.</p></li><li><p><strong>Flexible Frontend Language</strong>: Offers an intuitive interface for programming LLM applications, including chained generation calls, advanced prompting, control flow, multi-modal inputs, parallelism, and external interactions.</p></li><li><p><strong>Extensive Model Support</strong>: Supports a wide range of generative models (Llama, Gemma, Mistral, Qwen, DeepSeek, LLaVA, etc.), embedding models (e5-mistral, gte, mcdse) and reward models (Skywork), with easy extensibility for integrating new models.</p></li><li><p><strong>Active Community</strong>: SGLang is open-source and backed by an active community with industry adoption.</p></li></ul><p><a href="https://github.com/JiuhaiChen/BLIP3o">BLIP3-o</a> is a unified multimodal model that combines the reasoning and instruction following strength of autoregressive models with the generative power of diffusion models. Unlike prior works that diffuse VAE features or raw pixels, BLIP3-o diffuses semantically rich <strong>CLIP image features</strong>, enabling a powerful and efficient architecture for both image understanding and generation.</p><ul><li><p>Fully Open-Source:</p><ul><li><p><strong>Pretraining Data:</strong> <a href="https://huggingface.co/datasets/BLIP3o/BLIP3o-Pretrain-Long-Caption">24 Million Detailed Captions</a>, <a href="https://huggingface.co/datasets/BLIP3o/BLIP3o-Pretrain-Short-Caption">5 Million Short Captions</a></p></li><li><p><strong>Instruction Tuning Data:</strong> <a href="https://huggingface.co/datasets/BLIP3o/BLIP3o-60k">60 k GPT-4o Distilled Instruction Tuning Data</a></p></li><li><p><strong>Model Weights:</strong> <a href="https://huggingface.co/BLIP3o/BLIP3o-Model-4B">4 B</a>, <a href="https://huggingface.co/BLIP3o/BLIP3o-Model-8B">8 B</a></p></li></ul></li><li><p><strong>Unified Architecture:</strong> for both image understanding and generation.</p></li><li><p><strong>CLIP Feature Diffusion:</strong> Directly diffuses semantic vision features for stronger alignment and performance.</p></li><li><p><strong>State-of-the-art performance:</strong> across a wide range of image understanding and generation benchmarks.</p></li></ul><p><a href="https://github.com/openopt/chop">CHOP</a> is an optimization library based on PyTorch, with applications to adversarial examples and structured neural network training.</p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!yOc7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!yOc7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg" width="1200" height="791" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:791,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Tabloid website screenshot&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Tabloid website screenshot" title="Tabloid website screenshot" srcset="/__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!yOc7!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14faadec-1368-4fdf-b68e-7f113441049f_1200x791.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/thesephist/tabloid">Tabloid</a></strong> is as minimal but Turing complete programming language inspired, nay, <strong>supercharged</strong> by clickbait headlines that rule the Internet today. You can try Tabloid <a href="https://tabloid.vercel.app/">on the Tabloid website</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!jzwE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 424w, /__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 848w, /__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!jzwE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png" width="1170" height="497" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:497,&quot;width&quot;:1170,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 424w, /__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 848w, /__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jzwE!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c3b2448-e7bf-4558-81f2-b131037a2455_1170x497.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/mermaid-js/mermaid">Mermaid</a> is a JavaScript-based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. The main purpose of Mermaid is to help documentation catch up with development.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!YjtG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 424w, /__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 848w, /__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!YjtG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png" width="1456" height="863" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:863,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 424w, /__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 848w, /__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YjtG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb26d14a-59d0-4586-aa89-62c7eb351004_3808x2258.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://www.querybook.org/docs/">Querybook</a> is a Big Data IDE that allows you to discover, create, and share data analyses, queries, and tables.</p><h2><strong>Features<a href="https://www.querybook.org/docs/#features">&#8203;</a></strong></h2><ul><li><p>&#128218; Organize <strong>analyses</strong> with rich text, queries, and charts</p></li><li><p>&#9999;&#65039; Compose queries with <strong>autocompletion</strong> and hovering tooltip</p></li><li><p>&#128200; Use scheduling + charting in DataDocs to build <strong>dashboards</strong></p></li><li><p>&#128588; Live query <strong>collaborations</strong> with others</p></li><li><p>&#128221; Add additional <strong>documentation</strong> to your tables</p></li><li><p>&#129518; Get lineage, sample queries, frequent user, search ranking based on <strong>past query runs</strong></p></li></ul>]]></content:encoded></item><item><title><![CDATA[Lyft's Spatial-Temporal Forecasting Framework ]]></title><description><![CDATA[AxLearn, Agent S, Guardrails, PIT]]></description><link>https://mlops.substack.com/p/lyfts-spatial-temporal-forecasting</link><guid isPermaLink="false">https://mlops.substack.com/p/lyfts-spatial-temporal-forecasting</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 18 May 2025 21:30:30 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Qpsx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3></h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Qpsx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 424w, /__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 848w, /__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Qpsx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png" width="1212" height="475" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:475,&quot;width&quot;:1212,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 424w, /__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 848w, /__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Qpsx!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ae12a4-9827-45d5-8868-95e1b28964c4_1212x475.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Lyft has written about their <a href="https://eng.lyft.com/real-time-spatial-temporal-forecasting-lyft-fa90b3f3ec24">real-time spatial-temporal forecasting system</a> that provides predictions for their dynamic pricing and driver incentives across millions of geohashes in North America. This system addresses the main challenge of balancing supply (driver availability) and demand (ride requests) at hyper-local levels, even in scenarios influenced by unexpected events like concerts or protests. </p><p>The system uses a <strong>three-layered architecture</strong>:</p><ol><li><p><strong>Time-Series Foundation Layer</strong></p><ul><li><p>ARIMA variants handle baseline periodicity (daily/weekly cycles)</p></li><li><p>Exponential smoothing state space models (ETS) adapt to short-term trends</p></li><li><p>Integrated with causal factors via PyTorch-based <strong>IndexTensors</strong> that enable differentiable operations over spatiotemporal indices </p></li></ul></li><li><p><strong>Graph Neural Network Layer</strong></p><ul><li><p>Captures spatial dependencies using adjacency matrices based on:</p><ul><li><p>Geohash centroids (H3 grid system)</p></li><li><p>Road network connectivity</p></li><li><p>Historical ride flow patterns</p></li></ul></li><li><p>Implements <strong>attention mechanisms</strong> to weight influential neighboring geohashes </p></li></ul></li><li><p><strong>Online Learning Layer</strong></p><ul><li><p>Continuously updates model weights</p></li><li><p>Uses <strong>model slicing</strong> to retain long-term patterns while adapting to real-time signals </p></li></ul></li></ol><p>In order to build predictions against temporal and spatial domain; they adopt a geo hash based spatial processing where they create spatial grid and uses hierarchical forecasting to do coarse to finer granular level of predictions in spatial domain. </p><ul><li><p><strong>H3 Hexagonal Grid</strong> (resolution 10 ~ 0.15 km&#178; cells)</p><ul><li><p>Enables efficient neighbor lookups via built-in hierarchy</p></li></ul></li><li><p><strong>Hierarchical Forecasting</strong>:</p><ul><li><p>Aggregates predictions from fine to coarse resolutions (geohash 10 &#8594; 9 &#8594; 8)</p></li><li><p>Uses <strong>Sparse Tensor Representations</strong> to handle 4M+ geohashes efficiently</p></li></ul></li></ul><p>They adopt the following model optimization and latency reduction techniques to make the inference flow to be real-time and low latency:</p><ul><li><p><strong>Model Quantization</strong>: FP16 &#8594; INT8 conversion using NVIDIA TensorRT framework under the hood</p></li><li><p><strong>Hotspot Prediction</strong>: Pre-warms Redis cache for geohashes with &gt;100 requests/min</p></li><li><p><strong>Dynamic Batching</strong>: Groups geo-hash requests using Flink's session windows</p></li></ul><p>The system accounts for external factors through a bayesian structural time-series structure:</p><p><code>Forecast = BaseModel(History) &#215; CausalImpact(Events) + RealTimeAdjustment</code></p><p>where:</p><ul><li><p><strong>Causal Impact</strong> uses Bayesian structural time-series to measure:</p><ul><li><p>Weather changes (precipitation, temperature)</p></li><li><p>Local events (concerts, protests)</p></li><li><p>Road closures</p></li></ul></li><li><p>Implemented as PyTorch modules with custom backward passes</p></li></ul><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_7Aw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 424w, /__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 848w, /__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_7Aw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png" width="1153" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:400,&quot;width&quot;:1153,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Banner&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Banner" title="Banner" srcset="/__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 424w, /__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 848w, /__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_7Aw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa048e2fe-5afa-4c33-a986-d60ea75894a6_1153x400.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/perone/vectorvfs">VectorVFS</a> is a lightweight Python package that transforms your Linux filesystem into a vector database by leveraging the native VFS (Virtual File System) extended attributes. Rather than maintaining a separate index or external database, VectorVFS stores vector embeddings directly alongside each file&#8212;turning your existing directory structure into an efficient and semantically searchable embedding store.</p><p>VectorVFS currently uses Meta's Perception Encoders (PE) <a href="https://arxiv.org/abs/2504.13181">[arxiv]</a> which includes image/video encoders for vision language understanding, it outperforms InternVL3, Qwen2.5VL and SigLIP2 for zero-shot image tasks. </p><ul><li><p><strong>Zero-overhead indexing</strong><br>Embeddings are stored as extended attributes (xattrs) on each file, eliminating the need for external index files or services.</p></li><li><p><strong>Seamless retrieval</strong><br>Perform searches across your filesystem, retrieving files by embedding similarity.</p></li><li><p><strong>Flexible embedding support</strong><br>Plug in any embedding model&#8212;from pre-trained transformers to custom feature extractors&#8212;and let VectorVFS handle storage and lookup.</p></li><li><p><strong>Lightweight and portable</strong><br>Built on native Linux VFS functionality, VectorVFS requires no additional daemons, background processes, or databases.</p></li></ul><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Xvif!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 424w, /__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 848w, /__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Xvif!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png" width="442" height="305.4321503131524" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:662,&quot;width&quot;:958,&quot;resizeWidth&quot;:442,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 424w, /__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 848w, /__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Xvif!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47d01a3e-a183-4ee3-a785-17a1ac8ccd54_958x662.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/apple/axlearn">AXLearn</a> is a library built on top of <a href="https://jax.readthedocs.io/">JAX</a> and <a href="https://www.tensorflow.org/xla">XLA</a> to support the development of large-scale deep learning models.</p><p>AXLearn takes an object-oriented approach to the software engineering challenges that arise from building, iterating, and maintaining models. The configuration system of the library lets users compose models from reusable building blocks and integrate with other libraries such as <a href="https://flax.readthedocs.io/">Flax</a> and <a href="https://github.com/huggingface/transformers">Hugging Face transformers</a>.</p><p>AXLearn is built to scale. It supports the training of models with up to hundreds of billions of parameters across thousands of accelerators at high utilization. It is also designed to run on public clouds and provides tools to deploy and manage jobs and data. Built on top of <a href="https://arxiv.org/abs/2105.04663">GSPMD</a>, AXLearn adopts a global computation paradigm to allow users to describe computation on a virtual global computer rather than on a per-accelerator basis.</p><p><strong><a href="https://github.com/simular-ai/Agent-S">Agent S</a></strong> is an open-source framework designed to enable autonomous interaction with computers through Agent-Computer Interface. Our mission is to build intelligent GUI agents that can learn from past experiences and perform complex tasks autonomously on your computer.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!WS_H!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 424w, /__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 848w, /__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 1272w, /__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!WS_H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png" width="1456" height="303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:303,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;teaser&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="teaser" title="teaser" srcset="/__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 424w, /__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 848w, /__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 1272w, /__u/substackcdn.com/image/fetch/$s_!WS_H!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1df593f-f8ac-411b-8d1d-166e3e57dd68_2936x612.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Vision Transformer (ViT) extends the application range of transformers from language processing to computer vision tasks as being an alternative architecture against the existing convolutional neural networks (CNN). Since the transformer-based architecture has been innovative for computer vision modeling, the design convention towards an effective architecture has been less studied yet. From the successful design principles of CNN, we investigate the role of the spatial dimension conversion and its effectiveness on the transformer-based architecture. If articularly attend the dimension reduction principle of CNNs; as the depth increases, a conventional CNN increases channel dimension and decreases spatial dimensions. Such a spatial dimension reduction is beneficial to a transformer architecture as well, and proposed a novel <a href="https://github.com/naver-ai/pit">Pooling-based Vision Transformer (PiT)</a> upon the original ViT model. The paper accompanied by the library is also available in <a href="https://arxiv.org/pdf/2103.16302">Arxiv</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!qYZf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 424w, /__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 848w, /__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!qYZf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png" width="1236" height="294" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:294,&quot;width&quot;:1236,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:50156,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/163308781?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 424w, /__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 848w, /__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qYZf!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe81e01ea-59b1-4175-9654-a0d620ec2a72_1236x294.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/guardrails-ai/guardrails">Guardrails</a> is a Python framework that helps build reliable AI applications by performing two key functions:</p><ol><li><p>Guardrails runs Input/Output Guards in your application that detect, quantify and mitigate the presence of specific types of risks. To look at the full suite of risks, check out <a href="https://hub.guardrailsai.com/">Guardrails Hub</a>.</p></li><li><p>Guardrails help you generate structured data from LLMs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!FpOH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 424w, /__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 848w, /__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 1272w, /__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!FpOH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png" width="1456" height="681" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:681,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Framework&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Framework" title="Framework" srcset="/__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 424w, /__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 848w, /__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 1272w, /__u/substackcdn.com/image/fetch/$s_!FpOH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6742c2b-c6c6-45d9-b1d3-2155299a04f1_2195x1027.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ol><p><strong><a href="https://github.com/metauto-ai/GPTSwarm">GPTSwarm</a> is a graph-based framework for LLM-based agents, providing two high-level features:</strong></p><ul><li><p>It lets you build LLM-based agents from graphs.</p></li><li><p>It enables the customized and automatic self-organization of agent swarms with self-improvement capabilities.</p></li></ul><p><strong><a href="https://github.com/ByteDance-Seed/Seed-Coder">Seed-Coder</a></strong> (previously known as Doubao-Coder) is a family of lightweight yet powerful open-source code LLMs comprising base, instruct and reasoning models of 8B size.</p><p>Seed-Coder demonstrates that, with minimal human effort, LLMs can effectively curate code training data by themselves to drastically enhance coding capabilities.</p><p>Seed-Coder represents our initial step towards contributing to the open-source LLM ecosystem. We look forward to seeing Seed-Coder drive advances in code intelligence and empower broader applications in the open-source LLM community!</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!6PdO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 424w, /__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 848w, /__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!6PdO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png" width="496" height="150.57142857142858" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:442,&quot;width&quot;:1456,&quot;resizeWidth&quot;:496,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 424w, /__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 848w, /__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6PdO!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2084a84c-7caf-426c-8e70-4d7439688308_1843x560.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/kuzudb/kuzu">Kuzu</a> is an embedded graph database built for query speed and scalability. Kuzu is optimized for handling complex analytical workloads on very large databases and provides a set of retrieval features, such as a full text search and vector indices. Our core feature set includes:</p><ul><li><p>Flexible Property Graph Data Model and Cypher query language</p></li><li><p>Embeddable, serverless integration into applications</p></li><li><p>Native full text search and vector index</p></li><li><p>Columnar disk-based storage</p></li><li><p>Columnar sparse row-based (CSR) adjacency list/join indices</p></li><li><p>Vectorized and factorized query processor</p></li><li><p>Novel and very fast join algorithms</p></li><li><p>Multi-core query parallelism</p></li><li><p>Serializable ACID transactions</p></li><li><p>Wasm (WebAssembly) bindings for fast, secure execution in the browser</p></li></ul><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!YoYg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 424w, /__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 848w, /__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!YoYg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png" width="1024" height="451" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:451,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 424w, /__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 848w, /__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YoYg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291a59e8-f5d4-4518-b460-cf2d187c4b14_1024x451.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/D4Vinci/Scrapling">Scrapling</a> is a high-performance, intelligent web scraping library for Python that automatically adapts to website changes while significantly outperforming popular alternatives. For both beginners and experts, Scrapling provides powerful features while maintaining simplicity.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!2FEw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 424w, /__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 848w, /__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!2FEw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png" width="1456" height="586" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:586,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 424w, /__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 848w, /__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2FEw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcee4fc38-aa04-4343-8eaf-50c35877b89f_2105x847.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/pgdogdev/pgdog">PgDog</a> is a transaction pooler and logical replication manager that can shard PostgreSQL. Written in Rust, PgDog is fast, secure and can manage hundreds of databases and hundreds of thousands of connections.</p><p><a href="https://github.com/crocofied/CoreControl">CoreControl</a> is the only dashboard you'll ever need to manage your entire server infrastructure. Keep all your server data organized in one central place, easily add your self-hosted applications with quick access links, and monitor their availability in real-time with built-in uptime tracking. Designed for simplicity and control, it gives you a clear overview of your entire self-hosted setup at a glance.</p>]]></content:encoded></item><item><title><![CDATA[Attention Structures with Associative Recall in Transformers]]></title><description><![CDATA[Zoology, Striped Hyena, vLLM, Alpaca]]></description><link>https://mlops.substack.com/p/attention-structures-with-associative</link><guid isPermaLink="false">https://mlops.substack.com/p/attention-structures-with-associative</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 11 May 2025 04:00:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!-rhc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><h3>Articles</h3><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!-rhc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 424w, /__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 848w, /__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!-rhc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png" width="1030" height="712" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:712,&quot;width&quot;:1030,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:256896,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/162738423?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 424w, /__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 848w, /__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-rhc!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F299872ec-25d8-4666-b3e6-08938da7c163_1030x712.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Stanford's Hazy Research wrote a <a href="https://hazyresearch.stanford.edu/blog/2023-12-11-zoology1-analysis">post</a> a while back. It compares attention structures with newer efficient and possibly attention-free alternatives, particularly focusing on associative recall(AR) capabilities in the comparison.</p><p>There has been a lot of interest in attention-free, efficient LLM architectures that aim to challenge the dominance of Transformer-based models as attention is really expensive and hard to scale due to how much compute that it requires for scaling. These new architectures include various <a href="https://ojs.aaai.org/index.php/AAAI/article/view/17664/17471&amp;ved=2ahUKEwjg8YXf4YqNAxVcJEQIHXbcJtAQFnoECCMQAQ&amp;usg=AOvVaw3KiHCne_icyg4s1X_F9CcC">Approximate Attention Methods</a>(AAN), <a href="https://arxiv.org/abs/2111.00396">S4</a>, <a href="https://arxiv.org/abs/2209.12951">Liquid S4</a>, <a href="https://arxiv.org/abs/2209.10655">MEGA</a>, <a href="https://arxiv.org/abs/2409.07146">GSS</a>, <a href="https://hazyresearch.stanford.edu/blog/2023-01-20-h3">H3</a>, <a href="https://arxiv.org/abs/2212.10544">BIGS</a>, <a href="https://arxiv.org/abs/2302.10866">Hyena</a>, <a href="https://arxiv.org/abs/2305.13048">RWKV</a>, <a href="https://arxiv.org/abs/2307.08621">RetNet</a>, <a href="https://arxiv.org/abs/2310.12109">Monarch Mixer</a>, <a href="https://arxiv.org/abs/2403.01590">Mamba</a>, etc. While recent work suggested some of these architectures could match attention in benchmark quality, this post aims to investigate their performance more thoroughly, particularly focusing on a class of sub-quadratic Transformer alternatives called "gated-convolutions" (e.g., Hyena, H3, and RWKV).</p><p>The blog post reveals a significant performance gap in associative recall (AR) - the ability to recall information previously mentioned in the prompt. This capability has substantial implications for in-context learning and practical applications and how LLMs are being used in the real-world applications. </p><p>The evaluation setting uses pretrained 17 language models from scratch spanning four parameter scales (70M, 150M, 360M, and 1.4Bn) across various architectures to study the scaling properties of the various model architectures as well:</p><ol><li><p><strong>H3</strong>: Uses a short convolution followed by a long convolution, sandwiched by element-wise gating.</p></li><li><p><strong>Hyena</strong>: Similar to H3 but differs in the parametrization and placement of convolutions.</p></li><li><p><strong>RWKV</strong>: Often described as an RNN but can be rewritten as a gated convolution, differing in parametrization for convolution filters, ordering of gating, convolutions, and projections.</p></li><li><p><strong>Pure long convolutions (S4-like)</strong>: Uses a global/long convolution without gating.</p></li><li><p><strong>Llama-style Transformers</strong>: Modern Transformer baseline with rotary embeddings.</p></li></ol><p>All models were trained on uniform infrastructure and data (The Pile for 10B tokens, 50B for 1.4Bn parameter models) using the EleutherAI GPT-NeoX codebase.</p><p>They have found a consistent perplexity gap between state-of-the-art attention-free models and Transformer based architectures(attention-based). More significantly, they have identified that a single issue was responsible for more than 82% of this gap: poor performance on tokens requiring associative recall. Remarkably, a 1.4 billion parameter Hyena model underperformed a 70 million parameter attention model by over a perplexity point on the AR slice.</p><p>To measure AR capability in real LLMs, the post proposes a simple proxy: evaluating the model's perplexity on the subset of next-token-predictions that form completions to repeated bigrams, termed "AR Hits". For example, in phrases like "crosscut complex" and "Maison Bergey," the second occurrences of "complex" and "Bergey" are considered AR Hits because they can be predicted by recalling the prior occurrences of these bigrams in the context.</p><p>Critically, the researchers distinguished between bigrams that might be memorized during training (like "Barack Obama") and those that require genuine in-context recall. When plotting perplexity against the frequency of bigrams in training data, they observed a pattern: for AR hits appearing infrequently in training data, there was a large gap between gated convolution models and attention models. On other hand, tokens and frequently appearing AR hits, there was virtually no gap between the models.</p><p>This finding suggested that in-context recall is the fundamental issue separating gated convolution models from attention-based ones and why attention based models are superior for applications that require in-content recall in the model properties. The researchers further confirmed this by comparing RWKV-Raven 7B and Llama 2 7B, finding that the gap persists at larger scales and increases as models need to conduct more recalls per input sequence.</p><p>When examining the AR capabilities though, the evaluation setup had a big problem: gated convolutions could solve synthetic AR tasks perfectly in previous work, yet showed significant gaps on real-world language data. To resolve this gap in the evaluation methods, they developed a new synthetic task called Multiple Query Associative Recall (MQAR).</p><p>The key insight was that prior synthetic formulations assumed one query per input at a fixed position, with tokens from a small vocabulary (less than model dimension). However, real language modeling often requires performing multiple recalls at varying positions with tokens from large vocabularies (larger than model dimension).</p><p>MQAR better reflects these real-world demands by:</p><ol><li><p>Having multiple keys that need to be recalled in a single sequence</p></li><li><p>Placing keys at random positions in the sequence</p></li><li><p>Using a larger vocabulary size</p></li></ol><p>Through theoretical analysis and experiments, post mentions that: </p><blockquote><p>Even though gated convolutions are sub-quadratic in sequence length, the architecture requires larger model widths (dimensionality, hidden size) than attention to solve MQAR effectively.</p></blockquote><p>They validated these theoretical results by constructing BaseConv, a canonical, simplified gated convolution model that can provably simulate all other models built from gating and convolution primitives including H3, Hyena, and RWKV. The experiments among these architectures, they observed that model dimension needs to grow with sequence length to solve MQAR as well as attention does.</p><p>While all the architectures <em>can</em> solve the AR task, the scaling required to do so becomes increasingly problematic with longer sequences, <strong>negating</strong> some of the efficiency benefits of <strong>gated convolutions</strong>. Interestingly, another way to look at this is that transformer based or attention based model architectures might be more efficient on learning for a given/finite sequence length than the ones that are attention-free. </p><p>After empirical results, the post also tries to build a hypothesis on a theoretical ground to explain the results, especially on scaling properties of attention-free methods. In order to do so, they manually set weights of gated convolution models to solve associative recall and demonstrated why poor scaling emerges from these architectures. </p><p>They define a minimal representation of gated convolution called <strong>BaseConv</strong>, which can simulate all other architectures built from gating and convolution primitives. In code, BaseConv is elegantly simple:</p><pre><code>v = conv(u) // convolution
w = linear(u) // projection
y = v * w // gating</code></pre><ul><li><p>A convolution between two discrete sequences can be viewed as a polynomial operation</p></li><li><p>Gating (<a href="https://en.wikipedia.org/wiki/Hadamard_product_(matrices)">Hadamard product</a>) between two sequences can also be viewed as a polynomial operation</p></li><li><p>Therefore, an overall gated convolution model can be analyzed as a complex polynomial</p></li></ul><p>In here, main idea is to compare operation in the attention function and operation in the BaseConv. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!VIxX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 424w, /__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 848w, /__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 1272w, /__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!VIxX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png" width="482" height="300.75206611570246" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:604,&quot;width&quot;:968,&quot;resizeWidth&quot;:482,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 424w, /__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 848w, /__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 1272w, /__u/substackcdn.com/image/fetch/$s_!VIxX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cfd86bb-70be-4135-8079-5cd9531e98ff_968x604.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Both attention and convolutions take input sequences of embeddings and output sequences of the same shape by applying a linear transform that "mixes" the embeddings together. However, they differ from one main dimension is that:</p><ul><li><p><strong>In Attention</strong>: The mixing matrix is a function of the input</p></li><li><p><strong>In Gated Convolutions</strong>: The mixing matrix is defined by model parameters and is NOT a function of the input</p></li></ul><h4>How Attention solves MQAR</h4><p>Attention can solve MQAR using two layers:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!IAKd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 424w, /__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 848w, /__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 1272w, /__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!IAKd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png" width="1456" height="351" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:351,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 424w, /__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 848w, /__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 1272w, /__u/substackcdn.com/image/fetch/$s_!IAKd!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e93e070-8887-4fa6-bf7b-444e50d688a6_1960x472.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong>Layer 1 (Shift-by-one)</strong>: Shifts each key by one position so the output embedding contains both the MQAR key and value (e.g., by storing the MQAR key in the first dimensions and the MQAR value in the rest).</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!-l0O!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 424w, /__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 848w, /__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!-l0O!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png" width="1456" height="316" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:316,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 424w, /__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 848w, /__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-l0O!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b0a38d4-3105-47dc-bcb8-363a574c7c6a_1962x426.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong>Layer 2 (Lookup)</strong>: Performs long-range lookups using the MQAR key part of the embedding as attention keys and the MQAR value part as attention queries and values. This makes it easy to find matching MQAR keys by computing pairwise similarity of attention query and key embeddings.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!bf3_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 424w, /__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 848w, /__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bf3_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png" width="1456" height="350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:350,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 424w, /__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 848w, /__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bf3_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd07bb69-1cbc-447f-8011-bf1cdf313452_1756x422.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Crucially, attention can solve this task with model dimension independent of sequence length (it just needs to be large enough to store two token representations).</p><h4>How Gated Convolution solves MQAR</h4><p>In contrast, gated convolutions require more complex solutions that scale with sequence length. Their two-layer solution works as follows:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!nU5k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 424w, /__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 848w, /__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 1272w, /__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!nU5k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png" width="1456" height="278" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:278,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 424w, /__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 848w, /__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 1272w, /__u/substackcdn.com/image/fetch/$s_!nU5k!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fff9bc1b1-7157-484d-a9d9-c40e41714eeb_1938x370.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong>Layer 1 (Finding Matching MQAR Keys)</strong>: Uses convolution and gating to compare each token to all other tokens to find matching MQAR keys.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!V4f3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 424w, /__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 848w, /__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 1272w, /__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!V4f3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png" width="1456" height="297" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:297,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 424w, /__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 848w, /__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 1272w, /__u/substackcdn.com/image/fetch/$s_!V4f3!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec40fb6e-cf63-46b8-ad88-931300f96a1c_1962x400.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong>Layer 2 (Outputting MQAR Values)</strong>: Uses the matches identified in the first layer to output the appropriate MQAR values.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!9ieD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 424w, /__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 848w, /__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 1272w, /__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!9ieD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png" width="844" height="148" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:148,&quot;width&quot;:844,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 424w, /__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 848w, /__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 1272w, /__u/substackcdn.com/image/fetch/$s_!9ieD!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F72118b53-9d5d-4150-aca9-4903d00b227c_844x148.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div></li></ul><p></p><blockquote><p>In the literature, an architecture's efficiency is typically measured in terms of the asymptotic cost of a layer. If there's one takeaway lesson from our work, it's this: taken alone, the complexity of a layer is an inadequate measure of efficiency</p></blockquote><p>In here, the finding is that both the evaluation method and how the model architecture responds to scaling need to be considered when we measure efficiency of model architecture.</p><blockquote><p><em>What if we measured an architecture's efficiency in terms of the FLOPs required to solve a specific task, instead of the FLOPs required per layer?</em></p></blockquote><p>In order to solve that, they come up with a new testbed for this synthetics called &#8220;<a href="https://github.com/HazyResearch/zoology">Zoology</a>&#8221; to measure efficiency. </p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_3Xs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 424w, /__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 848w, /__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_3Xs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png" width="505" height="246.1344537815126" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:580,&quot;width&quot;:1190,&quot;resizeWidth&quot;:505,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Meerkat logo&quot;,&quot;title&quot;:&quot;Meerkat logo&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Meerkat logo" title="Meerkat logo" srcset="/__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 424w, /__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 848w, /__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_3Xs!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba067ea-24a0-4065-9ebc-95a396bee255_1190x580.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/HazyResearch/zoology">Zoology</a> provides machine learning researchers with a simple playground for understanding and testing language model architectures on synthetic tasks. This repository can be used to reproduce the results in our paper <em><a href="https://arxiv.org/abs/2312.04927">Zoology: Measuring and Improving Recall in Efficient Language Models</a></em>. See the section on <a href="https://github.com/HazyResearch/zoology#reproducing-paper-experiments">reproducing paper experiments</a> for details.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!BF4N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 424w, /__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 848w, /__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!BF4N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png" width="502" height="179.6304945054945" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:521,&quot;width&quot;:1456,&quot;resizeWidth&quot;:502,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 424w, /__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 848w, /__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 1272w, /__u/substackcdn.com/image/fetch/$s_!BF4N!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0f66e27-19f0-4fa0-959f-962469ab67f5_5045x1806.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/facebookresearch/mega">Mega: Moving Average Equipped Gated Attention</a> is the PyTorch implementation of the Mega paper.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!DyCR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 424w, /__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 848w, /__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 1272w, /__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!DyCR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png" width="500" height="501.00401606425703" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:998,&quot;width&quot;:996,&quot;resizeWidth&quot;:500,&quot;bytes&quot;:1051674,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/162738423?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 424w, /__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 848w, /__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 1272w, /__u/substackcdn.com/image/fetch/$s_!DyCR!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08912430-729d-46e4-93f6-21e955b2d9ad_996x998.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><a href="https://github.com/togethercomputer/stripedhyena">StripedHyena</a> is the <strong>first alternative model architecture competitive with the best open-source Transformers</strong>of similar sizes in short and long-context evaluations.</p><p>StripedHyena is a deep signal processing, hybrid architecture composed of rotary (grouped) attention and gated convolutions arranged in <a href="https://arxiv.org/abs/2302.10866">Hyena</a> blocks, with improved scaling over decoder-only Transformers. StripedHyena is designed to leverage the specialization of each of its layer classes, with Hyena layers implementing the bulk of the computation rjequired for sequence processing and attention layers supplementing the ability to perform targeted pattern recall.</p><ul><li><p>Efficient autoregressive generation via a recurrent mode (&gt;500k generation with a single 80GB GPU)</p></li><li><p>Low latency, faster decoding and higher throughput than Transformers.</p></li><li><p>Significantly faster training and finetuning at long context (&gt;3x at 131k)</p></li><li><p>Improved scaling laws over state-of-the-art architectures (e.g., Transformer++) on both natural language and biological sequences.</p></li><li><p>Robust to training beyond the compute-optimal frontier e.g., training way beyond Chinchilla-optimal token amounts</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!D5Ar!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 424w, /__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 848w, /__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 1272w, /__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!D5Ar!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png" width="1456" height="579" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:579,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Letta logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Letta logo" title="Letta logo" srcset="/__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 424w, /__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 848w, /__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 1272w, /__u/substackcdn.com/image/fetch/$s_!D5Ar!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6502ee5e-46fd-4b78-9cca-250f8e6b1864_1600x636.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>&#128126; <a href="https://github.com/letta-ai/letta">Letta</a></strong> is an open source framework for building <strong>stateful agents</strong> with advanced reasoning capabilities and transparent long-term memory. The Letta framework is white box and model-agnostic.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!lZ5G!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 424w, /__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 848w, /__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!lZ5G!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png" width="1456" height="417" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:417,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;vLLM&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="vLLM" title="vLLM" srcset="/__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 424w, /__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 848w, /__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lZ5G!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8e8b304-74c2-4e26-a808-a5de8b9774d6_3000x860.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/vllm-project/vllm">vLLM</a> is a fast and easy-to-use library for LLM inference and serving.</p><p>vLLM is fast with:</p><ul><li><p>State-of-the-art serving throughput</p></li><li><p>Efficient management of attention key and value memory with <strong><a href="https://blog.vllm.ai/2023/06/20/vllm.html">PagedAttention</a></strong></p></li><li><p>Continuous batching of incoming requests</p></li><li><p>Fast model execution with CUDA/HIP graph</p></li><li><p>Quantizations: <a href="https://arxiv.org/abs/2210.17323">GPTQ</a>, <a href="https://arxiv.org/abs/2306.00978">AWQ</a>, INT4, INT8, and FP8.</p></li><li><p>Optimized CUDA kernels, including integration with FlashAttention and FlashInfer.</p></li><li><p>Speculative decoding</p></li><li><p>Chunked prefill</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!MJZy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 424w, /__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 848w, /__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MJZy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png" width="251" height="251" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:735,&quot;width&quot;:735,&quot;resizeWidth&quot;:251,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 424w, /__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 848w, /__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MJZy!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb049e0-eef2-4d9e-b434-c33471d76e19_735x735.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/BoundaryML/baml">BAML</a> is a simple prompting language for building reliable <strong>AI workflows and agents</strong>.</p><p>BAML makes prompt engineering easy by turning it into <em>schema engineering</em> -- where you mostly focus on the models of your prompt -- to get more reliable outputs. You don't need to write your whole app in BAML, only the prompts! You can wire-up your LLM Functions in any language of your choice! See our quickstarts for <a href="https://docs.boundaryml.com/guide/installation-language/python">Python</a>, <a href="https://docs.boundaryml.com/guide/installation-language/typescript">TypeScript</a>, <a href="https://docs.boundaryml.com/guide/installation-language/ruby">Ruby</a> and <a href="https://docs.boundaryml.com/guide/installation-language/rest-api-other-languages">Go, and more</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!p0Ox!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 424w, /__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 848w, /__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!p0Ox!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg" width="261" height="50" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a7f0a909-4b58-46fe-968a-452331168fed_262x50.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:50,&quot;width&quot;:261,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;guidance&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="guidance" title="guidance" srcset="/__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 424w, /__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 848w, /__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!p0Ox!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7f0a909-4b58-46fe-968a-452331168fed_262x50.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong><a href="https://github.com/guidance-ai/guidance">Guidance</a> is an efficient programming paradigm for steering language models.</strong> With Guidance, you can control how output is structured and get high-quality output for your use case&#8212;<em>while reducing latency and cost vs. conventional prompting or fine-tuning.</em> It allows users to constrain generation (e.g. with regex and CFGs) as well as to interleave control (conditionals, loops, tool use) and generation seamlessly.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ojeG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 424w, /__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 848w, /__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ojeG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png" width="477" height="184.11675824175825" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:562,&quot;width&quot;:1456,&quot;resizeWidth&quot;:477,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Stanford-Alpaca&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Stanford-Alpaca" title="Stanford-Alpaca" srcset="/__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 424w, /__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 848w, /__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ojeG!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b788292-f725-4b37-85d4-1020b81ee1b4_1641x633.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/tatsu-lab/stanford_alpaca">Stanford Alpaca</a> project aims to build and share an instruction-following LLaMA model. The repo contains:</p><ul><li><p>The <a href="https://github.com/tatsu-lab/stanford_alpaca#data-release">52K data</a> used for fine-tuning the model.</p></li><li><p>The code for <a href="https://github.com/tatsu-lab/stanford_alpaca#data-generation-process">generating the data</a>.</p></li><li><p>The code for <a href="https://github.com/tatsu-lab/stanford_alpaca#fine-tuning">fine-tuning the model</a>.</p></li><li><p>The code for <a href="https://github.com/tatsu-lab/stanford_alpaca#recovering-alpaca-weights">recovering Alpaca-7B weights from our released weight diff</a>.</p></li></ul><p></p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!l0HK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!l0HK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg" width="1456" height="363" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:363,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;wisup_e2m Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="wisup_e2m Logo" title="wisup_e2m Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!l0HK!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F572953cc-bfd2-4636-bb6e-5fe9b2475d4a_2828x706.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/wisupai/e2m">E2M</a> is a Python library that can parse and convert various file types into Markdown format. By utilizing a parser-converter architecture, it supports the conversion of multiple file formats, including doc, docx, epub, html, htm, url, pdf, ppt, pptx, mp3, and m4a.</p><p>&#10024;The ultimate goal of the E2M project is to provide high-quality data for Retrieval-Augmented Generation (RAG) and model training or fine-tuning.</p><p><strong>Core Architecture of the Project:</strong></p><ul><li><p><strong>Parser</strong>: Responsible for parsing various file types into text or image data.</p></li><li><p><strong>Converter</strong>: Responsible for converting text or image data into Markdown format.</p></li></ul><p>Generally, for any type of file, the parser is run first to extract internal data such as text and images. Then, the converter is used to transform this data into Markdown format.</p><p><a href="https://github.com/sxyazi/yazi">Yazi</a> (means "duck") is a terminal file manager written in Rust, based on non-blocking async I/O. It aims to provide an efficient, user-friendly, and customizable file management experience.</p><p><a href="https://github.com/teableio/teable">Teable</a> uses a simple, spreadsheet-like interface to create powerful database applications. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!TpkU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!TpkU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png" width="250" height="250" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:250,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!TpkU!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac3b368-9621-4f24-99e7-a1b603efe6a3_1024x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>A shell compiler that converts shell scripts into secure, portable and static binaries. Unlike other tools (ie. <a href="https://github.com/neurobin/shc">shc</a>), Bunster does not just wrap your script within a binary. It literally compiles them to standalone shell-independent programs.</p><p>Under the hood, <strong>Bunster</strong> transpiles shell scripts into <a href="https://go.dev/">Go</a> code. Then uses the <a href="https://go.dev/dl">Go Toolchain</a> to compile the code to an executable.</p><p><strong><a href="https://github.com/yassinebenaid/bunster">Bunster</a></strong> aims to be compatible with <code>bash</code> as a starting move. Expecting that most <code>bash</code> scripts will just work with bunster. Additional shells will be supported as soon as we release v1.</p><p><a href="https://github.com/astral-sh/ty">ty</a> is an extremely fast Python type checker and language server, written in Rust.</p><p></p>]]></content:encoded></item><item><title><![CDATA[Eight Things to Know about Large Language Models]]></title><description><![CDATA[SelfRec, Pipeline RL, TRL, Knowledge Pack, DataHerald]]></description><link>https://mlops.substack.com/p/8eight-things-to-know-about-large</link><guid isPermaLink="false">https://mlops.substack.com/p/8eight-things-to-know-about-large</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sat, 03 May 2025 22:00:44 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Qdnv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><h3>Articles</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Qdnv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 424w, /__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 848w, /__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Qdnv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png" width="1456" height="927" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:927,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:470290,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/162218041?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 424w, /__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 848w, /__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Qdnv!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d3f0957-7c30-4570-8300-aeaee9998176_2080x1324.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Samuel Bowman has a rather <a href="https://cims.nyu.edu/~sbowman/eightthings.pdf">interesting paper</a> to talk about some of the properties of LLMs and the future direction on this area. He argues the following 8 things in the paper for LLM to be true: </p><ol><li><p>LLMs predictably get more capable with increasing investment, even without targeted innovation. </p></li><li><p>Many important LLM behaviors emerge unpredictably as a byproduct of increasing investment. </p></li><li><p>LLMs often appear to learn and use representations of the outside world. </p></li><li><p>There are no reliable techniques for steering the behavior of LLMs. </p></li><li><p>Experts are not yet able to interpret the inner workings of LLMs. </p></li><li><p>Human performance on a task isn&#8217;t an upper bound on LLM performance. </p></li><li><p>LLMs need not express the values of their creators nor the values encoded in web text. </p></li><li><p>Brief interactions with LLMs are often misleading</p></li></ol><p>I will try to expand these areas in the following parts:</p><h4>1. LLMs Predictably Get More Capable With Increasing Investment, Even Without Targeted Innovation</h4><p>A foundational insight is that the capabilities of LLMs improve predictably as a function of scale-measured in three primary dimensions:</p><ul><li><p><strong>Model size</strong> (number of parameters)</p></li><li><p><strong>Training data volume</strong></p></li><li><p><strong>Compute used for training</strong> (FLOPs)</p></li></ul><p>This relationship is formalized in <em><a href="https://arxiv.org/abs/2001.08361">scaling laws</a></em><a href="https://arxiv.org/abs/2001.08361"> paper</a>, which show that as these dimensions increase, the model&#8217;s performance on a broad range of language tasks improves smoothly and predictably, often following power-law trends.</p><p>For example, the progression from GPT to GPT-2 to GPT-3 involved relatively minor architectural changes but massive increases in training compute (up to 20,000&#215; more for GPT-3) and data, resulting in qualitative leaps in capability. GPT-4 continued this trend, outperforming humans on many professional exams.</p><p>This enables LLMs to demonstrate the following properties when it comes to scaling:</p><ul><li><p><strong>Predictability:</strong> Scaling laws allow researchers to estimate performance improvements before training expensive models, reducing trial-and-error.</p></li><li><p><strong>Economic justification:</strong> The ability to forecast returns on investment has driven multi-billion-dollar funding rounds.</p></li><li><p><strong>Limited innovation needed:</strong> Most gains come from investing more compute/data rather than fundamentally new architectures or training algorithms.</p></li></ul><h4>2. Many Important LLM Behaviors Emerge Unpredictably as a Byproduct of Increasing Investment</h4><p>While overall performance improves predictably, <em>specific</em> capabilities often emerge abruptly and unpredictably once the model crosses certain scale thresholds. This phenomenon is called <em><strong>emergent abilities</strong></em>. Some of these emergent abilities demonstrated in LLMs are:</p><ul><li><p><strong>Few-shot learning:</strong> The ability to perform new tasks from just a few examples in the prompt, which was not present in smaller models.</p></li><li><p><strong>Chain-of-thought reasoning:</strong> The capacity to generate step-by-step reasoning improving performance on complex tasks.</p></li></ul><p>These enable the following properties for LLMs:</p><ul><li><p><strong>Uncertainty:</strong> Developers know that larger models will be better overall but cannot reliably predict which new skills will appear or when.</p></li><li><p><strong>&#8220;Mystery box&#8221; effect:</strong> Investing in larger models is akin to buying a black box with unknown but potentially valuable new capabilities.</p></li><li><p><strong>Planning challenges:</strong> Responsible deployment and preparation for novel capabilities require flexibility and ongoing monitoring.</p></li></ul><h4>3. LLMs Often Appear to Learn and Use Representations of the Outside World</h4><p>Despite being trained solely on text prediction through training datasets compiled through various resources, LLMs develop <em>internal representations</em> that correspond to real-world concepts and abstractions:</p><ul><li><p><strong>Semantic representations:</strong> Models encode color concepts in ways that align with human perception.</p></li><li><p><strong>Theory of mind:</strong> LLMs can infer what an author knows or believes and use this to predict text continuation.</p></li><li><p><strong>Spatial and object representations:</strong> Models track properties and locations of objects in stories, sometimes representing spatial layouts.</p></li><li><p><strong>Visual reasoning:</strong> Even without direct visual training, models like GPT-4 can generate instructions in graphics languages to draw objects.</p></li><li><p><strong>Game state tracking:</strong> Models trained on textual game move descriptions learn internal representations of board states.</p></li><li><p><strong>Common sense and fact-checking:</strong> LLMs can distinguish misconceptions from facts and estimate claim plausibility.</p></li><li><p><strong>Passing reasoning tests:</strong> LLMs perform well on benchmarks like the Winograd Schema Challenge, which require commonsense reasoning beyond surface text cues.</p></li></ul><p>These capabilities enables the following properties for LLMs to demonstrate:</p><ul><li><p><strong>Beyond next-word prediction:</strong> While technically LLMs predict text, their learned representations enable abstract reasoning and world modeling.</p></li><li><p><strong>Weak but growing:</strong> These abilities are currently imperfect and sporadic but improve with scale and training innovations.</p></li><li><p><strong>Augmentation:</strong> Integration with vision models and external tools further enhances world understanding.</p></li></ul><h4>4. There Are No Reliable Techniques for Steering the Behavior of LLMs</h4><p>LLMs are pretrained to predict text continuations, but practical applications require them to <em>follow instructions</em> or behave in desired ways. Steering model behavior is challenging:</p><ul><li><p><strong>Fine-tuning and instruction tuning:</strong> Adjusting model weights on specialized datasets can improve alignment but is costly and imperfect.</p></li><li><p><strong>Prompt engineering:</strong> Carefully crafting input prompts can guide outputs but is brittle and often unreliable.</p></li><li><p><strong>Reinforcement learning from human feedback (RLHF):</strong> Human preferences guide model outputs but cannot guarantee consistent behavior.</p></li><li><p><strong>Lack of interpretability:</strong> Without understanding internal mechanisms, it is hard to predict or guarantee model responses.</p></li></ul><p>These properties create the following issues/problems for the LLMs:</p><ul><li><p><strong>Unpredictability:</strong> Models can produce harmful, biased, or nonsensical outputs despite steering attempts.</p></li><li><p><strong>Safety concerns:</strong> Deploying LLMs safely requires extensive monitoring and fallback mechanisms.</p></li><li><p><strong>Research gap:</strong> Developing robust, reliable steering methods remains a major open challenge.</p></li></ul><h4>5. Experts Are Not Yet Able to Interpret the Inner Workings of LLMs</h4><p>LLMs are deep neural networks with billions of parameters and highly distributed representations:</p><ul><li><p><strong>Opaque internals:</strong> The learned weights and activations do not correspond to human-understandable concepts.</p></li><li><p><strong>Lack of interpretability tools:</strong> Current methods (e.g., attention visualization, neuron activation analysis) provide limited insight.</p></li><li><p><strong>Complex emergent phenomena:</strong> Behaviors arise from interactions of many components, not isolated modules.</p></li><li><p><strong>Ongoing research:</strong> Efforts in mechanistic interpretability aim to reverse-engineer model reasoning but are nascent.</p></li></ul><p>These properties create the following issues/problems for the LLMs:</p><ul><li><p><strong>Black-box nature:</strong> Understanding <em>why</em> a model produces a certain output is difficult.</p></li><li><p><strong>Trust and accountability:</strong> Lack of interpretability complicates debugging, auditing, and regulatory compliance.</p></li><li><p><strong>Safety risks:</strong> Hidden failure modes and biases may go undetected.</p></li></ul><h4>6. Human Performance on a Task Isn&#8217;t an Upper Bound on LLM Performance</h4><p>LLMs have demonstrated superhuman performance on many benchmarks:</p><ul><li><p><strong>Standardized exams:</strong> GPT-4 outperforms average qualified humans on the bar exam, SAT, and other professional tests.</p></li><li><p><strong>Speed and scale:</strong> LLMs can process and generate text orders of magnitude faster than humans.</p></li><li><p><strong>Novel capabilities:</strong> Some tasks, like large-scale code generation or multi-document synthesis, exceed typical human abilities.</p></li></ul><p>These properties create the following issues/problems for the LLMs:</p><ul><li><p><strong>Revising expectations:</strong> Human benchmarks are not ceilings; LLMs can surpass human performance in many domains.</p></li><li><p><strong>New applications:</strong> This opens possibilities for automating complex cognitive tasks.</p></li><li><p><strong>Ethical considerations:</strong> Superhuman performance raises questions about job displacement, decision-making authority, and AI governance.</p></li></ul><h4>7. LLMs Need Not Express the Values of Their Creators Nor the Values Encoded in Web Text</h4><p>LLMs are trained on vast datasets scraped from the internet, which contain diverse and often conflicting viewpoints, biases, and cultural values:</p><ul><li><p><strong>Value misalignment:</strong> Models may generate outputs that do not reflect the ethical or normative values of developers or society.</p></li><li><p><strong>Bias amplification:</strong> Models can reproduce or amplify harmful stereotypes present in training data.</p></li><li><p><strong>Steering attempts:</strong> Efforts to align models with human values (e.g., RLHF) are imperfect and context-dependent.</p></li><li><p><strong>Value pluralism:</strong> The multiplicity of values in training data means models may express contradictory or incoherent value systems.</p></li></ul><p>These properties create the following issues/problems for the LLMs:</p><ul><li><p><strong>Ethical challenges:</strong> Ensuring that LLMs behave in socially acceptable ways is complex.</p></li><li><p><strong>Governance needs:</strong> Transparency, auditing, and stakeholder engagement are critical.</p></li><li><p><strong>Customization:</strong> Tailoring models to domain- or community-specific values may be necessary.</p></li></ul><h4>8. Brief Interactions with LLMs Are Often Misleading</h4><p>Users often form impressions of LLMs based on short, anecdotal interactions, which can be deceptive:</p><ul><li><p><strong>Overestimation:</strong> Early impressive outputs may lead users to overestimate model understanding or reliability.</p></li><li><p><strong>Inconsistency:</strong> Models can produce contradictory or erroneous answers on repeated queries.</p></li><li><p><strong>Context sensitivity:</strong> Small changes in prompts or conversation history can drastically alter outputs.</p></li><li><p><strong>Evaluation difficulty:</strong> Measuring true model capabilities requires systematic, large-scale testing rather than isolated demos.</p></li></ul><p>These properties create the following issues/problems for the LLMs:</p><ul><li><p><strong>Caution in interpretation:</strong> Users and policymakers should avoid drawing conclusions from limited interactions.</p></li><li><p><strong>Need for rigorous evaluation:</strong> Benchmarking and adversarial testing provide more reliable assessments.</p></li><li><p><strong>User education:</strong> Training users to understand model limitations is essential for responsible use.</p></li></ul><p>Overall, the paper talks about very interesting observations and properties for LLMs in 8 different dimensions that are both positive and negative aspects to pay attention to. </p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Edmq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Edmq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg" width="1456" height="866" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:866,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;ssl-logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="ssl-logo" title="ssl-logo" srcset="/__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!Edmq!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19764af-23ec-430b-b3b0-121bf16e9f0f_2026x1205.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><a href="https://github.com/Coder-Yu/SELFRec">SELFRec</a></strong> is a Python framework for self-supervised recommendation (SSR) which integrates commonly used datasets and metrics, and implements many state-of-the-art SSR models. SELFRec has a lightweight architecture and provides user-friendly interfaces. It can facilitate model implementation and evaluation.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!hr5H!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 424w, /__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 848w, /__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 1272w, /__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!hr5H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png" width="1182" height="996" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:996,&quot;width&quot;:1182,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:263854,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/162218041?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 424w, /__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 848w, /__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 1272w, /__u/substackcdn.com/image/fetch/$s_!hr5H!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7daa1ffc-dc60-4b22-ab76-2c27b63315d8_1182x996.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/ServiceNow/PipelineRL">Pipeline RL</a> is a scalable asynchronous reinforcement learning implementation with in-flight weight updates. Designed to maximize GPU utilization while staying as on-policy as possible.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!MRMX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 424w, /__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 848w, /__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MRMX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png" width="1456" height="361" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:361,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;TRL Banner&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="TRL Banner" title="TRL Banner" srcset="/__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 424w, /__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 848w, /__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MRMX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31231678-eeb2-49e6-b2b8-1fb506b4eb30_3637x902.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/huggingface/trl">TRL</a> is a cutting-edge library designed for post-training foundation models using advanced techniques like Supervised Fine-Tuning (SFT), Proximal Policy Optimization (PPO), and Direct Preference Optimization (DPO). Built on top of the <a href="https://github.com/huggingface/transformers">&#129303; Transformers</a> ecosystem, TRL supports a variety of model architectures and modalities, and can be scaled-up across various hardware setups.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!N87j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 424w, /__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 848w, /__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 1272w, /__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!N87j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png" width="205" height="205" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:411,&quot;width&quot;:411,&quot;resizeWidth&quot;:205,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 424w, /__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 848w, /__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 1272w, /__u/substackcdn.com/image/fetch/$s_!N87j!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F010a90e7-84d8-4fc8-b56d-ed06b1456707_411x411.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/lllyasviel/FramePack">FramePack</a> is a next-frame (next-frame-section) prediction neural network structure that generates videos progressively.</p><p>FramePack compresses input contexts to a constant length so that the generation workload is invariant to video length.</p><p>FramePack can process a very large number of frames with 13B models even on laptop GPUs.</p><p>FramePack can be trained with a much larger batch size, similar to the batch size for image diffusion training.</p><p></p><p><a href="https://github.com/LunaBlack/KGAT-pytorch">Knowledge Graph Attention Network (KGAT)</a> is a new recommendation framework tailored to knowledge-aware personalized recommendation. Built upon the graph neural network framework, KGAT explicitly models the high-order relations in collaborative knowledge graph to provide better recommendation with item side information.</p><p><a href="https://github.com/Dataherald/dataherald">Dataherald</a> is a natural language-to-SQL engine built for enterprise-level question answering over relational data. It allows you to set up an API from your database that can answer questions in plain English. You can use Dataherald to:</p><ul><li><p>Allow business users to get insights from the data warehouse without going through a data analyst</p></li><li><p>Enable Q+A from your production DBs inside your SaaS application</p></li><li><p>Create a ChatGPT plug-in from your proprietary data</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Qgud!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 424w, /__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 848w, /__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Qgud!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png" width="1000" height="640" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:640,&quot;width&quot;:1000,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;UI&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="UI" title="UI" srcset="/__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 424w, /__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 848w, /__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Qgud!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1074edd0-09fc-4ba8-b232-cb023a087772_1000x640.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/DamRsn/NeuralNote">NeuralNote</a> is the audio plugin that brings <strong>state-of-the-art Audio to MIDI conversion</strong> into your favorite Digital Audio Workstation.</p><ul><li><p>Works with any tonal instrument (voice included)</p></li><li><p>Supports polyphonic transcription</p></li><li><p>Supports pitch bend detection</p></li><li><p>Lightweight and very fast transcription</p></li><li><p>Allows to adjust the parameters while listening to the transcription</p></li><li><p>Allows to scale and time quantize transcribed MIDI directly in the plugin</p></li></ul><p><a href="https://github.com/facebookresearch/audiocraft">AudioCraft</a> is a PyTorch library for deep learning research on audio generation. AudioCraft contains inference and training code for two state-of-the-art AI generative models producing high-quality audio: AudioGen and MusicGen.</p><p><a href="https://github.com/Blaizzy/mlx-audio">mlx-audio</a> is a text-to-speech (TTS) and Speech-to-Speech (STS) library built on Apple's MLX framework, providing efficient speech synthesis on Apple Silicon.</p><p></p><h3>Below The Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!h88Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 424w, /__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 848w, /__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 1272w, /__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!h88Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png" width="1456" height="877" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:877,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="image" title="image" srcset="/__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 424w, /__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 848w, /__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 1272w, /__u/substackcdn.com/image/fetch/$s_!h88Q!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb28c4ff2-8cf6-48b2-9c54-2dbcd6c14fac_1936x1166.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/darrenburns/posting">Posting</a> is an HTTP client, not unlike Postman and Insomnia. As a TUI application, it can be used over SSH and enables efficient keyboard-centric workflows. Your requests are stored locally in simple YAML files, so they're easy to read and version control.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!nBxt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 424w, /__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 848w, /__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 1272w, /__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!nBxt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png" width="862" height="290" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/12256c00-9720-493a-a13c-1abe61421976_862x290.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:290,&quot;width&quot;:862,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:32167,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/162218041?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 424w, /__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 848w, /__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 1272w, /__u/substackcdn.com/image/fetch/$s_!nBxt!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12256c00-9720-493a-a13c-1abe61421976_862x290.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>With <a href="https://github.com/tracel-ai/cubecl">CubeCL</a>, you can program your GPU using Rust, taking advantage of zero-cost abstractions to develop maintainable, flexible, and efficient compute kernels. CubeCL currently fully supports functions, generics, and structs, with partial support for traits, methods and type inference. As the project evolves, we anticipate even broader support for Rust language primitives, all while maintaining optimal performance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!SKbw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 424w, /__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 848w, /__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!SKbw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png" width="563" height="320.2741046831956" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:413,&quot;width&quot;:726,&quot;resizeWidth&quot;:563,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 424w, /__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 848w, /__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 1272w, /__u/substackcdn.com/image/fetch/$s_!SKbw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c0c5c9d-c98a-4b45-8829-569f0001d2c6_726x413.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/jesseduffield/lazydocker">LazyDocker</a> is a simple terminal UI for both docker and docker-compose, written in Go with the <a href="https://github.com/jroimartin/gocui">gocui</a> library.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!vXle!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 424w, /__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 848w, /__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 1272w, /__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!vXle!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png" width="1456" height="387" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:387,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:120338,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/162218041?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 424w, /__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 848w, /__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 1272w, /__u/substackcdn.com/image/fetch/$s_!vXle!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd80d4870-2506-49dc-b007-145af9c3c6df_1664x442.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/PrefectHQ/prefect">Prefect</a> is a workflow orchestration framework for building data pipelines in Python. It's the simplest way to elevate a script into a production workflow. With Prefect, you can build resilient, dynamic data pipelines that react to the world around them and recover from unexpected changes.</p><p>With just a few lines of code, data teams can confidently automate any data process with features such as scheduling, caching, retries, and event-based automations.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!YJYh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 424w, /__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 848w, /__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!YJYh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png" width="1456" height="692" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:692,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;demo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="demo" title="demo" srcset="/__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 424w, /__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 848w, /__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YJYh!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4874b34f-e7be-4cb7-b380-3d4977bd4cf2_1918x911.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/drawdb-io/drawdb">DrawDB</a> is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account. See the full set of features <a href="https://drawdb.app/">here</a>.</p><p><a href="https://github.com/lmnr-ai/index">Index</a> is the SOTA open-source browser agent for autonomously executing complex tasks on the web.</p><p><a href="https://github.com/janwilmake/uit">UIT</a> is a library for <strong>performant, modular, low-memory</strong> file processing at scale, in the Cloud. It works by offering a 4-step process to gather a file hierarchy from any desired modality, apply filters and transformations, and output it in any desired modality.</p><ul><li><p><strong>performance</strong>: speed is of essence when navigating and searching through large amounts of data</p></li><li><p><strong>low-memory</strong> by applying streaming and parallelization we can run this in low-memory environments such as Cloudflare workers</p></li><li><p><strong>modular</strong>: modularity is beneficial because by making it composable we get a clear high-level overview of all building blocks. also, not all building blocks can be ran in the same runtime or location.</p></li></ul>]]></content:encoded></item><item><title><![CDATA[How Pinterest uses LLMs to improve Search]]></title><description><![CDATA[LLM in Visual Programming through InstructPipe]]></description><link>https://mlops.substack.com/p/how-pinterest-uses-llms-to-improve</link><guid isPermaLink="false">https://mlops.substack.com/p/how-pinterest-uses-llms-to-improve</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 27 Apr 2025 21:00:29 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!uy38!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><h3>Articles</h3><p></p><p>Traditional search engines on Pinterest relied heavily on user engagement signals and keyword-based retrieval, which often failed to capture nuanced relevance between a user's query and the diverse, multimedia content as they cannot be described or interpreted through the keywords. Pinterest wrote a <a href="https://medium.com/pinterest-engineering/improving-pinterest-search-relevance-using-large-language-models-4cd938d4e892">great blog post</a> on their approach to solve this problem through leveraging large language models (LLMs) to directly model and improve search relevance, resulting in good gains in user experience and engagement.</p><p>The article talks about main 4 different directions:</p><ol><li><p>LLM Based X-Encoder</p></li><li><p>Pin Data Representation for LLM</p></li><li><p>Knowledge Distillation</p></li><li><p>Semi-Supervised Learning</p></li></ol><p>which I will expand a bit more and technical details in the following sections:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!uy38!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 424w, /__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 848w, /__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 1272w, /__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!uy38!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png" width="1456" height="822" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:822,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:169090,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/161759659?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 424w, /__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 848w, /__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 1272w, /__u/substackcdn.com/image/fetch/$s_!uy38!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ca1329-fe9a-467c-8b44-c1485b8ee9e1_1506x850.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>1. LLM Based X-Encoder</h4><p>Pinterest introduced a cross-encoder(X-Encoder) LLM as a "teacher" to predict the relevance of Pins to search queries. This model takes both the query and detailed Pin text features as input and outputs a multiclass relevance score, trained using human-annotated data and cross-entropy loss. This approach makes the search to be better than traditional keyword matching, allowing for a deeper semantic understanding of both queries and content of the pins.</p><h5>LLM-Based X-Encoder Architecture</h5><ul><li><p><strong>Input</strong>: Both the search query and enriched Pin text features are concatenated and fed into the model.</p></li><li><p><strong>Model</strong>: Fine-tuned transformer-based architectures (e.g., BERT, T5, mDeBERTa, XLM-RoBERTa, Llama-3&#8211;8B) are used as cross-encoders.</p></li><li><p><strong>Task</strong>: Multiclass classification, predicting a 5-level relevance score (from "not relevant" to "highly relevant").</p></li><li><p><strong>Training</strong>: Uses human-annotated data, minimizing cross-entropy loss.</p></li></ul><p></p><h4>2. Pin Data Representation for LLM</h4><p>To maximize the LLM&#8217;s effectiveness on both content and query pairs, Pinterest engineered a comprehensive set of text features for each Pin:</p><h5></h5><ul><li><p><strong>Pin titles/descriptions</strong>: Direct user input.</p></li><li><p><strong>Synthetic captions</strong>: Generated using <a href="https://arxiv.org/abs/2201.12086">BLIP</a> model, providing descriptive text for images.</p></li><li><p><strong>High-engagement query tokens</strong>: Captures search terms that historically led to high engagement with the Pin.</p></li><li><p><strong>Board titles</strong>: Context from user curation.</p></li><li><p><strong>Link titles/descriptions</strong>: Additional context from external sources.</p></li></ul><p>This multi-source representation of Pins ensure high coverage for queries and quality, enabling the model to better represent and understand and match the intent behind user queries. Ablation studies also show that adding each feature incrementally improves the model&#8217;s predictive accuracy, highlighting the importance of feature engineering.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!2zOv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 424w, /__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 848w, /__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!2zOv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png" width="1400" height="711" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:711,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 424w, /__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 848w, /__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2zOv!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08b7153f-fd05-4135-a601-b594c3028c39_1400x711.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4><strong>3. Knowledge Distillation</strong></h4><p>While the LLM-based teacher model is highly accurate, it is computationally expensive and therefore not feasible for real-time production use at Pinterest&#8217;s scale. To address this, Pinterest uses knowledge distillation: the teacher model generates relevance labels for billions of query-Pin pairs, which are then used to train a lightweight "student" model. This student model is further optimized for speed and efficiency can be deployed in production to serve search results in real time.</p><p>More details with regards to teach and student model and their training paradigm are in the following:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!KlFs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 424w, /__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 848w, /__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 1272w, /__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!KlFs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png" width="1456" height="572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:572,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:218685,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/161759659?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 424w, /__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 848w, /__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 1272w, /__u/substackcdn.com/image/fetch/$s_!KlFs!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc51a8df-bb09-4b7a-8c0e-5c2699cac9b2_1466x576.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Teacher model (LLM X-encoder)</strong>: Used offline to generate relevance labels for billions of query-Pin pairs.</p></li><li><p><strong>Student model</strong>: A lightweight feed-forward neural network that ingests:</p><ul><li><p>Query-level features (interest embeddings, SearchSAGE query embeddings)</p></li><li><p>Pin-level features (PinSAGE embeddings, visual/image embeddings, SearchSAGE Pin embeddings)</p></li><li><p>Query-Pin interaction features (BM25/text match scores, historical engagement rates)</p></li></ul></li></ul><h4><strong>4. Semi-Supervised Learning</strong></h4><p>By leveraging the teacher model to label massive amounts of previously unlabeled data, Pinterest significantly expands its training set beyond what is feasible with manual annotation. This semi-supervised learning approach not only increases the volume of training data but also enhances generalization to new languages and concepts, as the teacher model is multilingual and can adapt to seasonal and global trends.</p><ul><li><p>The teacher model, being multilingual, enables the system to generalize to new languages and concepts not present in the original human-labeled data.</p></li><li><p>This approach allows Pinterest to scale relevance modeling globally, adapting to new trends and seasonal content without requiring manual annotation for every locale.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!1dz-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 424w, /__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 848w, /__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!1dz-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png" width="1372" height="584" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:584,&quot;width&quot;:1372,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:110914,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/161759659?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 424w, /__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 848w, /__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1dz-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb3ebb07-d014-4944-a225-438e9efc06c8_1372x584.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Results are pretty impressive:</p><ul><li><p>LLM-based models (especially larger ones like Llama-3&#8211;8B) significantly outperform both traditional embedding-based models and smaller language models in predicting relevance.</p></li><li><p>Online: A/B tests show over 1% improvement in search feed relevance (nDCG@20) and over 1.5% improvement in search fulfillment rates globally, including in countries and languages not represented in the human-annotated training data, which makes the existing approach to be very generalizable and scalable outside of the training datasets of the Pins.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!OcHl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 424w, /__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 848w, /__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 1272w, /__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!OcHl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png" width="1456" height="857" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:857,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1023749,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/161759659?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 424w, /__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 848w, /__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 1272w, /__u/substackcdn.com/image/fetch/$s_!OcHl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F530aae53-2db1-4979-bf67-9a763367f18d_1926x1134.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2></h2><p><strong><a href="https://research.google/blog/instructpipe-generating-visual-blocks-pipelines-with-human-instructions-and-llms/">InstructPipe</a></strong> is a research prototype developed by Google to streamline the creation of machine learning (ML) pipelines in visual programming environments. By leveraging large language models (LLMs) and natural language instructions, InstructPipe automates the selection and connection of nodes in a visual editor, making the process accessible to both novices and experts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!s18p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 424w, /__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 848w, /__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 1272w, /__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!s18p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png" width="1250" height="445" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:445,&quot;width&quot;:1250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;InstructPipe2_Overview copy&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="InstructPipe2_Overview copy" title="InstructPipe2_Overview copy" srcset="/__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 424w, /__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 848w, /__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 1272w, /__u/substackcdn.com/image/fetch/$s_!s18p!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c9cf06-7c68-4374-b50a-1110b1498052_1250x445.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Visual programming frameworks, such as Visual Blocks for ML, allow users to construct computational workflows by connecting modular blocks in a node-graph editor. This low-code approach is designed to lower the barrier for ML prototyping, enabling users to focus on high-level logic rather than intricate coding details.</p><p>However, even with visual programming, new users often struggle to set up pipelines from scratch. They must identify, select, and connect appropriate nodes from a blank workspace, which can be daunting and time-consuming, especially for those unfamiliar with ML concepts or the available node types.</p><p>InstructPipe addresses these challenges by introducing an AI assistant that translates human instructions into functional visual programming pipelines. Users can describe the desired pipeline in natural language, and InstructPipe automates much of the pipeline construction process.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Zu3-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 424w, /__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 848w, /__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Zu3-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png" width="1250" height="475" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:475,&quot;width&quot;:1250,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;InstructPipe3_ExamplePipeline&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="InstructPipe3_ExamplePipeline" title="InstructPipe3_ExamplePipeline" srcset="/__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 424w, /__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 848w, /__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Zu3-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41f8b005-eb1b-4d5e-b8e8-bc7613027084_1250x475.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In order to build such a system, it uses the following components:</p><ul><li><p><strong>Node Selector (LLM Module 1):</strong> Given a user instruction and a pipeline tag (e.g., &#8220;multimodal&#8221;), this module identifies a list of potentially relevant nodes. It uses brief node descriptions to filter out unrelated options.</p></li><li><p><strong>Code Writer (LLM Module 2):</strong> Receives the selected nodes and user input, then generates pseudocode that defines the structure and connections of the pipeline. This module is provided with detailed node descriptions and examples for context.</p></li><li><p><strong>Code Interpreter:</strong> Parses the generated pseudocode and renders the pipeline as a directed acyclic graph (DAG) in the visual editor, enabling further human-AI collaboration.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!HMXa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 424w, /__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 848w, /__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 1272w, /__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!HMXa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png" width="548" height="842" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:842,&quot;width&quot;:548,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;InstructPipe5_Workflow&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="InstructPipe5_Workflow" title="InstructPipe5_Workflow" srcset="/__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 424w, /__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 848w, /__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 1272w, /__u/substackcdn.com/image/fetch/$s_!HMXa!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82a92c82-bf83-4e07-a77b-2272dbd7e182_548x842.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Pipelines in Visual Blocks are typically represented as verbose JSON files. InstructPipe introduces a pseudocode format that is highly token-efficient, compressing a 2,800-token JSON pipeline into a 123-token representation. This concise format maintains essential structural information while sacrificing some fine-grained annotations.</p><p></p><h3>Libraries</h3><p><a href="https://github.com/MekkCyber/TritonAcademy">TritonAcademy</a> has a number of resources for Triton and tooling around Triton. Triton is an open-source programming language and compiler designed specifically for GPU programming. It aims to simplify the development of efficient GPU kernels by providing a higher-level abstraction than CUDA or other low-level GPU programming models.</p><p>Triton enables developers to write high-performance GPU code with Python-like syntax while automatically handling many low-level optimizations that would otherwise require significant expertise in GPU architecture. It was developed by OpenAI and is now widely used in machine learning and scientific computing applications.</p><p><a href="https://triton-lang.org/main/getting-started/tutorials/index.html">Tutorials for Triton</a> can also be a good accompanying site to provide complementary resources.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!6zU7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 424w, /__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 848w, /__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!6zU7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg" width="189" height="48" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:48,&quot;width&quot;:189,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;LightlyTrain Logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="LightlyTrain Logo" title="LightlyTrain Logo" srcset="/__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 424w, /__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 848w, /__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!6zU7!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99c19cf5-b18b-4440-bdd6-78b90de14348_189x48.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/lightly-ai/lightly-train">LightlyTrain</a> brings self-supervised pretraining to real-world computer vision pipelines, using your unlabeled data to reduce labeling costs and speed up model deployment. Leveraging the state-of-the-art from research, it pretrains your model on your unlabeled, domain-specific data, significantly reducing the amount of labeling needed to reach a high model performance.</p><p>This allows you to focus on new features and domains instead of managing your labeling cycles. LightlyTrain is designed for simple integration into existing training pipelines and supports a wide range of model architectures and use-cases out of the box.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!V1jQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 424w, /__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 848w, /__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 1272w, /__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!V1jQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png" width="1260" height="716" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:716,&quot;width&quot;:1260,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Benchmark Results&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Benchmark Results" title="Benchmark Results" srcset="/__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 424w, /__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 848w, /__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 1272w, /__u/substackcdn.com/image/fetch/$s_!V1jQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef292b5-a9fb-4aa9-b1c7-f6e5417b5e3a_1260x716.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4><strong>Why LightlyTrain</strong></h4><ul><li><p>&#128184; <strong>No Labels Required</strong>: Speed up development by pretraining models on your unlabeled image and video data.</p></li><li><p>&#128260; <strong>Domain Adaptation</strong>: Improve models by pretraining on your domain-specific data (e.g. video analytics, agriculture, automotive, healthcare, manufacturing, retail, and more).</p></li><li><p>&#127959;&#65039; <strong>Model &amp; Task Agnostic</strong>: Compatible with any architecture and task, including detection, classification, and segmentation.</p></li><li><p>&#128640; <strong>Industrial-Scale Support</strong>: LightlyTrain scales from thousands to millions of images. Supports on-prem, cloud, single, and multi-GPU setups.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!usLi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 424w, /__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 848w, /__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 1272w, /__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!usLi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png" width="1029" height="482" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:482,&quot;width&quot;:1029,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 424w, /__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 848w, /__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 1272w, /__u/substackcdn.com/image/fetch/$s_!usLi!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa848e892-7f3b-4caa-81bd-9dfe70fc27a8_1029x482.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/ZihanWang314/coe">Chain-of-Experts (CoE)</a> changes <strong>sparse</strong> Large Language Model (LLM) processing by implementing <strong>sequential communication</strong> between intra-layer experts within Mixture-of-Experts (MoE) models.</p><p>Mixture-of-Experts (MoE) models process information <strong>independently in parallel</strong> between experts and have <strong>high memory requirements</strong>. CoE introduces an <strong>iterative mechanism enabling experts to "communicate"</strong> by processing tokens on top of outputs from other experts.</p><p><strong>Experiments show that CoE significantly outperforms previous MoE models in multiple aspects:</strong></p><ul><li><p><strong>Performance:</strong> CoE with <strong>2x</strong> iterations reduces Math validation loss <strong>from 1.20 to 1.12</strong></p></li><li><p><strong>Scaling: 2x</strong> iterations matches performance of <strong>3x</strong> expert selections, outperforming layer scaling</p></li><li><p><strong>Efficiency: 17.6%</strong> lower memory usage with equivalent performance</p></li><li><p><strong>Flexibility:</strong> <strong>823x</strong> increase in expert combinations, improving utilization, communication, and specialization</p></li></ul><p>These advantages constitute a "free lunch" effect, enabling efficient scaling of LLMs.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!YQjS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 424w, /__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 848w, /__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!YQjS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png" width="1456" height="253" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:253,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Mem0 - The Memory Layer for Personalized AI&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Mem0 - The Memory Layer for Personalized AI" title="Mem0 - The Memory Layer for Personalized AI" srcset="/__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 424w, /__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 848w, /__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 1272w, /__u/substackcdn.com/image/fetch/$s_!YQjS!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F107ba1d2-bd04-4f5f-9ed5-dbd3efefee1b_1572x273.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://mem0.ai/">Mem0</a> (pronounced as "mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions. Mem0 remembers user preferences, adapts to individual needs, and continuously improves over time, making it ideal for customer support chatbots, AI assistants, and autonomous systems.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Iw71!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 424w, /__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 848w, /__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Iw71!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin" width="1456" height="281" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:281,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 424w, /__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 848w, /__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 1272w, /__u/substackcdn.com/image/fetch/$s_!Iw71!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F519f0e06-19f1-4a70-9064-d5f9049dd8af_11862x2287.bin 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/HKUDS/DiffMM">DiffMM</a> is a new multi-modal recommendation model that enriches the probabilistic diffusion paradigm by incorporating modality awareness. It utilizes a multi-modal graph diffusion model to reconstruct a comprehensive user-item graph, while harnessing the advantages of a cross-modal data augmentation module that provides valuable self-supervision signals. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!e5kh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 424w, /__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 848w, /__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 1272w, /__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!e5kh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png" width="1456" height="445" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:445,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;RICO Framework&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="RICO Framework" title="RICO Framework" srcset="/__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 424w, /__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 848w, /__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 1272w, /__u/substackcdn.com/image/fetch/$s_!e5kh!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd76faa74-0a67-470f-8a58-d63228d315d4_3577x1094.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Reinforcement Learning (RL) with rule-based rewards has shown promise in enhancing reasoning capabilities of large language models (LLMs). However, existing approaches have primarily focused on static, single-turn tasks like math reasoning and coding. Extending these methods to agent scenarios introduces two fundamental challenges:</p><ol><li><p><strong>Multi-turn Interactions</strong>: Agents must perform sequential decision-making and react to environment feedback</p></li><li><p><strong>Stochastic Environments</strong>: Uncertainty where identical actions can lead to different outcomes</p></li></ol><p><a href="https://github.com/RAGEN-AI/RAGEN">RAGEN</a> addresses these challenges through:</p><ul><li><p>A Markov Decision Process (MDP) formulation for agent tasks</p></li><li><p>Reason-Interaction Chain Optimization (RICO) algorithm that optimizes entire trajectory distributions</p></li><li><p>Progressive reward normalization strategies to handle diverse, complex environments</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!XqLr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 424w, /__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 848w, /__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!XqLr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg" width="172" height="101" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:101,&quot;width&quot;:172,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 424w, /__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 848w, /__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!XqLr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde0d9c40-40a1-4703-bf22-ed1f2a4ab30a_172x101.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/stanford-oval/storm">STORM</a>: Synthesis of Topic Outlines through Retrieval and Multi-perspective Question Asking is an LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Qtdr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 424w, /__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 848w, /__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Qtdr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg" width="186" height="148" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:148,&quot;width&quot;:186,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 424w, /__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 848w, /__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!Qtdr!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F93c9500d-0601-487b-838f-6bcb8c6cf323_186x148.svg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong><a href="https://github.com/marimo-team/marimo">marimo</a></strong> is a reactive Python notebook: run a cell or interact with a UI element, and marimo automatically runs dependent cells (or <a href="https://github.com/marimo-team/marimo#expensive-notebooks">marks them as stale</a>), keeping code and outputs consistent. marimo notebooks are stored as pure Python, executable as scripts, and deployable as apps.</p><p><a href="https://github.com/NVlabs/VILA">VILA</a> is a family of open VLMs designed to optimize both efficiency and accuracy for efficient video understanding and multi-image understanding.</p><p><a href="https://github.com/amoussawi/recoder">Recoder</a> is a fast implementation for training collaborative filtering latent factor models with mini-batch based negative sampling following recent work:</p><h3>Tutorials</h3><ul><li><p><a href="https://github.com/wellecks/transformers4math-simons">Simons Institute and SLMath Joint Workshop: AI for Mathematics and Theoretical Computer Science</a></p><ul><li><p><strong><a href="https://colab.research.google.com/github/wellecks/transformers4math-simons/blob/main/1_bigram/bigrams_colab.ipynb">Bigram model</a></strong>:</p><ul><li><p>A very simple language model based on counting consecutive tokens.</p></li></ul></li><li><p><strong><a href="https://colab.research.google.com/github/wellecks/transformers4math-simons/blob/main/2_transformer/transformer_colab.ipynb">Transformer</a></strong>:</p><ul><li><p>Implement and train a simple Transformer language model.</p></li></ul></li><li><p><strong><a href="https://colab.research.google.com/github/wellecks/transformers4math-simons/blob/main/3_addition/addition_colab.ipynb">Addition</a></strong>:</p><ul><li><p>Train a model for four-digit addition.</p></li></ul></li><li><p><strong><a href="https://colab.research.google.com/github/wellecks/transformers4math-simons/blob/main/4_graphs/graphs_colab.ipynb">Triangle-free graphs</a></strong>:</p><ul><li><p>Train a model to generate triangle-free graphs.</p></li></ul></li></ul></li></ul><h3>Below the Fold</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!E6vS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 424w, /__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 848w, /__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 1272w, /__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!E6vS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png" width="128" height="128" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:128,&quot;width&quot;:128,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;cobalt logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="cobalt logo" title="cobalt logo" srcset="/__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 424w, /__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 848w, /__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 1272w, /__u/substackcdn.com/image/fetch/$s_!E6vS!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03d38ec7-102e-45e8-9107-3448cb076edc_128x128.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><a href="https://github.com/imputnet/cobalt">cobalt</a> is a media downloader that doesn't piss you off. it's friendly, efficient, and doesn't have ads, trackers, paywalls or other nonsense.</p><p>paste the link, get the file, move on. that simple, just how it should be.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!xwJM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!xwJM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg" width="1456" height="485" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:485,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Frame 111&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Frame 111" title="Frame 111" srcset="/__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!xwJM!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47866201-8a65-4193-85d2-a1ed1c193166_2160x720.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/upscayl/upscayl">Upscayl</a> lets you enlarge and enhance low-resolution images using advanced AI algorithms. Enlarge images without losing quality.</p><h4>Apple Section</h4><p>I have recently started looking into CoreML and found some good resources in the intersection of ML and CoreML(machine learning framework by Apple):</p><ul><li><p><a href="https://github.com/eleev/ios-learning-materials">iOS-learning-materials</a> is a resource for web-resources, tutorials, <code>Stack Overflow</code> and <code>Quora</code> Q&amp;A, <code>GitHub</code>code repositories and useful resources that may help you dig a little bit deeper into iOS. All the resources are split into sub-categories which simlifies navigation and management.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!-O5f!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 424w, /__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 848w, /__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!-O5f!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png" width="990" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:990,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 424w, /__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 848w, /__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 1272w, /__u/substackcdn.com/image/fetch/$s_!-O5f!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a102b92-2e80-4496-9c80-e91a6f20169a_990x256.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><a href="https://github.com/hollance/neural-engine">neural-engine</a> is a comprehensive repo that goes over neural engine aspects. <a href="https://github.com/mikeroyal/Apple-Silicon-Guide">Apple-Silicon-Guide</a> is another resource for Apple&#8217;s specific chips and how to use them. <a href="https://github.com/hanleyweng/CoreML-in-ARKit">CoreML Kit</a> covers the software library that builds on top of the apple silicon.</p></li><li><p><a href="https://github.com/lovoo/NSFWDetector">NSFWDetector</a> is a small (<strong>17 kB</strong>) CoreML Model to scan images for nudity. It was trained using CreateML to distinguish between porn/nudity and appropriate pictures. With the main focus on distinguishing between instagram model like pictures and porn.</p></li></ul><p><a href="https://github.com/dokun1/Lumina">Lumina</a> gives you an opportunity to skip having to write <code>AVFoundation</code> code, and gives you the tools you need to do anything you need with a camera you've already built.</p><p><a href="https://github.com/SwiftBrain/awesome-CoreML-models">This repository</a> has a collection of Open Source machine learning models which work with Apples <strong>Core ML</strong> standard.</p><p>Apple has published some of their own models. They can be downloaded <a href="https://developer.apple.com/machine-learning/">here</a>. Those published models are: <strong>SqueezeNet, Places205-GoogLeNet, ResNet50, Inception v3, VGG16</strong> and will not be republished in this repository.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!GZmN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 424w, /__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 848w, /__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!GZmN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png" width="512" height="164" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:164,&quot;width&quot;:512,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;ssk-logo&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="ssk-logo" title="ssk-logo" srcset="/__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 424w, /__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 848w, /__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 1272w, /__u/substackcdn.com/image/fetch/$s_!GZmN!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61a1c69a-09b3-4b53-8307-4dce0024cecd_512x164.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong><a href="https://github.com/ZachNagengast/similarity-search-kit">SimilaritySearchKit</a></strong> is a Swift package enabling <em>on-device</em> text embeddings and semantic search functionality for iOS and macOS applications in just a few lines. Emphasizing speed, extensibility, and privacy, it supports a variety of built-in state-of-the-art NLP models and similarity metrics, in addition to seamless integration for bring-your-own options.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ee8l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ee8l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg" width="1456" height="787" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:787,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!ee8l!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb34793b-bb9e-497f-aadf-03882c3c8bb8_1920x1038.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/john-rocky/CoreML-Models">CoreML Model Zoo</a> has a lot of models published by Apple and other companies.</p><p></p>]]></content:encoded></item><item><title><![CDATA[How to use LLM in Recommender Systems]]></title><description><![CDATA[Infini-Gram Language Model]]></description><link>https://mlops.substack.com/p/how-to-use-llm-in-recommender-systems</link><guid isPermaLink="false">https://mlops.substack.com/p/how-to-use-llm-in-recommender-systems</guid><dc:creator><![CDATA[Bugra Akyildiz]]></dc:creator><pubDate>Sun, 20 Apr 2025 22:01:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!_P7u!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><h3>Articles</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_P7u!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 424w, /__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 848w, /__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_P7u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png" width="1456" height="536" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:536,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 424w, /__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 848w, /__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 1272w, /__u/substackcdn.com/image/fetch/$s_!_P7u!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89f6edd2-acc8-484f-9b14-ba45e7e6df6f_4104x1512.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://arxiv.org/html/2401.17377v3">Infini-gram</a> is a new approach in language modeling, offering a modern revival of n-gram language models (LMs) at scale. This system processes n-gram queries with unbounded context length across trillion-token corpora with remarkable efficiency. The project scales traditional n-gram approaches to 5 trillion tokens&#8212;containing approximately 5 quadrillion unique n-grams&#8212;making it the largest n-gram language model ever created. Infini-gram achieves millisecond-level query processing, demonstrating that classical statistical language modeling approaches remain relevant and they are complementary to neural methods in the era of large language models(LLMs).</p><p>Infini-gram modernizes traditional n-gram language models in two fundamental ways: </p><ol><li><p>massive scaling of training data</p></li><li><p>removal of context length constraints. </p></li></ol><p>The system processes n-gram queries across an unprecedented volume of 5 trillion tokens, combining several major open-source text corpora including Dolma (3T tokens), RedPajama (1.4T tokens), Pile (380B tokens), and C4 (200B tokens). This represents the largest n-gram language model ever created, surpassing previous implementations by orders of magnitude. </p><p>The most significant technical innovation is the expansion of "n" from traditionally small fixed values (typically &#8804;5) to an unbounded approach, and therefore the name of "&#8734;-gram LM." Traditional n-gram models were constrained to small context windows because the computational requirements grew nearly exponentially with increasing n-values. Infini-gram overcomes this limitation through a variant of the backoff approach, where the system resorts to smaller n-values only when longer n-grams have zero counts. This enables the model to utilize the maximum possible context, significantly improving prediction accuracy compared to fixed-length n-gram models.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!u6X8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 424w, /__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 848w, /__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 1272w, /__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!u6X8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png" width="1456" height="635" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:635,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 424w, /__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 848w, /__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 1272w, /__u/substackcdn.com/image/fetch/$s_!u6X8!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1db86a8d-f7a2-4b66-88e0-5b63aefb1c98_2310x1008.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The technical architecture powering Infini-gram is based on suffix arrays, a data structure that stores the ranking of all suffixes of a byte array. The byte array represents the concatenation of all tokenized documents in the training corpora. The suffix array occupies O(N) space and can be constructed in O(N) time, making it remarkably efficient for the scale involved. This approach eliminates the need to precompute and store massive n-gram count tables, which would be prohibitively expensive for unbounded n-values.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!eZtH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 424w, /__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 848w, /__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 1272w, /__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!eZtH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png" width="1456" height="777" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:777,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 424w, /__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 848w, /__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 1272w, /__u/substackcdn.com/image/fetch/$s_!eZtH!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0384a09-85ea-4482-8545-f0dac29ff9e2_2854x1524.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Performance metrics demonstrate extraordinary efficiency: n-gram counting operations complete in approximately 20 milliseconds regardless of n-gram length when querying the RedPajama corpus (1.4T tokens). N-gram language model probability estimation and decoding functions remain under 40 milliseconds per query, while the &#8734;-gram functionality takes slightly longer (under 200 milliseconds) as it must determine the longest possible n. Perhaps most impressively, these operations require minimal computational resources, functioning effectively with only CPU and RAM, as the index can remain on disk during inference. The system requires "0 GPU for both training and inference," distinguishing it from resource-intensive neural approaches.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!4Ujz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 424w, /__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 848w, /__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!4Ujz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png" width="1442" height="742" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:742,&quot;width&quot;:1442,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 424w, /__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 848w, /__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 1272w, /__u/substackcdn.com/image/fetch/$s_!4Ujz!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a07fd50-568e-45c0-bbb0-c8451ce4b48c_1442x742.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The &#8734;-gram framework enabled novel analyses of both human-written and machine-generated text. &#8734;-gram language model achieves surprisingly high accuracy for next-token prediction at 47%, outperforming traditional 5-gram models which achieve only 29%. Prediction accuracy increases significantly when utilizing larger context windows and when &#8734;-gram estimates are sparse.</p><p>More details about the approach and paper are available in <a href="https://infini-gram.io/">here</a> and code is also available in <a href="https://github.com/liujch1998/infini-gram">GitHub</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!cnsN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!cnsN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg" width="1200" height="929" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:929,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Unified Embeddings&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Unified Embeddings" title="Unified Embeddings" srcset="/__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!cnsN!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f1546b8-b395-414e-8667-74a3ae98d39f_1200x929.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Eugene Yan wrote an excellent piece on <a href="https://eugeneyan.com/writing/recsys-llm/">how LLM can be used in recommendations systems</a> by reviewing a number of different papers from companies that work on or does research in recommendations space. </p><p>I want to categorize these into 4 main areas:</p><ol><li><p>Augmented Model Architecture &#8594; LLM for Recsys</p></li><li><p>LLM for Data</p></li><li><p>LLM for Scale on a budget</p></li><li><p>Unified Model Architecture  &#8594; LLM as Recsys</p></li></ol><h2>1. LLM for Recsys</h2><p>Recommender systems are evolving beyond traditional ID-based approaches by integrating semantic understanding through LLMs and multimodal fusion. These architectures address cold-start challenges while improving interpretability.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!_tus!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!_tus!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg" width="1200" height="468" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:468,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Semantic IDs&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Semantic IDs" title="Semantic IDs" srcset="/__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!_tus!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5212bbef-ff40-44eb-8269-e5112967fe09_1200x468.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>Semantic IDs (YouTube)</strong></h3><p><strong>Innovation</strong>: Replaces arbitrary item IDs with content-derived identifiers that preserve semantic relationships.<br><strong>How:</strong></p><ol><li><p><strong>Multimodal Encoding</strong>: A transformer model processes video frames and audio tracks into dense embeddings, capturing temporal relationships through cross-attention layers.</p></li><li><p><strong>Hierarchical Compression</strong>: The Residual Quantization VAE progressively compresses embeddings into 8 discrete codes, where each layer refines the reconstruction error from previous steps. This allows efficient nearest-neighbor searches while maintaining item similarity.</p></li><li><p><strong>Adaptive Tokenization</strong>:</p><ul><li><p><em>N-gram Hashing</em> splits IDs into fixed-length segments for embedding table lookup, enabling partial matches.</p></li><li><p><em>SentencePiece</em> learns variable-length subword units from ID distributions, better handling long-tail items through adaptive grouping.</p></li></ul></li></ol><p><strong>Why It Works</strong>: By encoding content features directly into IDs, the system preserves item relationships even for new entries. The hierarchical compression balances reconstruction accuracy with storage efficiency.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!mj9G!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!mj9G!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg" width="1200" height="480" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:480,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;M3CSR&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="M3CSR" title="M3CSR" srcset="/__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!mj9G!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f2a93e-2d1b-4093-b1ed-d9b22fb4e7ee_1200x480.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>M3CSR (Kuaishou)</strong></h3><p><strong>Innovation</strong>: Aligns user behavior with multimodal content clusters to bridge the semantic gap.<br><strong>How</strong>:</p><ol><li><p><strong>Modality-Specific Processing</strong>:</p><ul><li><p>Visual content passes through ResNet with attention pooling to emphasize salient regions.</p></li><li><p>Text descriptions encode via Sentence-BERT with contrastive learning to separate dissimilar items.</p></li></ul></li><li><p><strong>Cluster-Based Alignment</strong>: K-means++ groups items into 1,000 content clusters, creating interpretable categories that remain stable across updates.</p></li><li><p><strong>Dual-Tower Interaction</strong>:</p><ul><li><p>The user tower processes behavior sequences through GRUs with modality-specific attention.</p></li><li><p>The item tower maps cluster memberships to dense embeddings using modality gates that dynamically adjust feature importance.</p></li></ul></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!FKpk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!FKpk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg" width="1068" height="545" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:545,&quot;width&quot;:1068,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;M3CSR&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="M3CSR" title="M3CSR" srcset="/__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!FKpk!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F913fcb46-ee4a-4199-b89c-f76c2afc4813_1068x545.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why It Works</strong>: Clusters act as semantic anchors, allowing the model to generalize across items with similar characteristics. The modality gating mechanism prevents noisy features from dominating predictions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!w2Lg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!w2Lg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg" width="833" height="857" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:857,&quot;width&quot;:833,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;FLIP&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="FLIP" title="FLIP" srcset="/__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!w2Lg!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c2188e8-5c5c-4f5a-952e-abeb8fd949d7_833x857.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>FLIP (Huawei)</strong></h3><p><strong>Innovation</strong>: Unifies tabular user data and LLM-processed text through cross-modal pretraining.<br><strong>How</strong>:</p><ol><li><p><strong>Tabular-to-Text Conversion</strong>: Templates transform user interaction logs into natural language sentences, preserving metadata like timestamps and categories.</p></li><li><p><strong>Masked Pretraining</strong>:</p><ul><li><p>Randomly masks tabular fields (e.g., user IDs) and text tokens, forcing the model to reconstruct both modalities.</p></li><li><p>Contrastive learning aligns text and tabular embeddings in a shared space.</p></li></ul></li><li><p><strong>Adaptive Fusion</strong>: A gating network dynamically combines text and tabular features based on prediction confidence, falling back to ID-based patterns when text is ambiguous.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!gmTt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!gmTt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg" width="1200" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;FLIP&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="FLIP" title="FLIP" srcset="/__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!gmTt!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F468adf45-b379-45c2-91f9-88c9a7635d65_1200x728.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why It Works</strong>: The joint training process creates a shared representation space where user behavior and content descriptions mutually enhance predictions. The fallback mechanism maintains robustness.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!vpD4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!vpD4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg" width="1200" height="678" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:678,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;CALRec&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="CALRec" title="CALRec" srcset="/__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!vpD4!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb1c898-7c95-476b-971b-e0a0c26f3fc7_1200x678.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3><strong>CALRec (Google)</strong></h3><p><strong>Innovation</strong>: Adapts LLMs for sequential recommendation through instruction tuning.<br><strong>How</strong>:</p><ol><li><p><strong>Prompt Engineering</strong>: Converts user histories into natural language sequences with explicit instructions like "Recommend items similar to [target]."</p></li><li><p><strong>Two-Stage Training</strong>:</p><ul><li><p><em>General Pretraining</em> on 100M interactions across diverse categories builds foundational understanding.</p></li><li><p><em>Category-Specific Finetuning</em> sharpens predictions through contrastive learning, separating relevant items from hard negatives.</p></li></ul></li><li><p><strong>Candidate Generation</strong>: Temperature-controlled sampling produces diverse candidates, which BM25 matches against the catalog using title/description similarity.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!z-I-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!z-I-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg" width="1200" height="481" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:481,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;EmbSum&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="EmbSum" title="EmbSum" srcset="/__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!z-I-!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b0d703-341b-4e4c-a51e-9f630199245b_1200x481.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why It Works</strong>: The LLM&#8217;s inherent language understanding allows it to infer subtle relationships (e.g., "wireless headphones &#8594; noise-canceling earbuds") that ID-based models miss.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!NFK_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!NFK_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg" width="1330" height="621" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:621,&quot;width&quot;:1330,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Playlist Search&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Playlist Search" title="Playlist Search" srcset="/__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!NFK_!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94395232-cad0-405a-a5b7-61d90ebf8dc4_1330x621.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>2. LLM for Data</h2><p>LLMs are changing training data by generating synthetic training examples and refining metadata.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!gmXl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!gmXl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg" width="1294" height="576" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8260cada-700b-4332-be04-301f12511048_1294x576.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:576,&quot;width&quot;:1294,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Recommendation Quality Improvement&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Recommendation Quality Improvement" title="Recommendation Quality Improvement" srcset="/__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!gmXl!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8260cada-700b-4332-be04-301f12511048_1294x576.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Bing&#8217;s Metadata Pipeline</strong></p><p><strong>How</strong>:</p><ol><li><p><strong>GPT-4 Annotation</strong>: Generates concise titles and snippets while adhering to guidelines like "avoid clickbait" and "include key entities."</p></li><li><p><strong>Distillation</strong>: Trains Mistral-7B using confidence-weighted examples, focusing on high-certainty GPT-4 predictions. The student model gradually learns to match both output text and embedding distributions.</p></li></ol><p><strong>Why It Works</strong>: GPT-4&#8217;s strong language understanding produces high-quality labels, while distillation maintains quality at scale. </p><h3><strong>Spotify&#8217;s Synthetic Queries</strong></h3><p><strong>How</strong>:</p><ol><li><p><strong>Query Generation</strong>: Doc2query-T5 produces multiple search-like queries per playlist (e.g., "upbeat workout songs") through beam search with length normalization.</p></li><li><p><strong>LLM Filtering</strong>: GPT-4 evaluates query-playlist relevance using chain-of-thought prompting ("Analyze the relationship between the query and playlist themes").</p></li></ol><p><strong>Why It Works</strong>: Synthetic queries expand coverage for long-tail content, while LLM filtering ensures training data quality. The combination mimics human search behavior.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!qGfX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!qGfX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg" width="1200" height="498" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:498,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Scaling Laws&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Scaling Laws" title="Scaling Laws" srcset="/__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!qGfX!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15112f35-4520-4a29-a364-dedbfc86ee10_1200x498.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>3. LLM for Scale on a budget</h2><p>LLM can improve the model performance while still within computational constraints for a recommender system. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!w9km!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!w9km!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg" width="1137" height="878" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:878,&quot;width&quot;:1137,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Self-auxiliary distillation&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Self-auxiliary distillation" title="Self-auxiliary distillation" srcset="/__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!w9km!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffdd73c54-c5e6-4286-b1b2-3ad7ad90d540_1137x878.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2><strong>Parameter-Efficient Designs</strong></h2><p><strong>Key Strategies</strong>:</p><ol><li><p><strong>Cluster-Based Compression</strong>: M3CSR&#8217;s 1,000 clusters reduce embedding dimensions while preserving neighborhood relationships.</p></li><li><p><strong>Quantization</strong>: Semantic IDs&#8217; 8-layer hierarchy achieves near-lossless compression through residual error correction.</p></li><li><p><strong>Distillation</strong>: DLLM2Rec&#8217;s importance sampling focuses training on predictions where the teacher model shows high confidence, improving sample efficiency.</p></li></ol><p><strong>Why It Works</strong>: These methods maintain model accuracy while drastically reducing memory and compute requirements, enabling deployment on edge devices.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!5rV0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!5rV0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg" width="811" height="604" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/abb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:604,&quot;width&quot;:811,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Bridging the gap&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Bridging the gap" title="Bridging the gap" srcset="/__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!5rV0!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabb6a396-2a44-4572-a5dc-c74fed659dcf_811x604.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2><strong>Transfer Learning Paradigms</strong></h2><p><strong>CALRec&#8217;s Approach</strong>:</p><ol><li><p><strong>General Pretraining</strong>: Exposes the model to diverse interaction patterns across 15 categories.</p></li><li><p><strong>Category Adaptation</strong>: Contrastive finetuning sharpens distinctions between similar items (e.g., different smartphone models).</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!PGTJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!PGTJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg" width="1200" height="558" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:558,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;DLLM2Rec&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="DLLM2Rec" title="DLLM2Rec" srcset="/__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!PGTJ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00e4e2f1-0f3f-41ea-b822-07294d2b76fd_1200x558.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why It Works</strong>: The initial phase learns universal recommendation principles, while specialization adapts to category-specific nuances.</p><h2>4. LLM as Recsys</h2><p>Breaking down silos between search and recommendation systems with LLMs can provide step-function breakthroughs and improve the overall user experience in search and recommendations significantly.</p><h3><strong>Flan-T5 Adaptation</strong></h3><p><strong>How</strong>:</p><ol><li><p><strong>Vocabulary Extension</strong>: Adds item IDs as special tokens initialized via average pooling of existing embeddings.</p></li><li><p><strong>Multi-Task Training</strong>: Alternates between search queries ("Find jazz playlists") and recommendation prompts ("Suggest similar to [item]") within each batch.</p></li></ol><p><strong>Why It Works</strong>: Shared parameters enable knowledge transfer - understanding "jazz" in searches improves music recommendations.</p><h3><strong>Hybrid Retrieval Strategies</strong></h3><p><strong>Spotify&#8217;s System</strong>:</p><ol><li><p><strong>Direct Matching</strong>: BM25 retrieves items with exact title/artist matches.</p></li><li><p><strong>Exploratory Generation</strong>: LLMs produce conceptual queries ("study focus music") that surface less obvious candidates.</p></li><li><p><strong>Ranking Fusion</strong>: Combines scores from both paths using learnable weights adjusted by user engagement history.</p></li></ol><p><strong>Why It Works</strong>: The hybrid approach satisfies both explicit search intent and discovery needs, increasing session depth.</p><h3>Libraries</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!h3gQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 424w, /__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 848w, /__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 1272w, /__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!h3gQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png" width="284" height="117.4524400330852" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df5e5745-9217-4deb-b168-93af32a3f610_1209x500.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:1209,&quot;resizeWidth&quot;:284,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 424w, /__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 848w, /__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 1272w, /__u/substackcdn.com/image/fetch/$s_!h3gQ!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf5e5745-9217-4deb-b168-93af32a3f610_1209x500.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/allenai/OLMoE">OLMOE</a>: Open Mixture-of-Experts Language Models is a fully open, state-of-the-art Mixture of Expert model with 1.3 billion active and 6.9 billion total parameters. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!JaH5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!JaH5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg" width="1299" height="526" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:526,&quot;width&quot;:1299,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!JaH5!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd844d0d4-2528-45d7-9300-8d36d17b1793_1299x526.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>All data, code, and logs released.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Pyiq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 424w, /__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 848w, /__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Pyiq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png" width="1456" height="464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:464,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:152509,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://mlops.substack.com/i/161260400?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 424w, /__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 848w, /__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Pyiq!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95017d79-def6-4ad3-8c0d-e494eeddbebe_1812x578.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><a href="https://github.com/tue-mps/eomt">Encoder-only Mask Transformer (EoMT)</a>, a minimalist image segmentation model that repurposes a plain Vision Transformer (ViT) to jointly encode image patches and segmentation queries as tokens. No adapters. No decoders. Just the ViT.</p><p>Leveraging large-scale pre-trained ViTs, EoMT achieves accuracy similar to state-of-the-art methods that rely on complex, task-specific components. At the same time, it is significantly faster thanks to its simplicity, for example up to 4&#215; faster with ViT-L.</p><p>Turns out, <em>your ViT is secretly an image segmentation model</em>. EoMT shows that architectural complexity isn&#8217;t necessary, plain Transformer power is all you need.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!jlRW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 424w, /__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 848w, /__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!jlRW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png" width="1456" height="646" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:646,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Schema representing the structure of Moshi. Moshi models two streams of audio:\n    one corresponds to Moshi, and the other one to the user. At inference, the audio stream of the user is taken from the audio input, and the audio stream for Moshi is sampled from the model's output. Along that, Moshi predicts text tokens corresponding to its own speech for improved accuracy. A small Depth Transformer models inter codebook dependencies for a given step.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Schema representing the structure of Moshi. Moshi models two streams of audio:
    one corresponds to Moshi, and the other one to the user. At inference, the audio stream of the user is taken from the audio input, and the audio stream for Moshi is sampled from the model's output. Along that, Moshi predicts text tokens corresponding to its own speech for improved accuracy. A small Depth Transformer models inter codebook dependencies for a given step." title="Schema representing the structure of Moshi. Moshi models two streams of audio:
    one corresponds to Moshi, and the other one to the user. At inference, the audio stream of the user is taken from the audio input, and the audio stream for Moshi is sampled from the model's output. Along that, Moshi predicts text tokens corresponding to its own speech for improved accuracy. A small Depth Transformer models inter codebook dependencies for a given step." srcset="/__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 424w, /__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 848w, /__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 1272w, /__u/substackcdn.com/image/fetch/$s_!jlRW!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5825fcac-5d24-4139-9580-4533accab1d9_3484x1546.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/kyutai-labs/moshi">Moshi</a> is a speech-text foundation model and <strong>full-duplex</strong> spoken dialogue framework. It uses <a href="https://arxiv.org/abs/2410.00037">Mimi</a>, a state-of-the-art streaming neural audio codec. Mimi processes 24 kHz audio, down to a 12.5 Hz representation with a bandwidth of 1.1 kbps, in a fully streaming manner (latency of 80ms, the frame size), yet performs better than existing, non-streaming, codecs like <a href="https://github.com/ZhangXInFD/SpeechTokenizer">SpeechTokenizer</a> (50 Hz, 4kbps), or <a href="https://github.com/haoheliu/SemantiCodec-inference">SemantiCodec</a> (50 Hz, 1.3kbps).</p><p>Moshi models <strong>two streams of audio</strong>: one corresponds to Moshi, and the other one to the user. At inference, the stream from the user is taken from the audio input, and the one for Moshi is sampled from the model's output. Along these two audio streams, Moshi predicts text tokens corresponding to its own speech, its <strong>inner monologue</strong>, which greatly improves the quality of its generation. A small Depth Transformer models inter codebook dependencies for a given time step, while a large, 7B parameter Temporal Transformer models the temporal dependencies. Moshi achieves a theoretical latency of 160ms (80ms for the frame size of Mimi + 80ms of acoustic delay), with a practical overall latency as low as 200ms on an L4 GPU.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!L6dw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 424w, /__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 848w, /__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 1272w, /__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_webp, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!L6dw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png" width="1456" height="322" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:322,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Refer to caption&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Refer to caption" title="Refer to caption" srcset="/__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_424, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 424w, /__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_848, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 848w, /__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_1272, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 1272w, /__u/substackcdn.com/image/fetch/$s_!L6dw!, /__u/mlops.substack.com/w_1456, /__u/mlops.substack.com/c_limit, /__u/mlops.substack.com/f_auto, /__u/mlops.substack.com/q_auto:good, /__u/mlops.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc77c010-b2b3-4edf-96ae-fb0feb43b7aa_1660x367.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><a href="https://github.com/maxencefaldor/learned-qd">Learned QD</a> contains the reference implementation for <strong><a href="https://arxiv.org/abs/2502.02190">Discovering Quality-Diversity Algorithms via Meta-Black-Box Optimization</a></strong><a href="https://arxiv.org/abs/2502.02190"> paper</a>, introducing Learned Quality-Diversity (LQD) a family of meta-optimized evolutionary algorithms designed to efficiently collect stepping stones for open-ended discovery. &#129489;&#8205;&#128300;</p><p>LQD introduces a novel approach to Quality-Diversity (QD) optimization by using meta-learning to discover sophisticated competition rules. Unlike traditional QD algorithms that rely on heuristic-based mechanisms (e.g., grid-based competition in MAP-Elites), LQD leverages attention-based neural architectures to parameterize and learn local competition strategies. These strategies are optimized across diverse black-box optimization tasks, resulting in algorithms that excel at balancing fitness, novelty, and diversity.</p><p>Key highlights:</p><ul><li><p>Outperforms or matches established baselines like MAP-Elites, Dominated Novelty Search, Novelty Search, and Genetic Algorithms.</p></li><li><p>Demonstrates strong generalization to higher dimensions, larger populations, and out-of-distribution domains like robot control.</p></li><li><p>Naturally maintains diverse populations, even when optimized solely for fitness, rediscovering diversity as a key to effective optimization.</p></li></ul><p></p><h3>Workshops</h3><p>Transformers have now been scaled to vast amounts of static data. This approach has been so successful it has forced the research community to ask, "What's next?". This workshop will bring together researchers thinking about questions related to the future of language models beyond the current standard model. <a href="https://simons.berkeley.edu/workshops/future-language-models-transformers#simons-tabs">The Future of Language Models and Transformers workshop</a> is meant to be exploratory and welcome to novel vectors in which new setups may arise, e.g. data efficiency, training paradigms, and architectures. Some of the workshop sessions are <a href="https://simons.berkeley.edu/workshops/future-language-models-transformers/videos#simons-tabs">recorded</a>.</p>]]></content:encoded></item></channel></rss>