XUESHEN-SMI 1.0 9 jobs

Process Archive

Blogs

Notes on CUDA, Triton, LLM inference, profiling, DeepSpeed, clusters, and practical sandboxing.

CUDA CUDA Triton Triton PyTorch PyTorch Docker Docker

Claude Code in a Docker sandbox (kept alive with tmux)

I wanted a YOLO sandbox for Claude Code: isolated dependencies, optional CUDA/PyTorch, and a way to keep the agent running even when my SSH session drops. My setup is: Docker for i...

Efficient Gather-and-scatter Feed-forward Network Kernel with Triton

In our recent work Learn to be efficient: Build structured sparsity in large language models, we propose a novel method to build structured sparsity in large language models. Throu...

Use Nsight System to Profile a Model Training with DeepSpeed on Multi-Node Cluster

This post is to log how I managed to profile a model training running on multiple nodes in a cluster with DeepSpeed and Nsight System. Click here to jump to the final implementatio...

Training Custom Mixtral Model with DeepSpeed

Placeholder for the blog logging how I trained a custom Mixtral model with DeepSpeed.

Custom Gather-scatter Operator by CUTLASS

This blog is to log my experience of building efficient custom operator based on CUTLASS. Jump to the final implementation of gather and scatter matrix multiplication operator.

Compact Inference with CUDA graph and StaticCache

This post is to log a minimum prototype of LLM inference with CUDA graph to eliminate bubbles between kernel launches. Click here to jump to the final implementation code.

Efficient Gather-and-scatter Matrix Multiplication Kernel with Triton

This post is to log my implementation of gather-and-scatter matrix multiplication operation with Triton. Click here to jump to the final implementation code. If you are interested ...

Understand CUDA Unified Memory

This post is to log my experiments with CUDA unified memory and some innovative and interesting application of UVM in large language model (LLM).

Profile CUDA UVM Performance

This post is to log my profile of CUDA unified virtual memory.