Lynx Li Blog
  • Home
  • Archives
  • Categories
  • Tags
  • About

Modern Linear Attention - From Vanilla Linear Attention to KDA

This series of tutorial is based onBlog post: https://sustcsonglin.github.io/blog/2024/deltanet-1/Blog post: https://sustcsonglin.github.io/blog/2024/deltanet-2/Paper: https://arxiv.org/a
2026-08-22
Linear Models
#深度学习 #智能系统 #序列模型

01 Introduction

Generate a realistic drawing of a cube To draw a cube, we ask Modeling: How do we describe the cube Rendering: How do we visualize the model Modeling Suppose we construct a cube that centered at th
2026-07-26
计算机图形学 > CMU2020
#Computer Graphics #Online Course

PyTorch Clamp And The Gradient

1 From an Example Let’s observe the following example 123456789101112131415161718>>> import torch>>> a = torch.tensor([1, 2, 3, 4], requires_grad=True, dtype=torch.float32)>>&g
2026-03-22
AI Infra > PyTorch
#PyTorch #深度学习

广泛使用的RoPE

位置编码–广泛使用的RoPE 1 RoPE位置编码 RoPE的理论及由来:https://kexue.fm/archives/8265 假设位置为m的query向量q的维度为ddd,则RoPE会将q变换为 [q0q1q2q3⋮qd−2qd−1]⊗[cos⁡mθ0cos⁡mθ0cos⁡mθ1cos⁡mθ1⋮cos⁡mθd/2−1cos⁡mθd/2−1]+[−q1q0−q3q2⋮−qd−1qd−2]⊗
2026-03-15
LLM > Position Encoding
#深度学习 #智能系统 #AIGC

Chapter 1 Notations

1 Logic Operations There are 4 operators, they are ¬\neg¬, ∧\land∧, ∨\lor∨, ⇒\Rightarrow⇒, the outcome of the operation is the Truth Table. For proposition ¬A\neg A¬A A 0 1 ¬\neg¬A 1 0 For c
2026-03-04
Math > Analysis-1
#Analysis #Math

05-GPU MatMul and Compilers

This is a lecture note of the course CSE 234 - Data Systems for ML - LE [A00].From UC SanDiegoProf. Zhang HaoWinter, 2025Link: https://podcast.ucsd.edu/watch/wi25/cse234_a00/1
2025-08-22
AI Infra > ML System
#Deep Learning #AI Infra #ML Systems

Efficient PyTorch Implementation of MoE with Aux loss and Token drop

1 Preliminaries Mixture-of-Experts is an essential architecture choice when building LLMs. Since the prevalence of DeepSeekV3, companies will consider whether to use MoE structure before LLM pretraini
2025-08-04
AI Infra
#Deep Learning #AI Infra

04-GPU Programming 101

This is a lecture note of the course CSE 234 - Data Systems for ML - LE [A00].From UC SanDiegoProf. Zhang HaoWinter, 2025Link: https://podcast.ucsd.edu/watch/wi25/cse234_a00/1
2025-06-30
AI Infra > ML System
#Deep Learning #AI Infra #ML Systems

03-Optimization on Operator and Matrix Multiplication

This is a lecture note of the course CSE 234 - Data Systems for ML - LE [A00].From UC SanDiegoProf. Zhang HaoWinter, 2025Link: https://podcast.ucsd.edu/watch/wi25/cse234_a00/1
2025-06-28
AI Infra > ML System
#Deep Learning #AI Infra #ML Systems

02-Behind ML Framework

This is a lecture note of the course CSE 234 - Data Systems for ML - LE [A00].From UC SanDiegoProf. Zhang HaoWinter, 2025Link: https://podcast.ucsd.edu/watch/wi25/cse234_a00/1
2025-06-28
AI Infra > ML System
#Deep Learning #AI Infra #ML Systems
123…6

Search

Hexo Fluid