Hi, I'm William.
I'm a computer engineering student at the University of Waterloo, interested in making machine learning run efficiently on hardware. I work on kernels, models, and compilers. I also explore chip design and architecture, as well as mathematical optimization.
Experience
Education
Projects
Open source
Contributions to projects I care about. Select a row to see the details.
NVIDIA / tilus — GPU kernels & compilation
Tilus is an NVIDIA GPU domain-specific language providing explicit low-level control and hardware abstraction.
- Hopper matmul examples: wrote a progression of Hopper GEMM kernels reaching ~108% of cuBLAS throughput on an H100 (FP16, 8192³).
- Faster compilation: cut autotuning re-run latency via dependency-aware specialization keys and compiler fingerprinting, taking a full 12-schedule first call from ~3.1 s to ~65 ms (~48×).
CVXPY — Convex optimization
A Python-embedded modeling language for convex optimization, originating in a Stanford research project.
- Huber scale parameter: extended the
huberatom with a scale parametert, adding the perspective-based atomt·huber(x/t, M)so users can jointly optimize over the scale of a robust loss while preserving convexity and DCP compliance. - Dual feasibility checks: implemented constraint residuals across constraint types to enable post-solve dual feasibility checks.
CVXPYlayers — Differentiable optimization
Convex optimization-based layers for deep learning, compatible with PyTorch, JAX, and MLX.
- Custom solver interface: enabled custom solvers, including generated C code from CVXPYgen, in differentiable layers for PyTorch and JAX. Generated C solvers can enable 3.3× faster solve times than default paths.
DCCP — Nonconvex optimization
Disciplined Convex-Concave Programming, a convex heuristic for nonconvex problems.
- DPP compatibility: parametrized the linearization so each iteration updates parameters instead of rebuilding the problem, resulting in 30% speedups.
Mirage — Megakernel compiler
Contributing to Mirage Persistent Kernel, a megakernel compiler for models being developed by the CMU Catalyst Lab. Work in progress.