Photo of Yosen Lin

Yosen Lin

M.S. ECE @ Carnegie Mellon
GPU Performance & Modeling · Parallel Computing · LLM Inference · Systems Software

Hometown
Taipei, Taiwan
Interested in
Intersection of hardware, software and ML
Also interested in
Exploring cafes, running, traveling
Seeking
Full-time roles after May 2027

Education

Aug 2025 –
May 2027 (expected)

M.S., Electrical & Computer Engineering

Carnegie Mellon University · Pittsburgh, PA
  • Coursework: Computer Systems, Machine Learning Systems, Computer Architecture, Parallel Programming, FPGA
Sep 2021 –
Mar 2025

B.S., Data Science

University of California, San Diego · San Diego, CA
  • Coursework: Deep Learning, Optimization, Reinforcement Learning
  • Courses tutored: DSC 40A (4x), DSC 140A, MATH 18

Work & Research

Software Engineer Intern, Realtek Semiconductor Corp.

Jul – Aug 2026 · Hsinchu, Taiwan

Built boot-time profiling and CI tooling that makes ARM64 Linux boot regressions measurable and automatic.

−85%measurement variance (6s → 0.9s)
800+kernel initcalls profiled
2manual actions in the CI flow
  • C
  • Python
  • Jenkins
Details
  • Reduced measurement variance by 85% (6s to 0.9s) with boot-time profiling and UART log analysis tooling for ARM64 Linux, enabling reliable automated boot-regression detection.
  • Profiled 800+ kernel initcalls to identify Networking and UART/Serial as the top two contributors to the boot-time critical path, narrowing optimization focus to a small set of high-impact subsystems.
  • Built an end-to-end Jenkins/Gerrit CI pipeline integrating LLM-based patch review with automated build and boot validation on an ARM64-based embedded SoC platform, cutting the patch-to-boot-result workflow from fully manual to just 2 manual actions.

Graduate Research Assistant, NEXUS Research Group, CMU

Jan – May 2026 · Pittsburgh, PA

Optimized cooperative CUDA kernels for Gibbs sampling on a Blackwell GPU and traced what limits them as problems scale.

1M+spins scaled
~25%sweep time in grid-sync at 10K spins
  • CUDA
  • Nsight Compute
  • Nsight Systems
Details
  • Characterized GPU Ising workloads as memory-bound via roofline analysis and Nsight Compute/Systems profiling across topologies and precisions, contributing the GPU bottleneck decomposition to a cross-platform performance study.
  • Isolated synchronization overhead via barrier-injection linear regression, showing grid-sync cost reaches ~25% of sweep time at 10K spins but diminishes toward the bandwidth-bound limit at 1M+ spins, guiding kernel scheduling at scale.
  • Developed and optimized cooperative CUDA kernels for color-parallel Gibbs sampling on Blackwell GPU, scaling to 1M+ spins.

Projects

Scalable DLRM Inference Engine

Nov 2026 – Present · In progress

Recommendation models have embedding tables too big to keep entirely in GPU memory. This engine runs DLRM inference end to end on the GPU, caching hot embedding rows in VRAM and pooling the cold rows on the CPU, so it serves far more samples per second than a CPU-only baseline.

18×lower batch latency
31×less PCIe traffic
2.6×faster than CPU-only
2.1Msamples/s
  • CUDA
  • cuBLAS
  • C++
  • OpenMP
  • AVX2
Website → · Source →
host cpugpuCold rowshost DRAMAVX2partial poolingHot rowsin VRAMPool+InteractMLPcuBLASCTRPCIe
CPU-GPU tiered embeddings
Details
  • Cut batch latency by 18x (17.8 ms → 0.96 ms, 2.1M samples/s) over an 8-thread AVX2 CPU baseline with end-to-end GPU DLRM inference using cuBLAS MLPs and custom embedding-pooling and feature-interaction kernels.
  • Reduced PCIe traffic by 31x with CPU-GPU tiered embeddings, caching hot rows in VRAM and partially pooling cold rows on CPU with AVX2, running 2.6x faster than CPU-only with no rows cached on GPU.
  • Benchmarked partial pooling against zero-copy tiering across cache sizes on synthetic and real Meta traces, showing zero-copy only wins once 50%+ of rows are cached in VRAM.

FPGA Batch-1 FC Layer Accelerator

Oct 2026 – Present · In progress

A batch-1 LLM decode step is a matrix-vector product, so its speed is set by memory, not math. This project built that layer on an Ultra96-V2 FPGA, measured it across weight precisions and AXI port widths, and found where the DRAM wall is. A simple bandwidth model explains every point.

57%of LPDDR4 peak: the DRAM wall
<8%bandwidth model error
7.19 msread-probe = full kernel
  • Vitis HLS
  • C++
  • Python
sweepclockburstportsprecisionLPDDR4DRAMDDR ctrlAXI HP0AXI HP2FPGA fabricFC kernely = W xyUltra96-V2
Streaming weights from DRAM
Details
  • Characterized a batch-1 LLM decode-step FC layer on Ultra96-V2 across weight precisions and AXI port widths, locating a DRAM wall at 57% of LPDDR4 peak with a bandwidth model predicting all points within 8%.
  • Wrote a compute-free HLS read-probe kernel that matched the full kernel’s 7.19 ms latency, proving the limit lies in the memory path rather than compute; built the model-fit tool and a concurrent ARM-traffic host mode.
  • Mapped the accuracy-latency trade-off across weight precisions by measuring quantization error on a real Llama-2-7B matrix.

DAG Operator Fusion Scheduler

Feb 2026 – May 2026 · Completed

In deep neural networks, shuffling data between fast memory and DRAM often costs more than the math itself. This scheduler decides which operators to fuse and which tensors to keep close, slashing data movement across large DNN graphs.

−88%solver wall time
−35.8%end-to-end latency
  • C++
  • Operator Fusion
  • Graph Scheduling
  • DNN Dataflow
MMPWMMMMMMPWMMMMMMPWMM input fused: stays in fast memory
MM: MatMul · PW: Pointwise
Details
  • Scaled schedule search for large DNN operator graphs with graph-cut decomposition, reducing solver wall time by 88% (43s to 5s) with no loss in schedule quality.
  • Fused MatMul→Pointwise chains with in-situ output activation reuse (ISOA), keeping intermediate activations in fast memory instead of spilling them, which admitted fusion candidates the baseline had wrongly pruned.
  • Designed a retain-aware DP over the graph’s execution order that jointly chose fusion boundaries and which tensors to keep resident between subgraphs, contributing ~25% latency reduction on memory-bound benchmarks within a combined 35.8% end-to-end improvement.
Report (PDF) → · Poster (PDF) → · Source →

Power-Efficient RV32I Pipelined Processor

Jan 2026 – Apr 2026 · Completed

A 7-stage pipelined RISC-V CPU in SystemVerilog, optimized for both performance and performance-per-watt.

+26%geomean IPC
99.8% → 35%JALR mispredicts (FFT)
+45%MIPS/Watt
+60%clock frequency
  • SystemVerilog
  • RTL Design
  • C
PCI-cacheDecodeReg fileRASALUFwdD-cachewrite-backWB GShare + BTB branch redirect IF1IF2IDEXMEM1MEM2WB
7-stage RV32I datapath
Details
  • Architected 7-stage pipelined RISC-V processor in RTL with hazard detection, data forwarding, and branch resolution.
  • Improved geomean IPC by 26% with writeback D-cache integration and GShare branch predictor.
  • Reduced JALR mispredictions from 99.8% to 35% on FFT by designing a speculative Return Address Stack (RAS).
  • Optimized performance-per-watt via critical path reduction and cache tuning, achieving 45% MIPS/Watt gain and 60% clock frequency improvement over baseline.

Dynamic Memory Allocator

Oct 2025 – Nov 2025 · Completed

A from-scratch 64-bit malloc/free in C, tuned for memory utilization and throughput.

74.5%utilization
6,705Kops throughput
+24%utilization vs implicit list
  • C
  • GDB
  • Memory Management
heap +128 B ACDFnew 0x0000x0800x1000x1800x200 heap in use62%
Interactive demo
Details
  • Built segregated free lists with best-fit search, reaching 74.5% utilization at 6,705 Kops throughput.
  • Designed 16-byte mini-blocks with bit-packed header metadata, improving utilization by 24% over the implicit-list baseline.
  • Implemented boundary-tag coalescing for adjacent free blocks, plus a runtime heap checker validating alignment, free-list consistency and block invariants.

Skills

ML Systems & Compilers

  • PyTorch
  • TensorFlow
  • Operator Fusion
  • Graph Scheduling
  • DNN Dataflow

Performance Modeling

  • Roofline Analysis
  • Workload Characterization
  • gem5
  • SystemC

Parallel Programming

  • CUDA
  • NCCL
  • OpenMP
  • MPI
  • SIMD (AVX2, ISPC)

Profiling

  • Nsight Compute
  • Nsight Systems
  • Linux perf

Microarchitecture

  • Memory Hierarchy
  • Pipelining
  • Branch Prediction
  • RISC-V

Hardware Design

  • SystemVerilog
  • RTL Design
  • Vitis HLS
  • Out-of-Order (OoO) Execution

Languages & Tools

  • C++
  • C
  • Python
  • Bash
  • Git
  • Linux
  • Jenkins

Runs Completed

Half marathons
  • Rock 'n' Roll San Diego Half Marathon, 2024
  • Taipei Marathon (half), 2025