<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>TensorPlay Blog</title>
    <link>https://blog.tensorplay.cn/</link>
    <description>Recent content on TensorPlay Blog</description>
    <generator>Hugo -- 0.157.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 11 Oct 2026 16:00:00 +0800</lastBuildDate><atom:link href="https://blog.tensorplay.cn/en/categories/technical-blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Inside TensorPlay: Finding a Kernel</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-02-dispatch-codegen/</link>
      <pubDate>Sun, 11 Oct 2026 16:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-02-dispatch-codegen/</guid>
      <description>How a &#43; b reaches real instructions: two YAML contracts, one code generator, and a lock-free dispatcher that routes each operator to its kernel.</description>
    </item>
    <item>
      <title>Inside TensorPlay: Anatomy of a Tensor</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-01-tensor-system/</link>
      <pubDate>Sun, 11 Oct 2026 15:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-01-tensor-system/</guid>
      <description>How TensorPlay builds a tensor across DataPtr, Storage, TensorImpl, and Tensor: the move-only deleter, caching allocator, version guard, and zero-copy views.</description>
    </item>
    <item>
      <title>Stax (6): References and Appendices</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-06/</link>
      <pubDate>Sun, 11 Oct 2026 14:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-06/</guid>
      <description>References for the whole chapter, plus appendices: a source-code index, measurement scripts, and worked solutions for selected exercises.</description>
    </item>
    <item>
      <title>Stax (5): Caching and Measurement</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-05/</link>
      <pubDate>Sun, 11 Oct 2026 13:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-05/</guid>
      <description>Content-addressed caching, parallel compilation, fallback semantics, design comparisons against PyTorch 2 and XLA, measurement models, exercises, and labs.</description>
    </item>
    <item>
      <title>Stax (4): GPU Codegen and Dynamic Shapes</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-04/</link>
      <pubDate>Sun, 11 Oct 2026 12:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-04/</guid>
      <description>GPU execution and Triton programming models, reduction kernels, multi-reduction fusion, launch configurations, epilogue fusion, and CUDA Graphs.</description>
    </item>
    <item>
      <title>Stax (3): Scheduling and CPU Codegen</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-03/</link>
      <pubDate>Sun, 11 Oct 2026 11:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-03/</guid>
      <description>Buffer dependencies, the greedy fusion algorithm, buffer reuse, affine dependences and tiling, plus the full CPU codegen path from vectorization to wrappers.</description>
    </item>
    <item>
      <title>TensorPlay Stax (2): Autodiff and Lowering</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-02/</link>
      <pubDate>Sun, 11 Oct 2026 10:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-02/</guid>
      <description>Reverse-mode autodiff over the operator-level graph, the minimum-cut model for save-versus-recompute, and lowering to a loop-level intermediate representation.</description>
    </item>
    <item>
      <title>Stax (1): Specialization &amp; Graph Capture</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-01/</link>
      <pubDate>Sun, 11 Oct 2026 09:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-01/</guid>
      <description>Just-in-time compilation as program specialization: guards, specialization keys, tracing-time proxy capture, data-dependent control flow, and graph rewrites.</description>
    </item>
    <item>
      <title>Stax: Graph Capture to Code Generation</title>
      <link>https://blog.tensorplay.cn/en/posts/tensorplay-stax-guide/</link>
      <pubDate>Sun, 11 Oct 2026 08:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/tensorplay-stax-guide/</guid>
      <description>A systematic tour of Stax, TensorPlay&amp;#39;s compiler backend: specialization, graph capture, transformations, autodiff, loop-level IR, scheduling, and codegen.</description>
    </item>
    <item>
      <title>Talk Linear Attention</title>
      <link>https://blog.tensorplay.cn/en/posts/talk-linear-attention/</link>
      <pubDate>Tue, 10 Mar 2026 12:00:00 +0800</pubDate>
      <guid>https://blog.tensorplay.cn/en/posts/talk-linear-attention/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Since Vaswani et al. proposed the Transformer architecture in 2017, the attention mechanism based on Softmax Attention has become the core component of sequence modeling, supporting the rapid development of Large Language Models (LLMs). However, Softmax Attention inherently suffers from &lt;strong&gt;quadratic computational complexity&lt;/strong&gt;: as the sequence length $L$ increases, the computational and memory overhead of $O(L^2d)$ grows quadratically, which has become a core bottleneck for long-sequence modeling and efficient inference and training of LLMs.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>