The labSelected workApproach
Independent AI systems & performance engineer
SELECTED WORK / 2026

Speed is engineered.

I optimize LLM serving, GPU kernels, retrieval, and runtimes—turning bottlenecks into measured gains.

INSIDE THE OPTIMIZATIONNVIDIA A40 / C8

Don’t compute it twice.

How persistent KV reuse avoids repeated prefix computation Eight requests enter a GPU worker. In reuse mode a persistent KV store restores prefix state into GPU memory, while the GPU still performs decoding. In recompute mode the GPU computes the prefix again. The paths and tile activity are conceptual, not a profiling trace.
Restore the prefix into GPU memory. Decode still runs on the GPU.
RECORDED BATCH TIME
23.66 s5.40 s
4.38×vs recomputation
01 / REQUESTS
16K prefix · Qwen2.5-7B · BF16

Native-hot: 2.42 s, faster still. Paths are schematic, not live telemetry.

U.S. / Eastern time · Fully remote contractsINFERENCE  /  KERNELS  /  RETRIEVAL  /  SYSTEMSScroll to explore
4.38×

Persistent-cache speedup

NVIDIA A40 · 16K prefix · C8

38.1%

Lower kernel latency

Best of five measured QMM configurations

72×

Faster wavefunction grids

Versus the vectorized pyquante2 path

Feel the
difference.

One GPU. Three serving paths.
Explore what persistent prefix reuse changes—and where native-hot caching still wins.

PREFIX / CONCURRENCY
4.38×

Faster batch completion
with a persistent-cache hit.

18.26 seconds less batch time

Native-hot is faster. This result measures prefix reuse in a fresh process, not a universal serving speedup.

SECONDS / LOWER IS BETTER23.66 s

Mean batch wall time · Three repetitions per workload

5-SECOND NORMALIZED PLAYBACK
Qwen2.5-7B · BF16 · A40 · 64 output tokens
Recorded values. The playback does not run a benchmark.

Numbers.
Not adjectives.

Nine results across four layers.
Open a study to see the change, its context, and the evidence behind it.

09 STUDIES
01

Persistent KV reuse

NVIDIA / SERVINGPublished benchmark
4.38×Batch wall-time speedup

The engineering

Reuse a stored prefix in a fresh serving process instead of recomputing it.

A40 · Qwen2.5-7B · BF16 · 16K prefix · concurrency 8

Same-process native-hot cache was faster: 2.42 s. This is a persistent-cache result, not a blanket vLLM speedup. Three repetitions per cell; no statistical-significance claim.

Recorded comparison

Baseline23.66 s
Optimized path5.40 s
versus forced prefix recomputation. Lower is better.
02

Quantized matrix multiplication

GPU / QUANTIZED MATMULOpen PR · source snapshot
38.1%Lower kernel latency

The engineering

Change tile selection for large affine quantized matrix products.

M4 Max · 4-bit weights · BF16 activations · M=2048

Five tested configurations report 5.6–38.1% lower latency. Kernel-level measurements, not end-to-end model speedups. Submitted; not merged.

Explore five measured configurations

Upstream baseline28.483 ms
Proposed tile dispatch17.618 ms
38.1% lower latency in this configuration
03

Fuzzy search. 100K documents.

MOJO / TEXT SEARCHPublished benchmark
38.7×Warm-query speedup

The engineering

Replace the JavaScript search hot path with compiled Mojo kernels.

M4 Max · 100K docs · 16-code-unit patterns · warm

Warm results range from 8.8× to 38.7× across nine cells. The accelerated configuration uses 16 threads; this is not a single-thread comparison.

Recorded comparison

Baseline1,239.508 ms
Optimized path32.003 ms
versus Fuse.js 7.1.0. Lower is better.
04

Faster lexical ranking

MOJO / LEXICAL RANKINGPublished benchmark
1.10–1.95×Against optimized bm25s

The engineering

Precompute sparse scores, reduce allocation overhead, and batch queries.

M4 Max · 1K–100K docs · 5–20 query terms

Scoring variants differ between libraries. Numerical parity is measured against rank_bm25, not bm25s. The smaller optimized-baseline range is the headline.

Supporting measurement

9 workload cells
1K–100K documents. Five to twenty query terms. Each published ratio retains its original baseline.
05

Molecular wavefunction grids

MOJO / SCIENTIFIC COMPUTEPublished benchmark
72×Against vectorized baseline

The engineering

Evaluate a molecular-orbital grid with a compiled numerical kernel.

M4 Max · single thread · benzene / 6-31G* · 50³ grid

A 50³ single-orbital grid, not an entire chemistry simulation. The much larger legacy-PyQuante ratio is intentionally not the headline.

Recorded comparison

Baseline689 ms
Optimized path9.5 ms
versus the cclib pyquante2 / NumPy path. Lower is better.
06

Filtered vector retrieval

VECTOR SEARCH / TCPOpen PR · source snapshot
4,099QPSConcurrency 8 · recall 1.0000

The engineering

Use physical partitioning to avoid scanning unrelated vectors.

Cohere-100K · 768 dimensions · cosine · 1% filter

Serial p99 is reported separately as 1.5 ms. It is not p99 at concurrency 8. Connector PR is open; this is not leaderboard certification.

Supporting measurement

1.0000 recall
4,099 queries/second at concurrency 8. Serial p99 is a separate 1.5 ms observation.
07

27B-model serving on one GPU

NVIDIA H100 / SERVINGArchived result
781.3tok/sAggregate output throughput

The engineering

Serve a 27B model at 50-way concurrency on one H100.

H100 80GB · Gemma 3 27B · FP16 · 550 in / 256 out

Taken from the supplied August 26, 2026 documentation snapshot. The live documentation could not be rechecked for this edition.

Supporting measurement

50 concurrent requests
H100 80GB · Gemma 3 27B · FP16. Archived August 26, 2026 serving result.
08

Warm, deterministic execution

RUNTIME / STRUCTURED COMPUTEDocumented observation
0.83–0.93msDocumented warm NPV call

The engineering

Keep a signed compute runtime resident between typed function calls.

One representative operation · warm resident runtime

Excludes first-ever runtime provisioning, documented at about 110 s. Not end-to-end agent latency or a benchmark of every function.

Supporting measurement

0.93 ms
Representative finance.npv result. Warm execution only; first-time provisioning is excluded.
09

Memory-bounded phrase search

RUST / MEMORY BEHAVIOROpen PR · source snapshot
19.51MBPeak RSS · scored stress test

The engineering

Replace explosive position expansion with a linear-memory matching path.

Repeated-token phrase stress case · scored search

The baseline is a watchdog lower bound, not a measured exact peak. No memory-reduction percentage is inferred. Submitted; not merged.

Supporting measurement

163,840 comparisons
Exhaustive three-term checks against brute-force span matching, reported in the proposed patch.

Author-published, workload-specific results. Open PRs are proposed contributions, not upstream adoption. Recorded evidence is from the November 9, 2026 source review; benchmarks have not been independently rerun.

Angel Marinov — independent AI systems and performance engineer
ANGEL MARINOV / 0XAMLAB

INDEPENDENT AI SYSTEMS & PERFORMANCE ENGINEER

Angel Marinov.

I build and optimize the parts of AI systems where execution cost accumulates: inference paths, GPU kernels, search, and runtime internals.

Selected work includes persistent vLLM KV-cache reuse, compiled Mojo retrieval and scientific kernels, and proposed upstream changes to quantized matrix multiplication and phrase-query memory.

Agentic iteration.
Human ownership.

Coding agents are part of my daily workflow. The architecture, engineering decisions, validation, and final review stay with me.

MojoPythonC++ / RustGPU kernelsLLM serving
01Find the actual bottleneck

Start with the workload, hardware, and target metric. Measure the existing path before deciding what should change.

02Change the mechanism

Work where the cost is: data layout, allocation, dispatch, memory traffic, caching, or the algorithm itself. Use agents to explore; use evidence to choose.

03Keep correctness intact

Numerical agreement, semantic behavior, and lifecycle correctness belong beside the speed result. A faster wrong answer is not an improvement.

04Ship something reviewable

A focused change, a clear comparison, and explicit trade-offs. Work remains inside the client's approved environments and AI-tool policies.

The work behind the numbers

SCOPED ENGINEERING / REMOTEOPEN TO THE RIGHT PROBLEM

Bring a
bottleneck.

A serving path, a kernel, a retrieval workload,
or a runtime constraint.
Find me on GitHub

SEARCH BY TECHNOLOGY, WORKLOAD, OR RESULT · ESC TO CLOSE
PROJECT INQUIRY

Let’s make it faster.

Tell me what you’re building, where it slows down, and what a better result would look like.

Loading secure form…