# Projects

Work with public proof: measurements, repositories, write-ups, and live links.

## 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.

Keywords: Streaming TTS inference, CUDA graphs, Static KV cache, torch.compile, PyTorch, Modal

Links: [Repository](https://github.com/Ashwinhegde19/rumik-latency) · [Full report](https://github.com/Ashwinhegde19/rumik-latency/blob/master/docs/REPORT.md) · [Listening pairs](https://github.com/Ashwinhegde19/rumik-latency/tree/master/samples/listening_pack)

## 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.

Keywords: LLM red-teaming, Safety evaluation, Wilson intervals, Python, Modal

Links: [Repository](https://github.com/Ashwinhegde19/ai-risk-evaluation-workbench) · [Live Space](https://ashwinhegde19-ai-risk-evaluation-workbench.static.hf.space/) · [Write-up](https://ashwinhegde.com/posts/2026/llm-safety-benchmark-what-i-learned)

## 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.

Keywords: Agents, OpenClaw, GitHub automation

Links: [Repository](https://github.com/Ashwinhegde19/github-issue-resolver-plugin) · [Write-up](https://ashwinhegde.com/posts/2026/openclaw-hackathon)

## Open source

Pull requests to other people's repositories.

- [omacom/omarchy #14138](https://github.com/omacom/omarchy/pull/14138) — Keep OCR'd screen text out of clipboard history (open)
- [omacom/omarchy #14135](https://github.com/omacom/omarchy/pull/14135) — Correct the sudo authorization timing described for update hooks (open)
- [commaai/opendbc #3849](https://github.com/commaai/opendbc/pull/3849) — test_models: add a test that fuzzes the tx messages (open)
- [openclaw/clawpatch #10](https://github.com/openclaw/clawpatch/pull/10) — feat: add opencode as a review/fix provider alongside codex (merged)
- [Kilo-Org/kilocode #6183](https://github.com/Kilo-Org/kilocode/pull/6183) — fix: disable mouse tracking on Windows terminal exit (merged)
- [facebookresearch/tribev2 #7](https://github.com/facebookresearch/tribev2/pull/7) — Fix: freeze TemporalSmoothing conv correctly and clean up pyproject.toml deps (open)

## Paused

- **MendSpeech.** Dictation experiments: SpeechDamageBench (a deterministic acoustic-damage suite), a frozen 30-utterance, five-speaker benchmark, and a Wav2Vec2 greedy-CTC baseline. [Repository](https://github.com/Ashwinhegde19/mendspeech)

Markdown version of https://ashwinhegde.com/projects on https://ashwinhegde.com/
