llm-catalog-archive

Change

1fbab33

1fbab337f334a8d1cb33fd257b3f698005ac5307 · commit on GitHub

pytorch-blog-feed: changed (190284 bytes, HTTP 200)

raw/pytorch-blog-feed/response.xml modified

Lines added
+202
Lines removed
-201
Stored bytes at this commit
190,284
Timestamp
origin
Raw artifact at this commit
raw/pytorch-blog-feed/response.xml
Recorded headers
observed_at2026-12-02T21:33:31.800Z
origin_date2026-12-02T21:31:56.000Z
status200
final URLhttps://pytorch.org/blog/feed/
etag"d0d8a8f5fa2a36718597f72c9ef65ca4"
last-modifiedWed, 02 Dec 2026 19:17:45 GMT
dateWed, 02 Dec 2026 21:33:31 GMT
age95
cache-controlpublic, max-age=60, s-maxage=43200, stale-while-revalidate=86400, stale-if-error=604800
cf-cache-statusnull
content-encodingnull
content-length190284
@@@ -12,7 +12,7 @@
<atom:link href="https://pytorch.org/blog/feed/" rel="self" type="application/rss+xml" />
<link>https://pytorch.org/blog/</link>
<description></description>
- <lastBuildDate>Tue, 01 Dec 2026 09:38:41 +0000</lastBuildDate>
+ <lastBuildDate>Wed, 02 Dec 2026 19:17:45 +0000</lastBuildDate>
<language>en-US</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
@@@ -28,6 +28,205 @@
<height>32</height>
</image>
<item>
+ <title>TorchCodec 1.0: The Media Layer of PyTorch</title>
+ <link>https://pytorch.org/blog/torchcodec-1-0-the-media-layer-of-pytorch/</link>
+
+ <dc:creator><![CDATA[Nicolas Hug, Scott Schneider, Daniel Flores, Molly Xu, Ahmad Sharif]]></dc:creator>
+ <pubDate>Wed, 02 Dec 2026 19:17:45 +0000</pubDate>
+ <category><![CDATA[Blog]]></category>
+ <guid isPermaLink="false">https://pytorch.org/?p=216244</guid>
+
+ <description><![CDATA[<p>TorchCodec 1.0 is here!  TorchCodec started out as a video decoding library with a simple goal: efficiently turning encoded videos into RGB video frame tensors. Since then, it has grown...</p>
+<p>The post <a href="https://pytorch.org/blog/torchcodec-1-0-the-media-layer-of-pytorch/">TorchCodec 1.0: The Media Layer of PyTorch</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
+]]></description>
+ <content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-216245 size-full" src="https://pytorch.org/wp-content/uploads/2026/12/TorchCodec.png" alt="" width="2048" height="683" srcset="https://pytorch.org/wp-content/uploads/2026/12/TorchCodec.png 2…
+<p><a href="https://meta-pytorch.org/torchcodec/stable/index.html"><b>TorchCodec</b><span style="font-weight: 400;"> 1.0</span></a><span style="font-weight: 400;"> is here!  TorchCodec started out as a video decoding library with a simple goal: efficiently turning encoded videos into RGB video frame…
+<p><span style="font-weight: 400;">TorchCodec has been used in production for over two years, and it is a key part of many multimodal projects. </span><a href="https://huggingface.co/"><span style="font-weight: 400;">Hugging Face</span></a><span style="font-weight: 400;"> libraries like </span><a hr…
+<p><span style="font-weight: 400;">In this post, we&#8217;ll go over what TorchCodec does today. Then we&#8217;ll dive into the new low-level APIs available in 1.0, which unlock a whole set of new features and performance knobs, and show how a coding agent can auto-tune those knobs for your own work…
+<h2><span style="font-weight: 400;">What TorchCodec does: media decoding and encoding</span></h2>
+<p><span style="font-weight: 400;">TorchCodec is the media layer behind multimodal models, for both training and inference. It decodes videos, audio and images into PyTorch tensors. Those tensors are ready to be used with TorchVision or TorchAudio transforms, or fed directly to models. It can also e…
+<p><b>Video.</b> <a href="https://meta-pytorch.org/torchcodec/stable/generated/torchcodec.decoders.VideoDecoder.html"><code class="language-python">VideoDecoder</code></a><span style="font-weight: 400;"> reads videos from a file, from bytes, or from any file-like object, so you can </span><a href="h…
+<p><b>Audio.</b> <a href="https://meta-pytorch.org/torchcodec/stable/generated/torchcodec.decoders.AudioDecoder.html"><code class="language-python">AudioDecoder</code></a><span style="font-weight: 400;"> decodes audio from any format FFmpeg supports, including the audio track of video files. It can …
+<p><span style="font-weight: 400;"><code>VideoDecoder</code> and <code>AudioDecoder</code></span><span style="font-weight: 400;"> aren&#8217;t the only way to decode video and audio: when you need more control or more performance, the new low-level APIs let you build your own decoding pipelines. Mor…
+<p><b>Images.</b> <a href="https://meta-pytorch.org/torchcodec/stable/generated/torchcodec.decoders.decode_image.html"><code>decode_image</code></a><span style="font-weight: 400;"> detects the format and decodes JPEG, PNG, WebP, GIF, AVIF and HEIC. JPEGs can be decoded on GPU with nvJPEG. On data-ce…
+<p><b>Encoding.</b><span style="font-weight: 400;"> The </span><a href="https://meta-pytorch.org/torchcodec/stable/generated/torchcodec.encoders.Encoder.html"><code class="language-python">Encoder</code></a><span style="font-weight: 400;"> turns video frame and audio sample tensors into encoded medi…
+<p><b>Installation.</b> <span style="font-weight: 400;"><code>pip install torchcodec</code></span><span style="font-weight: 400;"> works on Linux (x86 and aarch64), macOS and Windows, and the Linux wheels come with CUDA support out of the box. TorchCodec uses the FFmpeg you already have on your syst…
+<h2>The new low-level APIs: build and auto-tune your decoding pipelines</h2>
+<p>The biggest addition of the last few releases is a new set of low-level decoding APIs for video and audio. They give you control over every step of the decoding process, which enables new features and performance knobs that weren&#8217;t available before: multi-threaded and multi-process pipeline…
+<p>Under the hood, decoding happens in three separate stages: <strong>demuxing</strong> reads compressed packets out of the container (e.g. an MP4 file), <strong>decoding</strong> decompresses packets into raw frames (often in YUV color space), and <strong>conversion</strong> turns those raw frames …
+<pre><code>Stage: Demuxer -&gt; VideoPacketDecoder -&gt; ColorConverter
+Produces: Packets RawFrames RGB Frames
+
+Stage: Demuxer -&gt; AudioPacketDecoder -&gt; AudioConverter
+Produces: Packets RawAudioSamples AudioSamples</code></pre>
+<p><span style="font-weight: 400;">Here&#8217;s what a video pipeline looks like:</span></p>
+<pre><code class="language-python">from torchcodec.decoders import ColorConverter, Demuxer, VideoPacketDecoder
+
+demuxer = Demuxer("video.mp4", streams="video")
+video_stream = demuxer.streams[0]
+decoder = VideoPacketDecoder(video_stream.codec_parameters, device="cuda")
+converter = ColorConverter(device="cuda")
+
+# Each of these three stages can run on its own thread:
+for packet in demuxer: # demuxing, on CPU
+ for raw_frame in decoder.decode(packet): # decoding, on GPU
+ frame = converter.convert(raw_frame) # color conversion, on GPU</code></pre>
+<p>This is more verbose than <code class="language-python">VideoDecoder("video.mp4", device="cuda")</code>, but you now have fine-grained control over where and how each stage happens. That unlocks a lot of things the high-level decoders can&#8217;t do:</p>
+<ul>
+<li><strong>Multi-threaded and multi-process pipelines.</strong> Every stage releases the GIL, so you can demux, decode and convert on separate threads, and they truly run in parallel. On CPU, overlapping decoding with color conversion is often <a href="https://meta-pytorch.org/torchcodec/stable/gen…
+<li><strong>Raw YUV data.</strong> You can stop after decoding and access the frames&#8217; YUV planes, with no conversion and no copy. 10-bit HDR content comes out as <code class="language-python">uint16</code> with every bit intact. This allows you to <a href="https://meta-pytorch.org/torchcodec/s…
+<li><strong>Multi-stream decoding.</strong> One <code class="language-python">Demuxer</code> can follow several streams at once, e.g. video and audio, so you can decode both in a single pass over the file.</li>
+<li><strong>Decoding without a demuxer.</strong> A <code class="language-python">VideoPacketDecoder</code> only needs codec parameters and packets, and you can build both yourself. That means you can <a href="https://meta-pytorch.org/torchcodec/stable/generated_examples/low_level/demuxer_free.html">…
+<li><strong>Live streams.</strong> The <code class="language-python">Demuxer</code> can read from sources that have no duration and no end, like pipes or live streams.</li>
+<li><strong>Key frames.</strong> A scan gives you the exact positions of key frames, which are the cheapest frames you can decode. Use those when you just need a few sampled frames for training!</li>
+</ul>
+<h3><span style="font-weight: 400;">Auto-tuning your pipeline with an agent</span></h3>
+<p><span style="font-weight: 400;">All the knobs above are knobs that a coding agent can auto-tune for you. On the plots below, we had an agent write a video decoding pipeline from scratch and hill-climb its throughput: with the low-level APIs, it ended up 1.4-1.9x faster than a simple baseline, and…
+<p><img decoding="async" class="aligncenter wp-image-216290 size-full" src="https://pytorch.org/wp-content/uploads/2026/12/1-1.png" alt="" width="2048" height="655" srcset="https://pytorch.org/wp-content/uploads/2026/12/1-1.png 2048w, https://pytorch.org/wp-content/uploads/2026/12/1-1-300x96.png 300…
+<p><span style="font-weight: 400;">The best knobs will be different on your setup, so we encourage you to hill-climb your own! Read more about our experiments and the knobs the agent found in our </span><a href="https://meta-pytorch.org/torchcodec/stable/generated_examples/low_level/hill_climbing.ht…
+<h2><span style="font-weight: 400;">Thank you</span></h2>
+<p><span style="font-weight: 400;">TorchCodec wouldn&#8217;t be where it is without our users and contributors: thank you for the bug reports, the feature requests, the pull requests, and for trusting TorchCodec with your data pipelines!</span></p>
+<p><span style="font-weight: 400;">To get started, check out our </span><a href="https://meta-pytorch.org/torchcodec"><span style="font-weight: 400;">documentation</span></a><span style="font-weight: 400;">, and if you&#8217;re still using the decoding or encoding APIs from TorchVision or TorchAudio…
+<p>&nbsp;</p>
+<p>The post <a href="https://pytorch.org/blog/torchcodec-1-0-the-media-layer-of-pytorch/">TorchCodec 1.0: The Media Layer of PyTorch</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
+]]></content:encoded>
+
+
+
+ </item>
+ <item>
+ <title>TorchTLX</title>
+ <link>https://pytorch.org/blog/torchtlx/</link>
+
+ <dc:creator><![CDATA[Meta Contributors: Daohang Shi, Hongtao Yu, Doris Xiang, Lei Wang, Peng Chen, Marvin Fan, Jason Lu, Alexey Loginov; AMD Contributors: Nithin Meganathan, Bangtian Liu, Ivan Butygin, Stanley Winata, Lei Zhang]]></dc:creator>
+ <pubDate>Tue, 01 Dec 2026 16:45:17 +0000</pubDate>
+ <category><![CDATA[Blog]]></category>
+ <guid isPermaLink="false">https://pytorch.org/?p=215714</guid>
+
+ <description><![CDATA[<p>TL;DR TorchTLX brings architecture-specific TLX kernels and richer fusion capabilities into TorchInductor across NVIDIA (Hopper/Blackwell) and AMD (Instinct MI300X/MI350X/MI450X) GPUs. Integration: TorchTLX extends TorchInductor&#8217;s kernel selection and fusion capab…
+<p>The post <a href="https://pytorch.org/blog/torchtlx/">TorchTLX</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
+]]></description>
+ <content:encoded><![CDATA[<h2>TL;DR</h2>
+<ul>
+<li>TorchTLX brings architecture-specific <a href="https://engineering.fb.com/2026/11/10/open-source/tlx-a-hardware-native-gpu-compiler-for-production-ml/">TLX</a> kernels and richer fusion capabilities into TorchInductor across NVIDIA (Hopper/Blackwell) and AMD (Instinct MI300X/MI350X/MI450X) GPUs.
+<ul>
+<li>Integration: TorchTLX extends TorchInductor&#8217;s kernel selection and fusion capabilities, providing a faster path to leverage new GPU capabilities in torch.compile;</li>
+<li>Benchmarking: The presented benchmarks show up to 1.2x speedups from architecture-specific GEMM and attention templates and up to 1.5x from richer fusion;</li>
+<li>Scalability: Reusable templates and fusion mechanisms extend optimizations across workloads and accelerate next-gen GPU bring-up.</li>
+</ul>
+</li>
+</ul>
+<h2>Why TorchTLX</h2>
+<p><!-- IMAGE PLACEHOLDER: image1 - Figure-1 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig01_why_torchtlx.svg"><img decoding="async" class="alignnone size-full wp-image-215718" src="https://pytorch.org/wp-content/uploads/2026/11/fig01_why_torchtlx.svg" alt="" /></a></em></p>
+<p><em>Figure-1: why TorchTLX?</em></p>
+<p>Getting the most out of modern GPUs increasingly requires architecture-specific execution strategies. TLX lets us quickly expose new hardware capabilities and optimize specialized kernels, but incorporating those optimizations into PT2 requires deeper integration with TorchInductor.</p>
+<p>PT2 has traditionally focused on graph-level optimization while relying on Triton to provide competitive kernels underneath. As we push further on performance, the default kernel performance is no longer always enough. TLX, as a low-level extension of Triton, gives us a way to introduce architect…
+<p>TorchTLX explores this middle ground: keeping most of PT2 hardware-agnostic while allowing performance-critical GEMM kernels and surrounding fusion patterns to specialize for each GPU architecture. It not only integrates architecture-specific TLX kernels as Inductor templates, but also extends fu…
+<h2>Where TorchTLX Fits</h2>
+<h3>Topic 1. Hardware-specific vs Hardware-agnostic</h3>
+<p><em>Where should specialization live?</em></p>
+<p>We believe PT2 should remain hardware-agnostic where it can, but high-performance GPU execution cannot be hardware-agnostic everywhere. Our design philosophy for TorchTLX is therefore to <strong>keep hardware specialization within a relatively narrow boundary behind ML compiler abstractions</stro…
+<ul>
+<li>Graph capture, most optimizations, and most scheduling stay in PT2/Inductor.</li>
+<li>Performance-critical kernels, template hooks, and selected fusion/scheduling decisions can specialize for Nvidia Hopper and Blackwell, AMD MI300x and MI350x, and future architectures.</li>
+</ul>
+<h3>Topic 2. TorchTLX vs Triton Compiler</h3>
+<p><em>Why do we need a specialization path?</em></p>
+<p>TorchTLX and the Triton compiler operate at different points in the optimization cycle. Architecture-specific capabilities are not always immediately available through the generic Triton compiler path.</p>
+<ul>
+<li>TLX gives kernel authors a fast path to use those capabilities directly.</li>
+<li>TorchTLX brings the same idea into PT2 so PyTorch users can benefit from them at the model level.</li>
+</ul>
+<p>TorchTLX both accelerates adoption of new hardware capabilities and provides a lasting home for optimizations that are better expressed through specialized templates.</p>
+<h3>Topic 3. Agentic Kernel Optimization vs ML Compiler Optimization</h3>
+<p><em>How do we discover and scale optimizations?</em></p>
+<p>Agentic kernel authoring is increasingly effective at optimizing a specific model or workload, especially when that workload justifies substantial optimization resources. But optimizing individual instances and building a scalable software stack are different problems. <strong>At a high level, th…
+<p>We see the two as complementary: agents are well suited for exploring specific optimization opportunities, while reusable kernels and compiler mechanisms generalize recurring discoveries across workloads.</p>
+<p><strong>The right level of generalization is ultimately an ROI-driven decision.</strong> It depends on the expected performance value and workload coverage relative to the engineering, validation, and maintenance costs. The goal is not to generalize every optimization, but to maximize its impact …
+<h2>How to Get Started</h2>
+<p>TorchTLX lives in <a href="https://pytorch.org/blog/fbtriton-infra-upstream-ingestion-hierarchical-validation-ideals-vs-realities/">fbtriton</a>. It works through your existing torch.compile calls, so your model code does not change. Set <code>TORCHINDUCTOR_TLX_MODE=allow</code> to let TLX templa…
+<p>Contributors can check correctness with the <a href="https://github.com/facebookexperimental/triton/tree/main/python/test/unit/language">L1 tests</a> (<code>test_torchtlx_*.py</code>) and measure performance with the L2 <a href="https://github.com/facebookexperimental/triton/tree/main/python/test…
+<h2>Integration with Inductor</h2>
+<p>Architecture-specific kernels, template selection, fusion, scheduling, and code generation are introduced through Inductor extension points and FBTriton integration hooks, while graph capture and the overall compilation pipeline remain unchanged.</p>
+<p><!-- IMAGE PLACEHOLDER: image2 - Figure-2 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig02_flow_structure.svg"><img decoding="async" class="alignnone size-full wp-image-215719" src="https://pytorch.org/wp-content/uploads/2026/11/fig02_flow_structure.svg" alt="" /></a></em></p>
+<p><em>Figure-2: Integration with Inductor</em></p>
+<h2>TorchTLX Templates</h2>
+<p>TorchTLX integrates architecture-specific TLX kernels into TorchInductor through Jinja templates. In &#8220;allow&#8221; mode, eligible templates compete with ATen (cuBLAS/hipBLASLt) and stock Triton candidates. Eligibility is gated by architecture, dtype, layout, alignment, and shape.</p>
+<p>TorchTLX covers GEMM (mm/addmm/bmm) and FlexAttention (forward/backward) across NVIDIA Hopper/Blackwell and AMD MI300x/MI350x, with architecture-dependent specialization.</p>
+<p>Templates bring architecture-specific algorithms and configurations into Inductor through shape heuristics, autotuning, and offline-tuned parameters. For example, the Hopper FlexAttention backward template (<a href="https://github.com/facebookexperimental/triton/pull/4349">#4349</a>) combines dK/…
+<p>TorchTLX also extends to next-generation GPUs such as AMD MI450x. Its architecture-specific TLX FlashAttention kernel (<a href="https://github.com/facebookexperimental/triton/pull/4771">#4771</a>) is integrated into TorchInductor through the existing FlexAttention template hooks (<a href="https:/…
+<p><!-- IMAGE PLACEHOLDER: image3 - Figure-3 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig03_template_performance.svg"><img decoding="async" class="alignnone size-full wp-image-215720" src="https://pytorch.org/wp-content/uploads/2026/11/fig03_template_performance.svg" alt="" /></a></em></p>
+<p><em>Figure-3: template performance</em></p>
+<h2>TorchTLX Fusions</h2>
+<p>TLX template integration is just the starting point. The larger opportunity comes from extending Inductor fusion to better exploit architecture-specific execution, scheduling, and on-chip data reuse.</p>
+<p>TorchTLX extends fusion at several levels: from standard pointwise epilogue fusion to architecture-aware store fusion, schedule-aware fusion, cross-phase on-chip retention, and reduction-aware computation. The following subsections walk through these mechanisms and how the compiler selects them s…
+<h3>Epilogue Fusion with Arch-specific Store</h3>
+<p>When a TorchTLX template writes through <code>tl.store</code>, downstream pointwise operations can be fused through Inductor&#8217;s existing <code>store_output</code> path out of the box.</p>
+<p>TorchTLX extends Inductor&#8217;s code generation with a <code>compute_epilogue</code> hook, allowing Inductor to generate fused epilogue computation while the TLX template retains control of SMEM staging, synchronization, and asynchronous stores.</p>
+<p><!-- IMAGE PLACEHOLDER: image4 - Figure-4 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig04_blackwell_epilogue_timeline.svg"><img decoding="async" class="alignnone size-full wp-image-215721" src="https://pytorch.org/wp-content/uploads/2026/11/fig04_blackwell_epilogue_timeline.svg" alt="" /></a></em></p>
+<p><em>Figure-4: Blackwell GEMM epilogue timeline and generated code</em></p>
+<p>The figure illustrates <code>relu(a @ b + bias)</code> on Blackwell. After loading each accumulator subtile from TMEM into registers, the epilogue warps signal that the corresponding TMEM storage can be reused. Inductor-generated code computes bias addition and ReLU, while the TLX template stages…
+<p>The key is to separate ownership of the fused computation from ownership of the hardware-specific execution pipeline, enabling richer fusion without sacrificing architecture-specific scheduling and data movement.</p>
+<h3>Schedule-aware Fusion</h3>
+<p>Fusion doesn&#8217;t have to happen only after GEMM finishes. For example, <a href="https://github.com/facebookexperimental/triton/pull/3855">#3855</a> adds an optional pre-drain prefetch hook to the MI350x warp-pipelined GEMM TLX template. It moves an accumulator-independent epilogue operand loa…
+<p><!-- IMAGE PLACEHOLDER: image5 - Figure-5 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig05_mi350_predrain_prefetch.svg"><img decoding="async" class="alignnone size-full wp-image-215722" src="https://pytorch.org/wp-content/uploads/2026/11/fig05_mi350_predrain_prefetch.svg" alt="" /></a></em></p>
+<p><em>Figure-5: Pre-drain epilogue prefetch on MI350x</em></p>
+<p>This shows that compiler-visible fusion can shape scheduling inside an architecture-specific kernel, not just append computation to its output.</p>
+<h3>Cross-phase On-chip Retention</h3>
+<p>Fusion can also cross reduction phases. In the double-LayerNorm pattern below, the intermediate z is consumed by the second LayerNorm both before and after its row reduction.</p>
+<pre><code class="language-python">z = residual + layer_norm(x, ...)
+return z * sigmoid(layer_norm(z, ...))
+</code></pre>
+<p>TorchTLX can retain z in on-chip storage (AMD LDS <a href="https://github.com/facebookexperimental/triton/pull/3526">#3526</a> or NVIDIA SMEM <a href="https://github.com/facebookexperimental/triton/pull/3592">#3592</a>) across that reduction instead of writing it to HBM and loading it back.</p>
+<p>By turning <code>producer =&gt; HBM store =&gt; reduction =&gt; HBM load =&gt; consumer</code> to <code>producer =&gt; SMEM/LDS store =&gt; reduction =&gt; CTA-level synchronization =&gt; SMEM/LDS load =&gt; consumer</code>, TorchTLX can retain data across a compiler-visible phase boundary rather…
+<p><!-- IMAGE PLACEHOLDER: image6 - Figure-6 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig06_h100_smem_retention.svg"><img decoding="async" class="alignnone size-full wp-image-215723" src="https://pytorch.org/wp-content/uploads/2026/11/fig06_h100_smem_retention.svg" alt="" /></a></em></p>
+<p><em>Figure-6: Cross-phase SMEM retention on H100</em></p>
+<p>For the illustrated H100 workload, retaining z in SMEM eliminates its 12 MiB global-memory write and subsequent 12 MiB read, reducing kernel time from 48.6 μs to 36.5 μs (1.33x speedup). The retained kernel competes with the original implementation through Inductor&#8217;s MultiKernel selection.<…
+<p>This extends compiler-level fusion beyond individual operations to data lifetime management across execution phases, allowing intermediate values to remain on-chip when profitable.</p>
+<h3>From Pattern-specific Prototypes to Generic Reduction</h3>
+<p>TorchTLX also supports a pattern-specific path by replacing a subgraph with a semantic custom op and lowering it to TLX subgraph templates. We limit this path to prototyping new fusion ideas, opportunity sizing, or occasionally filling gaps that are difficult to express through the generic fusion…
+<p>For example, <a href="https://github.com/facebookexperimental/triton/pull/3752">#3752</a> used this approach to explore addmm+LayerNorm/RMSNorm on MI350x, computing partial normalization statistics in the GEMM epilogue while the accumulators were still live. The prototype achieved up to ~1.17× sp…
+<p><a href="https://github.com/facebookexperimental/triton/pull/4036">#4036</a> then generalized this approach by recognizing GEMM outputs consumed by full-row sum or Welford reductions directly from Inductor Loop IR. Instead of relying on semantic custom ops, regular GEMM TLX templates use opt-in e…
+<p>This progression illustrates how pattern-specific exploration can lead to reusable compiler-level fusion mechanisms.</p>
+<p><!-- IMAGE PLACEHOLDER: image7 - Figure-7 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig07_reduction_aware_epilogue.svg"><img decoding="async" class="alignnone size-full wp-image-215724" src="https://pytorch.org/wp-content/uploads/2026/11/fig07_reduction_aware_epilogue.svg" alt="" /></a></em></p>
+<p><em>Figure-7: Reduction-aware GEMM epilogue: row statistics during GEMM execution</em></p>
+<h3>Fusion-aware Selection and Safe Fallback</h3>
+<p>Making fusion available is only the first step. The compiler must also determine when fusion is profitable and safe.</p>
+<p>A specialized GEMM may lose to a vendor library in isolation but win once surrounding operations are fused into its epilogue. On MI300x, TorchTLX enables fusion-aware selection in allow mode without requiring <code>max_autotune</code>, comparing fused execution against the unfused alternative. Fo…
+<p>For unfused GEMMs, isolated autotuning can misrank closely competing candidates due to cache effects. TorchTLX re-benchmarks the leading TLX kernel against the vendor-library GEMM under warm-cache conditions, selecting TLX only with at least a 3% speedup. This check applies only to unfused GEMMs:…
+<p>Fusion must also respect intermediate tensor lifetimes. On Blackwell and Hopper, TorchTLX rejects fusion into warp-specialized GEMMs when their asynchronous store path would leave an intermediate tensor unmaterialized despite remaining live outside the fused group (<a href="https://github.com/fac…
+<p><!-- IMAGE PLACEHOLDER: image8 - Figure-8 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig08_fusion_aware_selection.svg"><img decoding="async" class="alignnone size-full wp-image-215725" src="https://pytorch.org/wp-content/uploads/2026/11/fig08_fusion_aware_selection.svg" alt="" /></a></em></p>
+<p><em>Figure-8: Fusion-aware selection and safe fallback</em></p>
+<p><!-- IMAGE PLACEHOLDER: image9 - Figure-9 --></p>
+<p><em><a href="https://pytorch.org/wp-content/uploads/2026/11/fig09_fusion_results.svg"><img decoding="async" class="alignnone size-full wp-image-215726" src="https://pytorch.org/wp-content/uploads/2026/11/fig09_fusion_results.svg" alt="" /></a></em></p>
+<p><em>Figure-9: Fusion performance of demonstrated examples</em></p>
+<h2>Conclusion</h2>
+<p>TorchTLX brings architecture-specific TLX kernels and the fusion around them into TorchInductor, and the rest of PT2 stays hardware-agnostic. With it, new GPU capabilities reach torch.compile users quickly, and optimizations that recur across workloads become reusable compiler mechanisms instead …
+<h2>Appendix: Performance Disclosure</h2>
+<p>Performance results were collected at various stages of TorchTLX development using development builds of PyTorch and Triton/TLX. The following configurations reflect representative hardware settings and TLX.ops reference software versions as of November 30, 2026, rather than the exact historical …
+<ul>
+<li><strong>NVIDIA B200:</strong> CUDA 13.0, cuBLAS/cuBLASLt 13.1.1.3, 750 W power limit, maximum GPU core clock.</li>
+<li><strong>NVIDIA H100:</strong> CUDA 13.0, cuBLAS/cuBLASLt 13.1.1.3, 700 W power limit, maximum GPU core clock.</li>
+<li><strong>AMD Instinct MI350X:</strong> ROCm 7.2, hipBLASLt 1.2.2, 1000 W power limit, 2100 MHz GPU core clock.</li>
+<li><strong>AMD Instinct MI300X:</strong> ROCm 7.2, hipBLASLt 1.2.2, 750 W power limit, 2100 MHz GPU core clock.</li>
+</ul>
+<p>The benchmark harness targets the above clock and power settings where supported and permitted. Benchmark scripts, workload shapes, reference implementations, and compiler configurations are available in the <a href="https://github.com/facebookexperimental/triton/tree/main">TLX repository</a>.</p…
+<p>Unless otherwise specified, aggregate speedups represent the geometric mean of per-shape speedups, and &#8220;up to&#8221; speedups represent the maximum observed single-shape speedup. Performance may vary with hardware configurations, software versions, compiler configurations, and workload char…
+<p>The post <a href="https://pytorch.org/blog/torchtlx/">TorchTLX</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
+]]></content:encoded>
+
+
+
+ </item>
+ <item>
<title>TLX.ops: Bridging Kernel Research and Real-World Performance</title>
<link>https://pytorch.org/blog/tlx-ops-bridging-kernel-research-and-real-world-performance/</link>
@@@ -203,7 +402,7 @@ split_time = (
<h4>Architectural Overview</h4>
<p>On the general path, each CTA owns <code>BM</code> rows and a <code>BN = next_power_of_2(N)</code> feature tile. Coalesced loads bring the input into registers, where FP32 reductions compute the mean, centered variance and reciprocal standard deviation. The same row values then feed normalization…
<p><!-- IMAGE PLACEHOLDER: image8 - Figure-8 --></p>
-<p><em><img fetchpriority="high" decoding="async" class="alignnone wp-image-215705 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/fig08_blackwell_layernorm_overview.png" alt="" width="1800" height="650" srcset="https://pytorch.org/wp-content/uploads/2026/11/fig08_blackwell_layernorm_…
+<p><em><img decoding="async" class="alignnone wp-image-215705 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/fig08_blackwell_layernorm_overview.png" alt="" width="1800" height="650" srcset="https://pytorch.org/wp-content/uploads/2026/11/fig08_blackwell_layernorm_overview.png 1800w, h…
<p><em>Figure-8: Architectural overview of the general register path and the N = 384 TMA path</em></p>
<h4>Row Ownership and Deterministic Backward Reduction</h4>
<p>The <code>_geometry</code> heuristic chooses how many threads share a row (<code>TPR</code>), how many warps run in a CTA (<code>NW</code>) and how many contiguous elements each thread loads (<code>V</code>, at most four). The <code>pin</code> helper anchors each load to a <code>tlx.layout</code>…
@@@ -1118,206 +1317,8 @@ for model in models:
- </item>
- <item>
- <title>Training a 1T-Parameter MoE on EU public infrastructure with PyTorch and TorchTitan</title>
- <link>https://pytorch.org/blog/training-a-1t-parameter-moe-on-eu-public-infrastructure-with-pytorch-and-torchtitan/</link>
-
- <dc:creator><![CDATA[The EUROPA consortium (Domyn, Fraunhofer IAIS and IIS)]]></dc:creator>
- <pubDate>Thu, 12 Nov 2026 12:00:19 +0000</pubDate>
- <category><![CDATA[Blog]]></category>
- <guid isPermaLink="false">https://pytorch.org/?p=210684</guid>
-
- <description><![CDATA[<p>TL;DR Scaling pretraining for a ~1-trillion-parameter Mixture-of-Experts (MoE) model on shared, public infrastructure was previously considered unfeasible due to unique architectural and interconnect bottlenecks. However, by leveraging the fine-grained flexibility...</p…
-<p>The post <a href="https://pytorch.org/blog/training-a-1t-parameter-moe-on-eu-public-infrastructure-with-pytorch-and-torchtitan/">Training a 1T-Parameter MoE on EU public infrastructure with PyTorch and TorchTitan</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
-]]></description>
- <content:encoded><![CDATA[<p><strong>TL;DR</strong></p>
-<p>Scaling pretraining for a ~1-trillion-parameter Mixture-of-Experts (MoE) model on shared, public infrastructure was previously considered unfeasible due to unique architectural and interconnect bottlenecks. However, by leveraging the fine-grained flexibility of PyTorch and TorchTitan, the EUROPA …
-<p>The <a href="https://digital-strategy.ec.europa.eu/en/funding/turning-strategy-action-commission-launches-frontier-ai-grand-challenge">EuroHPC Frontier AI Grand Challenge</a> was designed to prove that sovereign, open-source AI could compete at frontier levels using shared public resources. As pa…
-<p>In this post, we describe how we scaled pretraining to 1T MoE on <a href="https://apps.fz-juelich.de/jsc/hps/jupiter/configuration.html">JUPITER</a>, the EuroHPC exascale supercomputer hosted at Forschungszentrum Jülich, proving that public infrastructure can indeed sustain frontier scale.</p>
-<table>
-<tbody>
-<tr>
-<td>Total parameters</td>
-<td>951.9B (32.8B active per token)</td>
-</tr>
-<tr>
-<td>Layers</td>
-<td>74</td>
-</tr>
-<tr>
-<td>Hidden size</td>
-<td>6,144</td>
-</tr>
-<tr>
-<td>Experts</td>
-<td>384 routed, top-8</td>
-</tr>
-<tr>
-<td>Expert hidden size</td>
-<td>1,792</td>
-</tr>
-<tr>
-<td>Vocabulary</td>
-<td>256,000</td>
-</tr>
-<tr>
-<td>Pretrain Sequence length</td>
-<td>65,536 tokens</td>
-</tr>
-<tr>
-<td>Optimizer</td>
-<td>Muon + AdamW</td>
-</tr>
-</tbody>
-</table>
-<p><em>The table lists the configuration used for the experiments in the post.</em></p>
-<p>Models of this size are usually trained on clusters that their developers operate or rent for exclusive use. JUPITER is instead publicly funded research infrastructure shared by hundreds of projects. It was also designed to support scientific research at large, which led to architectural choices …
-<p>In order to have access to the necessary level of flexibility to perform fine-grained optimizations to the pre-training setup, we chose to go with <a href="https://pytorch.org">PyTorch</a> and <a href="https://github.com/pytorch/torchtitan">TorchTitan</a>. Under these conditions, we raised throug…
-<ol>
-<li>FlexShard placement for the Muon optimizer, which removes most of the optimizer’s communication.</li>
-<li>Activation-checkpoint offloading to the Grace CPU.</li>
-<li>Running FSDP’s all-gather setup on the compute stream (<code>unshard_async_op</code>), which frees ~14 GiB of HBM per GPU.</li>
-</ol>
-<p>The <a href="https://www.domyn.com/blog/training-1t-moe-eu-public-infrastructure-pytorch">full write-up</a> covers the remaining changes in detail, with interactive figures and profiler traces.</p>
-<p><!-- IMAGE PLACEHOLDER: Figure 1 – throughput per cumulative change (re-upload via Media Library) --></p>
-<p><em><img decoding="async" class="alignnone wp-image-210745 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/IMG_8916-scaled.png" alt="" width="2560" height="1780" srcset="https://pytorch.org/wp-content/uploads/2026/11/IMG_8916-scaled.png 2560w, https://pytorch.org/wp-content/uploads…
-<h2>The machine and its constraints</h2>
-<p>Each JUPITER Booster node has four NVIDIA GH200 Grace Hopper Superchips. Each superchip pairs a Hopper GPU (96 GB HBM3) with a 72-core Grace CPU (120 GB LPDDR5X), connected by a 900 GB/s NVLink-C2C link. GPUs in a node are connected by NVLink 4 at 150 GB/s per direction, and each node has four In…
-<p><!-- IMAGE PLACEHOLDER: Figure 2 – bandwidths within a JUPITER node (re-upload via Media Library) --></p>
-<p><em><img decoding="async" class="alignnone wp-image-210692 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/gh200.png" alt="" width="2048" height="1544" srcset="https://pytorch.org/wp-content/uploads/2026/11/gh200.png 2048w, https://pytorch.org/wp-content/uploads/2026/11/gh200-300x2…
-<p><em>Figure 2. Bandwidths within a JUPITER node, drawn to scale. All inter-node traffic leaves through the thin InfiniBand links.</em></p>
-<p>In addition to the accelerators, two key parts of the system are also relevant for the design:</p>
-<ul>
-<li><strong>Inter-node bandwidth.</strong> InfiniBand is 36 times slower than the link between a GPU and its own CPU, and distributing a 1T parameter model over hundreds of accelerators requires crossing that boundary continuously during training. Traffic over InfiniBand must therefore aggressively …
-<li><strong>Host memory capacity.</strong> GH200 is available with up to 480 GB of LPDDR5X per Grace, but JUPITER’s compute nodes actually use the 120 GB configuration (as opposed to login nodes which sport 480GB), which favors bandwidth over capacity. After the kernel’s share, about 108 GiB per GPU…
-</ul>
-<p>These constraints dictate the parallelism layout: 384-way FSDP with 4-way expert parallelism inside each node and no pipeline parallelism. The MoE token all-to-all is hard to overlap, so we kept it on NVLink. Without pipeline parallelism steps tend to be shorter, which has the advantage of provid…
-<h2>FlexShard: Muon without the communication</h2>
-<p>We use <a href="https://kellerjordan.github.io/posts/muon/">Muon</a> for every weight matrix except the router and embeddings (about 99.5% of the parameters) and AdamW for the rest. Muon requires one fp32 state per parameter, while Adam requires two. Removing the second state is instrumental in m…
-<p>Muon orthogonalizes each update with a few Newton-Schulz iterations, which operate on the whole matrix. Because FSDP splits every matrix into 384 shards, a simple implementation gathers each matrix on one rank, runs Newton-Schulz there and scatters the result back. On our interconnect, this commu…
-<p><a href="https://github.com/pytorch/torchtitan/blob/main/torchtitan/distributed/flex_shard/README.md">FlexShard</a>, now part of TorchTitan, lets us control which rank owns which parameters. We shard the experts by whole expert, so every rank owns complete expert matrices and runs their Newton-Sc…
-<p>With FSDP’s CPU offload, the optimizer runs on Grace, where the parameters are stored, and Newton-Schulz on 72 Arm cores takes ~35 s per step. We <a href="https://github.com/pytorch/torchtitan/pull/5352">contributed support to TorchTitan</a> for running Newton-Schulz on the GPU while parameters s…
-<p><!-- IMAGE PLACEHOLDER: Figure 3 – rank 0 profiled step, Newton-Schulz on Grace vs Hopper (re-upload via Media Library) --></p>
-<p><em><img decoding="async" class="alignnone wp-image-210694 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/profiler.png" alt="" width="2048" height="1877" srcset="https://pytorch.org/wp-content/uploads/2026/11/profiler.png 2048w, https://pytorch.org/wp-content/uploads/2026/11/profi…
-<p><em>Figure 3. Rank 0’s profiled step from 80 s onward. Top: Newton-Schulz on Grace, with the GPU idle for ~34 s after the backward pass while the CPU computes. Bottom: Newton-Schulz on Hopper, where the optimizer takes a small fraction of the step.</em></p>
-<h2>Activation offloading to Grace</h2>
-<p>The volume of weights gathered per layer does not depend on the number of tokens in our setup, so a longer sequence increases compute time while not impacting communication. We first stored activations only at layer boundaries and recomputed everything inside a layer during the backward pass. In …
-<p>At 65,536 tokens, the boundary activations alone take 74 layers × 65,536 tokens × 6,144 × 2 bytes ≈ 55 GiB per GPU, which does not fit in HBM next to the weights. GH200 has a 900 GB/s link to 120 GB of CPU memory, so we decide to offload them. Each boundary activation is copied to Grace after the…
-<p>TorchTitan’s activation-checkpointing wrapper made this change convenient. We <a href="https://github.com/pytorch/torchtitan/pull/5090">contributed the hooks for activation-checkpoint offloading</a> to TorchTitan and built our offloading strategy on top of them. With offload, throughput rose from…
-<p><!-- IMAGE PLACEHOLDER: Figure 4 – offload schedule (re-upload via Media Library) --></p>
-<p><em><img decoding="async" class="alignnone wp-image-210695 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/ACOffload.png" alt="" width="2048" height="921" srcset="https://pytorch.org/wp-content/uploads/2026/11/ACOffload.png 2048w, https://pytorch.org/wp-content/uploads/2026/11/ACOf…
-<p><em>Figure 4. Offload schedule, drawn with 16 layers in place of 74. During the forward pass, each boundary activation moves to Grace. During the backward pass, it returns to HBM one layer before its recomputation.</em></p>
-<h2>De-fragging FSDPs Streams</h2>
-<p>After an upgrade to our software stack, the CUDA caching allocator started retrying allocations on every rank at ~70% memory utilization. At the time of the retries, 25-30 GiB of HBM was free, but the allocator could not use it.</p>
-<p>After investigating the root cause, we identified it in how FSDP overlaps communication with computation. FSDP uses one compute stream and four side streams, and the allocator keeps a separate pool per stream. Memory freed by a stream can only be reused by that stream. FSDP allocates each buffer …
-<p><!-- IMAGE PLACEHOLDER: Figure 5 – HBM held by each allocator stream's cache (re-upload via Media Library) --></p>
-<p><em><img decoding="async" class="alignnone wp-image-210696 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/fsdp_streams.png" alt="" width="2048" height="1072" srcset="https://pytorch.org/wp-content/uploads/2026/11/fsdp_streams.png 2048w, https://pytorch.org/wp-content/uploads/2026/…
-<p><em>Figure 5. HBM held by each allocator stream’s cache at peak live memory, reconstructed from the allocator’s event trace on rank 0. Solid bars are live tensors, and dashed bars are cached memory that only the owning stream can reuse.</em></p>
-<p>Luckily, FSDP2 has a private flag, <code>unshard_async_op</code>, that runs the all-gather setup on the compute stream and lets NCCL run on its internal stream. The gather buffers are then allocated from, and returned to, the compute stream’s pool. We adapted our custom gather to run asynchronous…
-<p>We <a href="https://github.com/pytorch/torchtitan/pull/5627">proposed a TorchTitan option</a> to enable the flag. Following the review, <code>unshard_async_op</code> is being moved into a public FSDP API (<a href="https://github.com/pytorch/pytorch/pull/202343">PyTorch #202343</a>), so other FSDP…
-<h2>Upstreaming contributions and closing remarks</h2>
-<p>The configuration we just described allows to scale pre-training runs to 1T parameters at a workable throughput on public European infrastructure. In order to make it possible for others to reproduce these results (more details are available in a companion <a href="https://www.domyn.com/blog/trai…
-<p>In addition to the three contributions we already mentioned, we contributed a <a href="https://github.com/pytorch/torchtitan/pull/5583">shared RoPE cache</a> to TorchTitan (2.56 GiB per GPU at our sequence length), <a href="https://github.com/pytorch/torchtitan/pull/5579">skipping the embedding r…
-<p>Thanks to the level of control provided by PyTorch and TorchTitan, training now runs at a sustained throughput of ~1,300 tokens/s per GPU on 384 GH200s per DDP replica, for a total of 1536 GPUs for 4 DDP replicas, and fits in memory by fully leveraging the HBM and the Grace architecture. The comp…
-<p>We are grateful to the European Commission for Frontier AI Grand Challenge award. We hope that this work will motivate further investments in public compute infrastructure and the continued growth of the European AI ecosystem.</p>
-<p><strong>Learn more:</strong></p>
-<ul>
-<li><a href="https://www.domyn.com/blog/training-1t-moe-eu-public-infrastructure-pytorch">Training a 1T-Parameter MoE on Jupiter (full post)</a> <!-- TODO: replace placeholder link --></li>
-<li><a href="https://pytorch.org">PyTorch</a></li>
-<li><a href="https://github.com/pytorch/torchtitan">TorchTitan</a></li>
-<li><a href="https://github.com/pytorch/torchtitan/blob/main/torchtitan/distributed/flex_shard/README.md">FlexShard</a></li>
-<li><a href="https://digital-strategy.ec.europa.eu/it/news/commission-selects-europa-consortium-winner-frontier-ai-grand-challenge-project-build-european-open">Frontier AI Grand Challenge announcement</a></li>
-</ul>
-<p>The post <a href="https://pytorch.org/blog/training-a-1t-parameter-moe-on-eu-public-infrastructure-with-pytorch-and-torchtitan/">Training a 1T-Parameter MoE on EU public infrastructure with PyTorch and TorchTitan</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
-]]></content:encoded>
-
-
-
- </item>
- <item>
- <title>ExecuTorch WebGPU: PyTorch Models on the GPU, in the Browser</title>
- <link>https://pytorch.org/blog/executorch-webgpu-pytorch-models-on-the-gpu-in-the-browser/</link>
-
- <dc:creator><![CDATA[Julian Ng-Thow-Hing, Siddartha Pothapragada, Stephen Jia, Digant Desai, Bilgin Cagatay]]></dc:creator>
- <pubDate>Tue, 10 Nov 2026 22:15:07 +0000</pubDate>
- <category><![CDATA[Blog]]></category>
- <guid isPermaLink="false">https://pytorch.org/?p=210178</guid>
-
- <description><![CDATA[<p>TL;DR PyTorch models now run in the web browser on the GPU through ExecuTorch, with no conversion to another framework&#8217;s format. You export with torch.export to an ExecuTorch .pte file,...</p>
-<p>The post <a href="https://pytorch.org/blog/executorch-webgpu-pytorch-models-on-the-gpu-in-the-browser/">ExecuTorch WebGPU: PyTorch Models on the GPU, in the Browser</a> appeared first on <a href="https://pytorch.org">PyTorch</a>.</p>
-]]></description>
- <content:encoded><![CDATA[<h3><span style="font-weight: 400;">TL;DR</span></h3>
-<ul>
-<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">PyTorch models now run in the web browser on the GPU through ExecuTorch, with no conversion to another framework&#8217;s format. You export with torch.export to an ExecuTorch .pte file, and the same file runs in any </span>…
-<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It works across a broad range of models: LLMs (e.g. Llama 3.2, Qwen3, Gemma 3), vision-language (e.g. SmolVLM), segmentation, depth, object detection, super-resolution and speech-to-text (e.g. Whisper). Everything runs loca…
-<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">On the same machine, WebGPU is 4–7× faster than ExecuTorch&#8217;s CPU path (Webassembly + XNNPACK) on prefill and 2–10× faster on decode. </span></li>
-</ul>
-<h3><span style="font-weight: 400;">Why the Browser?</span></h3>
-<p><span style="font-weight: 400;">The web is the largest deployment surface with billions of users on Chrome, Firefox and Safari. Browser inference ensures privacy by keeping users’ prompts, model inputs, and outputs on the user’s device rather than the server. This reduces network latency, enables…
-<p><span style="font-weight: 400;">WebGPU, the modern successor to WebGL, provides native compute shaders, shared memory, storage buffers, and barriers, making it viable for high-performance ML inference directly in the browser. Today, running a PyTorch model in the browser usually means first conve…
-<h3><span style="font-weight: 400;">Backend Design</span></h3>
-<p><img decoding="async" class="aligncenter wp-image-210179 " src="https://pytorch.org/wp-content/uploads/2026/11/pytorch-model-1.jpg" alt="" width="247" height="685" srcset="https://pytorch.org/wp-content/uploads/2026/11/pytorch-model-1.jpg 371w, https://pytorch.org/wp-content/uploads/2026/11/pytor…
-<p style="text-align: center;"><i><span style="font-weight: 400;">[Figure 1: ExecuTorch WebGPU backend design: a PyTorch model is exported once to a .pte file and runs in any WebGPU browser through the ExecuTorch Wasm runtime]</span></i></p>
-<p><span style="font-weight: 400;">Three principles guided the WebGPU backend&#8217;s design:</span><span style="font-weight: 400;"><br />
-</span></p>
-<ul>
-<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Architecture, export, and dynamic runtime. Models export through ExecuTorch&#8217;s </span><span style="font-weight: 400;"><code>torch.export()</code></span><span style="font-weight: 400;"> and WebGPUPartitioner</span> <spa…
-</span></li>
-<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Same artifact across multiple devices and browsers. One model (.pte file) runs in WebGPU browsers such as Chrome and Safari, natively on Metal (macOS), Vulkan (Linux/Android) and D3D12 (Windows), translating WGSL to Metal S…
-</span></li>
-<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Zero friction for the end user. With WebGPU, models run in the browser sandbox with no native installation, backend server, and no data leaving the device. For developers, deployment is a .pte file served over CDN on a web …
-</ul>
-<h3><span style="font-weight: 400;">Performance</span></h3>
-<p><span style="font-weight: 400;">We benchmarked ExecuTorch WebGPU against ExecuTorch&#8217;s own Webassembly (wasm) CPU backend (XNNPACK, multi-threaded) on the same machine, using quantized Llama 3.2 1B and Qwen3-0.6B in Google Chrome on Apple M1 Pro. Each data point is the median of 5 runs after…
-<p><img decoding="async" class="aligncenter wp-image-210180 size-full" src="https://pytorch.org/wp-content/uploads/2026/11/2.png" alt="" width="2048" height="1357" srcset="https://pytorch.org/wp-content/uploads/2026/11/2.png 2048w, https://pytorch.org/wp-content/uploads/2026/11/2-300x199.png 300w, h…
-<p style="text-align: center;"><i><span style="font-weight: 400;">[Figure 2: ExecuTorch WebGPU is 4–7× faster than ExecuTorch Wasm (XNNPACK) on prefill and 2–10× faster on decode, measured in Chrome on Apple M1 Pro]</span></i></p>
-<h3><span style="font-weight: 400;">Models in Practice</span></h3>
-<p><span style="font-weight: 400;">We&#8217;ve validated the WebGPU backend across models with very different architectures, demonstrating that the operator coverage generalizes beyond autoregressive text generation:</span></p>
-<p><span style="font-weight: 400;">LLM Inference</span></p>
-<ul>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/Llama-3.2-1B-Instruct-ExecuTorch-WebGPU"><span style="font-weight: 400;">Llama 3.2 1B (4-bit quantized)</span></a></li>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/Qwen2.5-0.5B-Instruct-ExecuTorch-WebGPU"><span style="font-weight: 400;">Qwen2.5-0.5B (4-bit quantized)</span></a></li>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/Qwen3-0.6B-ExecuTorch-WebGPU"><span style="font-weight: 400;">Qwen3-0.6B (4-bit quantized)</span></a></li>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/Gemma-3-1B-IT-ExecuTorch-WebGPU"><span style="font-weight: 400;">Gemma 3 1B</span></a></li>
-</ul>
-<p><span style="font-weight: 400;">Vision-Language Understanding</span></p>
-<ul>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/SmolVLM-500M-Instruct-ExecuTorch-WebGPU"><span style="font-weight: 400;">SmolVLM</span></a><span style="font-weight: 400;">: image question answering and captioning</span></li>
-</ul>
-<p><span style="font-weight: 400;">Vision</span></p>
-<ul>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/Depth-Anything-V2-Small-ExecuTorch-WebGPU"><span style="font-weight: 400;">Depth Anything V2</span></a><span style="font-weight: 400;">: monocular depth estimation</span></li>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/SAM2-Hiera-Tiny-ExecuTorch-WebGPU"><span style="font-weight: 400;">SAM 2 (SAM 2.1 Hiera Tiny)</span></a><span style="font-weight: 400;">: promptable image segmentation</span></li>
-<li style="font-weight: 400;" aria-level="1"><a href="https://huggingface.co/executorch-community/D-FINE-Small-COCO-ExecuTorch-WebGPU"><span style="font-weight: 400;">D-FINE</span></a><span style="font-weight: 400;">: object detection</span></li>

Diff display stops at 400 lines. The line counts above are from the whole diff. 86 lines shown here cut at 300 characters. The raw artifact at this commit is linked above.