Transformer GPU Kernel Optimization
A notebook-based investigation of inference performance: quantization, KV caching, tiled attention, speculative decoding, and fused Triton softmax kernels.
AKARSH MALIK / SOFTWARE ENGINEER · ML SYSTEMS & AGENTIC AI
Open to opportunitiesGPU KernelsLLM InferenceSystems
I’m Akarsh, a software engineer focused on GPU kernels, LLM inference, and performance-oriented ML systems, with experience building agentic AI systems and production software.
MS Computer Science @ NYU / New York
Triton / PyTorch / GPU Kernels
Latency / μs Lower is better ↓
Measured across 3 captured decode inputs.
01 / GPU KERNELS & INFERENCE
GPU KERNELS / INFERENCE RUNTIME
FastInfer is an experimental LLM inference optimization project exploring how custom GPU kernels translate from microbenchmark improvements to real model-level performance.
It implements Triton kernels for common transformer operations and evaluates them against PyTorch references for correctness, latency, and integration into cached Qwen decoding.
Kernel optimization. Implemented and benchmarked a Triton GEMV kernel for single-token inference, alongside RMSNorm, softmax, and SwiGLU kernels.
Correctness. Validated GPU outputs against PyTorch and higher-precision references before performance measurement.
Model integration. Integrated opt-in kernel replacements into cached Qwen decoding and measured whether isolated kernel improvements translated into lower end-to-end latency.
Latency / ms/step Lower is better ↓
−1.588 ms/stepsaved versus baseline
02 / PROJECTS
Inference optimization, interactive data visualization, and real-time auctions.
A notebook-based investigation of inference performance: quantization, KV caching, tiled attention, speculative decoding, and fused Triton softmax kernels.
Turn a CSV file and a plain-English prompt into an interactive D3.js chart - no code required. Supports 16 chart types with interactive sliders and filters.
A real-time, multi-phase auction platform supporting descending Dutch auctions, ascending English auctions, and round-based elimination.
03 / ENGINEERING BACKGROUND
Professional experience and selected technical leadership.
At a glance
AB InBev
FULL-TIMEAug 2023 - Aug 2025
AB InBev
INTERNSHIPJun - Jul 2022
Quantale
INTERNSHIPSep - Nov 2021
Led open-source initiatives, managed cybersecurity events, and contributed to web and CTF infrastructure at NIT Trichy.
04 / ALGORITHMS & PROBLEM SOLVING
LeetCode Knight with a peak contest rating of 1963. My algorithm practice includes graphs, dynamic programming, trees, and binary search.
Graphs / Dynamic programming / Trees / Binary search
View LeetCode profile
AKARSH MALIK / NEW YORK
05 / BACKGROUND
I’m pursuing my master’s in Computer Science at NYU after two years as a Data Scientist at AB InBev. My work includes agentic AI projects using LangGraph and LangChain, alongside interests in distributed systems and LLM orchestration.
I’m currently working on Triton kernels and studying how kernel performance translates to LLM inference latency.
Running (4:50 min/km) · Hiking · Systems rabbit holes
06 / EDUCATION
M.S. Computer Science
Sep 2025 – May 2027 · GPA 3.88/4
Deep Learning / Machine Learning / Operating Systems / Design and Analysis of Algorithms
B.Tech in Instrumentation and Control Engineering
Jul 2019 - May 2023 · GPA 8.27/10
Distributed Systems / Machine Learning / Big Data Analytics
Python / SQL / C++ / Java / JavaScript / Shell
PyTorch / Transformers / LLMs / RAG / Triton / ONNX / FAISS / LangGraph / LangChain
Node.js / REST APIs / WebSockets / Docker / PostgreSQL / Redis / Elasticsearch / Kubernetes
Azure / AWS / Databricks / Delta Lake