
Jian (Thomas) Zhang
ML engineer working on LLM inference: low-bit KV caches, GPU kernels, and silent accuracy bugs in serving engines.
hellothomaszhang@gmail.com · zhang.jian5@northeastern.edu
GitHub · LinkedIn · Google Scholar · ORCID · arXiv
I work on LLM inference: KV-cache quantization, attention kernels on NVIDIA Hopper, and tracking down cases where serving engines (vLLM, LMCache) return wrong answers without an error.
In 2026 I interned at ByteDance on an agent platform and at TikTok USDS on LLM agents for crash triage. Before that I spent three years as a machine learning engineer at an education-technology company in Beijing, where I took handwriting recognition from 93% to 99.6% word accuracy. I hold a Ph.D. in condensed matter physics from the University of Chinese Academy of Sciences (Institute of Physics), where I worked on numerical methods for strongly correlated electrons.
Publications
- Jian Zhang. Fast 4-bit KV-Cache Decoding on Hopper GPUs Without FP4 Hardware. arXiv preprint arXiv:2611.30027 (2026). arXiv · code
- Jian Zhang, Ming-Feng Tian, Guang-Xi Jin, Yuan-Feng Xu, Xi Dai. Implementation of LDA+Gutzwiller with Newton's method. Chinese Physics B 26, 017103 (2017). doi
Open source
Status as of 2026-11-30; most recent first.
| Item | What I did, and the result | Status |
|---|---|---|
| FlashInfer #10152, #10098 | My PR and tracking issue: a Hopper (SM90) decode kernel for the NVFP4 KV cache. On an H200 it is 1.17–2.12× faster than the faster of FlashInfer’s own FP8 decode kernels (XQA and FA2) at the six shapes measured. | PR open, in review |
| vLLM #70766 | My RFC: a fast Hopper path for 4-bit KV caches, with the kernel in FlashInfer and thin backend wiring in vLLM. | Open |
| vLLM #63081 | Data for a startup warning on a large first-layer key bias. Under the FP8 KV cache, MATH-500 drops from 71.0% to 0.5% on DeepSeek-R1-Distill-Qwen-7B and recovers to 71.5% with layer 0 in BF16. Cross-check in llama.cpp’s f8_e4m3 cache: calibrated per-layer scales do not help; of 10 checkpoints, exactly the five with a first-layer key bias collapse. |
PR open |
| vLLM #70274 | My PR: a backend-independent test that a request reading its own cached KV keeps its answer next to a longer fresh prompt. It catches the TurboQuant bug on main (8/8 answers lost) and passes with the fix in #67789. | PR open |
| LMCache #6701 | Showed the cache-identity bug also covers the KV dtype: fp8 and int8 caches read across each other give garbage after a restart, with no error. Tested the fix end to end on H200; the fix now keys on the dtype string, since fp8 variants share one torch dtype. | PR open |
| vLLM #54035 | A scheduling-level reproduction: with batch invariance on, FP8 KV + FlashAttention keeps as few as 8/16 prompts’ greedy tokens across schedules (0.33.0); the BF16 and Triton paths stay at 16/16. | Issue open |
| vLLM #46461, #67789 | Showed TurboQuant’s cached-KV bug (wrong answers under prefix caching or chunked prefill, no error) also affects UltraQuant; validated the fix end to end on H200: 0/4 → 4/4 correct on both triggers. | PRs open |
| vLLM #67176 | My RFC: UltraQuant’s 4-bit KV scale constant. Changing 0.156 to 0.2 lowers KL divergence by 40–56% on three models at the same memory. | Open |
| vLLM #41343 | Why the FP8 KV cache silently breaks Qwen2-family reasoning models (layer 0’s key bias), with measurements and a workaround. Post | Issue open |
Experience
- 2026.05 – 2026.09Machine Learning Engineer Intern, TikTok USDS Joint Venture, San JoseAn LLM-agent pipeline for crash triage and repair (a debugging agent paired with a code-fix agent): 31 root causes fixed across 4 releases, daily crashes down about 90%.
- 2026.01 – 2026.04Research Scientist Intern, ByteDance, San JoseAgent platform: hybrid keyword + vector skill retrieval (about 95% fewer context tokens, accuracy held past 1,000 skills), and a persistent to-do plugin for long multi-agent tasks.
- 2021.06 – 2024.08Machine Learning Engineer, Beijing TianXuewang Education Technology Co., Ltd.Handwriting recognition from 93% to 99.6% word accuracy, used in more than 100 schools; the product's first Chinese handwriting recognition.
- 2013 – 2018Ph.D. researcher, Institute of Physics, Chinese Academy of SciencesReplaced a solver that cycled without converging with Newton's method and an analytic gradient (90% less compute time); published in Chinese Physics B.
Education
- 2024 – 2026M.S., Computer Science, Northeastern University
- 2010 – 2018Ph.D., Condensed Matter Physics, University of Chinese Academy of Sciences
- 2006 – 2010B.S., Physics, Lanzhou University
Writing
-
Your 4-bit KV cache on Hopper is probably slower than FP8: why, and how to fix it
-
Adam and Newton both rescale the step. What's the difference? A tilted valley
-
Why linear mixing stalls, and what Newton's method fixes: Gutzwiller self-consistency as a worked example
-
One run is not a result: comparing KV-cache dtypes in vLLM
-
FP8 KV cache can silently break small Qwen2-based reasoning models in vLLM. Here's the one-line check.