<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Bitter Lesson</title>
    <link>https://sherlock-dev.netlify.app/</link>
    <description>Recent content on Bitter Lesson</description>
    <generator>Hugo -- 0.157.0</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 02 Dec 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sherlock-dev.netlify.app/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LLM Quantization Review</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-10-02-llm-quant/</link>
      <pubDate>Mon, 02 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-10-02-llm-quant/</guid>
      <description>This blog post provides an overview of the fundamental concepts of quantization, as well as a review of mainstream quantization methods in the context of LLMs.</description>
    </item>
    <item>
      <title>Spin to Win: The Power of Rotation in LLM Quantization</title>
      <link>https://sherlock-dev.netlify.app/posts/2025-12-02-rot-quant-opt/</link>
      <pubDate>Tue, 02 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2025-12-02-rot-quant-opt/</guid>
      <description>介绍 LLM 量化中的旋转技术以及相关的优化方案</description>
    </item>
    <item>
      <title>MXFP4 and NVFP4</title>
      <link>https://sherlock-dev.netlify.app/posts/2025-08-10-nvfp4/</link>
      <pubDate>Thu, 28 Aug 2025 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2025-08-10-nvfp4/</guid>
      <description>介绍 MXFP4 和 NVFP4 的区别</description>
    </item>
    <item>
      <title>W4A8KV4 Quantization Summary and Best Practices</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-08-30-w4a8kv4-summary/</link>
      <pubDate>Fri, 30 Aug 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-08-30-w4a8kv4-summary/</guid>
      <description>Comprehensive summary of W4A8KV4 quantization techniques, covering KV4 and W4A8 optimization methods with practical recommendations.</description>
    </item>
    <item>
      <title>Low-Bit MoE Quantization for Large Language Models</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-07-25-low-bit-moe-quant/</link>
      <pubDate>Thu, 25 Jul 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-07-25-low-bit-moe-quant/</guid>
      <description>Comprehensive guide to quantizing large MoE models like DeepSeek-V3/R1, covering techniques for efficient memory usage and inference optimization.</description>
    </item>
    <item>
      <title>Speculative Sampling for Faster LLM Inference</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-06-20-speculative-sampling/</link>
      <pubDate>Thu, 20 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-06-20-speculative-sampling/</guid>
      <description>Deep dive into speculative sampling techniques for accelerating LLM inference through draft model prediction and rejection sampling.</description>
    </item>
    <item>
      <title>DeepSeek-v2 In a Nutshell - Multi-Head Latent Attention</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-05-15-deepseek-v2-nutshell/</link>
      <pubDate>Wed, 15 May 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-05-15-deepseek-v2-nutshell/</guid>
      <description>Understanding DeepSeek-v2&amp;#39;s MLA architecture and its solutions to KV cache memory challenges in long context LLM inference.</description>
    </item>
    <item>
      <title>LayerNorm Mathematical Derivation and Implementation</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-04-10-layernorm-math-derivation/</link>
      <pubDate>Wed, 10 Apr 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-04-10-layernorm-math-derivation/</guid>
      <description>Comprehensive mathematical derivation of LayerNorm forward and backward passes, including PyTorch implementation details.</description>
    </item>
    <item>
      <title>From Softmax to FlashAttention</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-03-20-softmax-flashattention/</link>
      <pubDate>Wed, 20 Mar 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-03-20-softmax-flashattention/</guid>
      <description>Deep dive into the mathematical foundations of flash attention, from softmax fundamentals to efficient kernel implementation.</description>
    </item>
    <item>
      <title>Fast Hadamard Transform</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-02-15-fast-hadamard-transform/</link>
      <pubDate>Thu, 15 Feb 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-02-15-fast-hadamard-transform/</guid>
      <description>A comprehensive guide to the Fast Hadamard Transform, its mathematical foundations, and practical implementation with code examples.</description>
    </item>
    <item>
      <title>8-bit KV Cache</title>
      <link>https://sherlock-dev.netlify.app/posts/2024-01-24-quant-kv-cache/</link>
      <pubDate>Wed, 24 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2024-01-24-quant-kv-cache/</guid>
      <description>This blog introduces KV Cache quantization in LLM inference.</description>
    </item>
    <item>
      <title>SmoothQuant and AWQ</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-10-09-sq-awq/</link>
      <pubDate>Sun, 08 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-10-09-sq-awq/</guid>
      <description>This blog post compares *SmoothQuant* and *AWQ* differences and their code implementation.</description>
    </item>
    <item>
      <title>Triton Tutorial - Series 2</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-20-triton-tutorial2-new/</link>
      <pubDate>Wed, 20 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-20-triton-tutorial2-new/</guid>
      <description>Build a high-performance matrix multiplication kernel in Triton that rivals cuBLAS performance with step-by-step optimization.</description>
    </item>
    <item>
      <title>Triton Tutorial #2</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-20-triton-tutorial2/</link>
      <pubDate>Wed, 20 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-20-triton-tutorial2/</guid>
      <description>third blogpost of triton tutorial series, gemm and autotune.</description>
    </item>
    <item>
      <title>GPTQ Code Implementation</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-18-gptq-code/</link>
      <pubDate>Mon, 18 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-18-gptq-code/</guid>
      <description>This blog post delved into the code implementation of the GPTQ quantization process, using the Llama model as a case study.</description>
    </item>
    <item>
      <title>GPTQ Math Derivation</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-09-gptq-math/</link>
      <pubDate>Sat, 09 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-09-gptq-math/</guid>
      <description>This blog post traces the development of GPTQ, starting from its roots in OBD, through OBS, and finally to OBC.</description>
    </item>
    <item>
      <title>Triton Tutorial - Series 1</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-05-triton-tutorial1-new/</link>
      <pubDate>Tue, 05 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-05-triton-tutorial1-new/</guid>
      <description>Learn to write a fused softmax kernel in Triton, with debugging and performance benchmarking techniques.</description>
    </item>
    <item>
      <title>Triton Tutorial #1</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-05-triton-tutorial1/</link>
      <pubDate>Tue, 05 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-05-triton-tutorial1/</guid>
      <description>second blogpost of triton tutorial series, fused softmax, debug and benchmarking it.</description>
    </item>
    <item>
      <title>Triton Tutorial - Series 0</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-02-triton-tutorial0-new/</link>
      <pubDate>Sat, 02 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-02-triton-tutorial0-new/</guid>
      <description>Introduction to Triton programming language, installation guide, and vector-addition example to get started with GPU kernel development.</description>
    </item>
    <item>
      <title>Triton Tutorial #0</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-09-02-triton-tutorial0/</link>
      <pubDate>Sat, 02 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-09-02-triton-tutorial0/</guid>
      <description>first blogpost of triton tutorial series, triton introduction, installation and vector-add example</description>
    </item>
    <item>
      <title>Parallel Reduction Optimization with CUDA</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-08-27-cuda-reduce-parallel/</link>
      <pubDate>Sun, 27 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-08-27-cuda-reduce-parallel/</guid>
      <description>A step-by-step guide to optimizing parallel reduction operations using CUDA, from basic implementation to advanced optimization techniques.</description>
    </item>
    <item>
      <title>Benchmark for LLM Inference</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-08-20-llm-inference-benchmark/</link>
      <pubDate>Sun, 20 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-08-20-llm-inference-benchmark/</guid>
      <description>Introduce some metrics for LLM inference benchmarking</description>
    </item>
    <item>
      <title>RoPE and Length Scaling</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-08-03-rope/</link>
      <pubDate>Thu, 10 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-08-03-rope/</guid>
      <description>Introduce some basic concepts of Position Encoding, RoPE and length extrapolation related it.</description>
    </item>
    <item>
      <title>CodeLLM Training Recipe</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-07-26-codellm/</link>
      <pubDate>Wed, 26 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-07-26-codellm/</guid>
      <description>一个偏综述的文章，总结 codeLLM 相关 paper 从 data collection 到 training 中间的一些细节</description>
    </item>
    <item>
      <title>WizardLM(Coder) 和 Ocra 的一些理解</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-07-22-wizard-ocra/</link>
      <pubDate>Sat, 22 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-07-22-wizard-ocra/</guid>
      <description>介绍一下最近看到的两篇关于 SIFT 数据相关的非常好的论文 WizardLM(WizardCoder) 和 Ocra，以及我对这个问题的一些思考</description>
    </item>
    <item>
      <title>我是如何使用番茄工作法的</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-07-10-how-to-use-pomodor/</link>
      <pubDate>Mon, 10 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-07-10-how-to-use-pomodor/</guid>
      <description>记录我如何使用番茄工作法进行提升效率，以及一些使用过程中的心路历程</description>
    </item>
    <item>
      <title>如何做 continued pre-train</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-07-04-continued-pretrain-intro/</link>
      <pubDate>Tue, 04 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-07-04-continued-pretrain-intro/</guid>
      <description>介绍一下 continued pre-train</description>
    </item>
    <item>
      <title>如何 Debug PyTorch 和 TensorRT FP16 diff</title>
      <link>https://sherlock-dev.netlify.app/posts/2023-02-28-find-trt-fp16-diff/</link>
      <pubDate>Tue, 28 Feb 2023 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2023-02-28-find-trt-fp16-diff/</guid>
      <description>记录一次找 TensorRT FP16 和 PyTorch 推理结果不一致的经历</description>
    </item>
    <item>
      <title>CSAPP Attack Lab - Code Injection and ROP Attacks</title>
      <link>https://sherlock-dev.netlify.app/posts/2022-03-15-csapp-attack-new/</link>
      <pubDate>Tue, 15 Mar 2022 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2022-03-15-csapp-attack-new/</guid>
      <description>Understanding buffer overflow attacks through CSAPP lab exercises, covering code injection and return-oriented programming techniques.</description>
    </item>
    <item>
      <title>CSAPP 之 Attack Lab</title>
      <link>https://sherlock-dev.netlify.app/posts/2022-03-15-csapp-attack/</link>
      <pubDate>Tue, 15 Mar 2022 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2022-03-15-csapp-attack/</guid>
      <description>记录在阅读和学习 CSAPP 过程中，完成 AttackLab 的相关内容</description>
    </item>
    <item>
      <title>VSCode 配置最舒适的深度学习开发环境</title>
      <link>https://sherlock-dev.netlify.app/posts/2022-02-19-vscode-develop_tool/</link>
      <pubDate>Sat, 19 Feb 2022 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2022-02-19-vscode-develop_tool/</guid>
      <description>记录配置和使用 VSCode 的流程，演示一些深度学习中 debug 的例子</description>
    </item>
    <item>
      <title>CSAPP Binary Bomb Lab - Reverse Engineering Challenge</title>
      <link>https://sherlock-dev.netlify.app/posts/2022-02-13-csapp-bomb-new/</link>
      <pubDate>Sun, 13 Feb 2022 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2022-02-13-csapp-bomb-new/</guid>
      <description>Step-by-step walkthrough of defusing a binary bomb through reverse engineering and assembly analysis.</description>
    </item>
    <item>
      <title>CSAPP 之 Bomb Lab</title>
      <link>https://sherlock-dev.netlify.app/posts/2022-02-13-csapp-bomb/</link>
      <pubDate>Sun, 13 Feb 2022 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2022-02-13-csapp-bomb/</guid>
      <description>记录在阅读和学习 CSAPP 过程中，完成 BombLab 的相关内容</description>
    </item>
    <item>
      <title>如何在 OneFlow 中开发一个新的 UserOp</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-11-18-oneflow-userop/</link>
      <pubDate>Thu, 18 Nov 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-11-18-oneflow-userop/</guid>
      <description>记录在 oneflow 中开发 userOp 的流程以及中间遇到的一些问题</description>
    </item>
    <item>
      <title>AutoDiff 介绍以及简单的代码实现</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-11-10-autodiff/</link>
      <pubDate>Wed, 10 Nov 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-11-10-autodiff/</guid>
      <description>从数学和实现的角度解释 AutoDiff 的原理，给出一个简单的代码实现</description>
    </item>
    <item>
      <title>L2 regularization 和 weight decay</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-11-05-l2-reg-weight-decay/</link>
      <pubDate>Fri, 05 Nov 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-11-05-l2-reg-weight-decay/</guid>
      <description>L2 reg 和 weight decay 的区别和联系</description>
    </item>
    <item>
      <title>《黑客与画家》读后感</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-06-02-hackers-and-painters/</link>
      <pubDate>Wed, 02 Jun 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-06-02-hackers-and-painters/</guid>
      <description>黑客与画家读后感</description>
    </item>
    <item>
      <title>深度学习中的分布式并行介绍</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-05-16-dl-dist-train/</link>
      <pubDate>Sun, 16 May 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-05-16-dl-dist-train/</guid>
      <description>介绍数据并行，模型并行以及流水并行等相关内容</description>
    </item>
    <item>
      <title>Study Less, Study Smart</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-05-09-study-less-study-smart/</link>
      <pubDate>Sun, 09 May 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-05-09-study-less-study-smart/</guid>
      <description>总结一些高效学习的技巧</description>
    </item>
    <item>
      <title>FastReID V1.0: Beyond reID</title>
      <link>https://sherlock-dev.netlify.app/posts/2021-04-28-fastreid-v1/</link>
      <pubDate>Wed, 28 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2021-04-28-fastreid-v1/</guid>
      <description>fastreid v1.0 功能介绍</description>
    </item>
    <item>
      <title>FastReID: 一个面向学术界和工业界的 ReID Toolbox</title>
      <link>https://sherlock-dev.netlify.app/posts/2020-05-29-fastreid/</link>
      <pubDate>Fri, 29 May 2020 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2020-05-29-fastreid/</guid>
      <description>fastreid toolbox 介绍</description>
    </item>
    <item>
      <title>Self-Supervised Learning 入门介绍</title>
      <link>https://sherlock-dev.netlify.app/posts/2020-02-20-ssl-survey/</link>
      <pubDate>Thu, 20 Feb 2020 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2020-02-20-ssl-survey/</guid>
      <description>SSL 的入门介绍和几篇 paper 的个人解读</description>
    </item>
    <item>
      <title>A Simple Framework for Contrastive Learning of Visual Representations&#34; 阅读笔记</title>
      <link>https://sherlock-dev.netlify.app/posts/2020-02-15-simclr/</link>
      <pubDate>Sat, 15 Feb 2020 00:00:00 +0000</pubDate>
      <guid>https://sherlock-dev.netlify.app/posts/2020-02-15-simclr/</guid>
      <description>介绍 SimCLR 这篇文章中的一些内容</description>
    </item>
  </channel>
</rss>
