English · 简体中文
A learning-oriented repository for understanding the systems behind modern AI workloads—from Transformer fundamentals and GPU execution to distributed training and high-performance LLM inference.
The repository combines conceptual notes, paper walkthroughs, small experiments, and source-code studies. Most in-depth notes are currently written in Chinese; this page and the Chinese homepage provide bilingual project navigation.
Transformer foundations
│
├── GPU & CUDA fundamentals
├── Distributed training
│ ├── Data and model parallelism
│ ├── Pipeline parallelism / PipeDream
│ ├── Megatron-LM
│ └── ZeRO
└── LLM inference
├── Prefill, decode, and KV cache
├── Online Softmax and FlashAttention
├── Attention variants
├── nano-vLLM implementation study
└── vLLM architecture and source walkthrough
| Track | Topics | Start here |
|---|---|---|
| Transformers | A minimal GPT training implementation and notebook | Transformers/miniGPT |
| CUDA | GPU architecture, execution model, memory hierarchy, and performance fundamentals | CUDA/Phase1/overview.md |
| Distributed Training | Parallelism fundamentals, Megatron-LM, PipeDream, and ZeRO | Distributed_Training/Phase1/Introduction.md |
| Inference | The inference lifecycle, attention optimization, and inference-engine internals | Inference/Phase1/Overview.md |
The inference track progresses from concepts to production-engine internals:
The vLLM walkthrough is organized into focused chapters covering:
Start with the vLLM study overview, or browse the complete vLLM notes directory.
For the miniGPT exercise:
cd Transformers/miniGPT
python train.py
Requirements vary by track. Python, PyTorch, CUDA, and multi-GPU dependencies should be installed according to the experiment you plan to run and your local hardware.
This is an evolving personal learning project. Notes may be expanded, reorganized, or corrected as the study progresses. Issues and pull requests that improve technical accuracy, explanations, or navigation are welcome.
The repository studies ideas and implementations from projects and papers including PyTorch, CUDA, Megatron-LM, PipeDream, ZeRO, nano-vLLM, and vLLM. Their respective upstream repositories and publications remain the authoritative sources.
13 commits
Python
77.9%
Rust
9.7%
Cuda
7.2%
C++
5.1%
English · 简体中文
A learning-oriented repository for understanding the systems behind modern AI workloads—from Transformer fundamentals and GPU execution to distributed training and high-performance LLM inference.
The repository combines conceptual notes, paper walkthroughs, small experiments, and source-code studies. Most in-depth notes are currently written in Chinese; this page and the Chinese homepage provide bilingual project navigation.
Transformer foundations
│
├── GPU & CUDA fundamentals
├── Distributed training
│ ├── Data and model parallelism
│ ├── Pipeline parallelism / PipeDream
│ ├── Megatron-LM
│ └── ZeRO
└── LLM inference
├── Prefill, decode, and KV cache
├── Online Softmax and FlashAttention
├── Attention variants
├── nano-vLLM implementation study
└── vLLM architecture and source walkthrough
| Track | Topics | Start here |
|---|---|---|
| Transformers | A minimal GPT training implementation and notebook | Transformers/miniGPT |
| CUDA | GPU architecture, execution model, memory hierarchy, and performance fundamentals | CUDA/Phase1/overview.md |
| Distributed Training | Parallelism fundamentals, Megatron-LM, PipeDream, and ZeRO | Distributed_Training/Phase1/Introduction.md |
| Inference | The inference lifecycle, attention optimization, and inference-engine internals | Inference/Phase1/Overview.md |
The inference track progresses from concepts to production-engine internals:
The vLLM walkthrough is organized into focused chapters covering:
Start with the vLLM study overview, or browse the complete vLLM notes directory.
For the miniGPT exercise:
cd Transformers/miniGPT
python train.py
Requirements vary by track. Python, PyTorch, CUDA, and multi-GPU dependencies should be installed according to the experiment you plan to run and your local hardware.
This is an evolving personal learning project. Notes may be expanded, reorganized, or corrected as the study progresses. Issues and pull requests that improve technical accuracy, explanations, or navigation are welcome.
The repository studies ideas and implementations from projects and papers including PyTorch, CUDA, Megatron-LM, PipeDream, ZeRO, nano-vLLM, and vLLM. Their respective upstream repositories and publications remain the authoritative sources.
13 commits
Python
77.9%
Rust
9.7%
Cuda
7.2%
C++
5.1%