Projects
Work with public proof: measurements, repositories, write-ups, and
live links.
Featured rumik-latency
Streaming inference for rumik-oss-1, Rumik's open Indic text-to-speech model: 158 ms → 32 ms to first audio on one H100, with the model unchanged and quality verified unchanged.
Problem
The stock transformers loop for rumik-oss-1 took 158 ms to produce the first audio frame and decoded at 55 tokens/s, slower than real time (0.55×), so playback stalled.
What I did
- CUDA graphs: one decode step (forward, sampling, stop check) captured once and replayed, removing the ~17 ms of CPU-side launch overhead per token.
- Static KV cache with length buckets (256 / 512 / 1024 / 2304), one graph per bucket, masked so the result is exact.
- torch.compile inside the graphs, fp32-reduction decode attention, compiled prefill, and an audio-only output head (16,385 rows instead of 277,404).
- Streaming Mimi codec decoder, frame by frame on its own CUDA stream so it overlaps the language model: 13 ms → 4.5 ms per frame.
- No model change: no retraining, no quantization, bf16 throughout.
Result
- Time to first audio 158 → 32.1 ms (p50); first audible speech 599 → 110 ms.
- Decode speed 55 → 301 tokens/s; real-time factor 0.55× → 2.84×, 0 stalls in 100 runs.
- Quality: 160 matched-seed pairs (same text, same seed, both paths) scored with ASR character error rate, UTMOS naturalness and speaker similarity show no distinguishable difference in any language group (paired bootstrap 95% CI).
- Teacher forcing on 15,228 positions: optimized-vs-stock next-token KL (1.04e-3) is within the stock-vs-stock noise floor (9.0e-4); against an fp32 reference the optimized path is closer than stock bf16.
- Measured on one H100 80GB, warm, 10 texts (English, romanized Hinglish, Devanagari Hindi, code-mixed) × 10 runs.
Streaming TTS inference · CUDA graphs · Static KV cache · torch.compile · PyTorch · Modal
Repository · Full report · Listening pairs
Featured AI Risk Evaluation Workbench
Red-team evaluation of five models against the same 15 attack strategies, with break rates, confidence intervals and a human check on the judge.
Problem
Compare how five assistants hold up against one adversarial suite, and report the numbers with the uncertainty they deserve.
What I did
- 15 attack strategies (8 legacy, 7 from recent research such as Crescendo, many-shot and best-of-N) × 5 trials × 5 models: 375 transcripts.
- Break rates with 95% Wilson intervals per model and per strategy.
- An LLM judge checked by hand on 48 labelled transcripts: 75% agreement (κ = 0.50), so break rates are reported as directional.
- Targets: gpt-5, deepseek-v4-flash, two OpenCode free-tier models, and qwen3-8b self-hosted on Modal.
- The EU AI Act label comes from the declared use case, not from a score; reports are evaluation records, not certificates.
Result
- Break rate from 9.3% (gpt-5, 7/75, CI [4.6%, 18.0%]) to 66.7% (qwen3-8b, 50/75, CI [55.4%, 76.3%]).
- structured_output (ask for the harmful content as a JSON record) broke all five models 5/5; context_overflow and memory_manip broke none.
- Stated limits: n = 5 per cell, so per-strategy rates are directional, not precise.
LLM red-teaming · Safety evaluation · Wilson intervals · Python · Modal
Repository · Live Space · Write-up
GitHub issue resolver
An autonomous agent that discovers, ranks and analyzes open GitHub issues, built in four hours at the HSRFC × OpenClaw Builders event in Bengaluru. It took first place.
What I did
- Runs fully local: no cloud, no servers.
- Packaged afterwards as an OpenClaw plugin for fetching and analyzing GitHub issues.
Agents · OpenClaw · GitHub automation
Repository · Write-up
Open source
Pull requests to other people's repositories.
Paused
MendSpeech. Dictation experiments: SpeechDamageBench (a deterministic acoustic-damage suite), a frozen 30-utterance, five-speaker benchmark, and a Wav2Vec2 greedy-CTC baseline. Repository