<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transformer on SoloSoft</title><link>https://www.solosoft.dev/tags/transformer/</link><description>Recent content in Transformer on SoloSoft</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.solosoft.dev/tags/transformer/index.xml" rel="self" type="application/rss+xml"/><item><title>Flash Linear Attention: Efficient Attention Mechanisms for Transformers</title><link>https://www.solosoft.dev/post/flash-linear-attention-2026/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/flash-linear-attention-2026/</guid><description>&lt;p&gt;The transformer architecture has been the dominant model for sequence processing since its introduction, but it carries a fundamental limitation: the self-attention mechanism scales with O(n^2) complexity relative to sequence length. For the long contexts increasingly demanded by modern AI applications &amp;ndash; 128K tokens, 1M tokens, and beyond &amp;ndash; this quadratic bottleneck becomes prohibitive. &lt;strong&gt;Flash Linear Attention&lt;/strong&gt; provides a practical escape from this limitation.&lt;/p&gt;
&lt;p&gt;The fla-org/flash-linear-attention repository brings together state-of-the-art research on linear attention mechanisms into a cohesive, optimized library. It provides CUDA-accelerated implementations of multiple linear attention variants that reduce complexity from O(n^2) to O(n), enabling transformer models to process sequences orders of magnitude longer than would be possible with standard attention.&lt;/p&gt;</description></item><item><title>llm.c: Karpathy's Minimal C Implementation of LLM Training</title><link>https://www.solosoft.dev/post/llm-c-training-2026/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/llm-c-training-2026/</guid><description>&lt;p&gt;Most developers and researchers who work with large language models interact with them through high-level frameworks like PyTorch or Hugging Face Transformers. These frameworks hide immense complexity behind elegant APIs, but they also obscure the fundamental mechanics of how these models actually learn. &lt;strong&gt;llm.c&lt;/strong&gt; tears away that abstraction, providing a complete, working implementation of GPT-2 training in pure C.&lt;/p&gt;
&lt;p&gt;Created by Andrej Karpathy (formerly Director of AI at Tesla, co-founder of OpenAI), llm.c is first and foremost an educational project. It implements the entire forward pass, backward pass, and training loop for a transformer language model using nothing but standard C libraries, without a single dependency on PyTorch, TensorFlow, or any machine learning framework.&lt;/p&gt;</description></item></channel></rss>