Hi There!👋 Welcome to my page!

I am Zhiyang Shen, an undergraduate student at Tsinghua University, majoring in Software Engineering. I’m interested in machine learning, especially focusing on visualization & XAI. Besides, I’m keen on MLsys since my internship at MSR Asia. Please feel free to contact me if you want to explore the fascinating world of AI together!

Understanding Diffusion Models

From differential equation to diffusion models

March 15, 2025 · 14 min · Zhiyang Shen

Lecture Notes (Pieces)

Lecture notes (pieces) collected from everywhere.

February 24, 2025 · 5 min · Zhiyang Shen

LLM Quantization

8bit-Quantization Implementation for LLama-2-7b Model

February 23, 2025 · 18 min · Zhiyang Shen

Random Thoughts & Ideas

碎碎念

February 6, 2025 · 2 min · Zhiyang Shen

Notes on Linear Attention

Notes on topics related to linear attention.

January 18, 2025 · 4 min · Zhiyang Shen

Machine Learning Compilation

Lecture Notes on ML Compilation by Tianqi Chen

January 15, 2025 · 1 min · Zhiyang Shen

Write a Memory Allocator for PyTorch

Write a memory allocator from scratch.

May 16, 2024 · 7 min · Zhiyang Shen

FFT On the Road

Guide to implement FFT in C++ with parallelism

April 20, 2024 · 5 min · Zhiyang Shen

Random Number Generator

Lecture notes on RNG

April 20, 2024 · 3 min · Zhiyang Shen

Alias Method for Sampling from Discrete Distribution

An Introduction to Alias Method

April 13, 2024 · 1 min · Zhiyang Shen