01Work
Things I've built.
Selected projects first: a deep learning framework with hand-written CUDA kernels, an LLM serving engine benchmarked against vLLM, an LLM pretrained on one 8 GB GPU, and a search engine running on a Raspberry Pi. Older and smaller projects are further down. Most are open source.
Showing 15 of 15
Selected
- 01
Kiosk
MLView project- A live news app that ingests 106 sources every 15 minutes (100K+ articles and growing). New articles show up in the app within a minute, with no restart.
- Search runs hybrid BM25 + dense retrieval in Qdrant, fused with RRF, adds query expansion only when results look weak, and reranks the top results with a cross-encoder. The home feed retrieves separately for each of the reader's interests, then ranks for relevance, freshness and MMR diversity.
- Detects breaking news without any click data: a story counts as breaking when many different outlets cover it in a short window. Groups articles into stories that keep the same ID across updates, so readers can follow them. RAG chat streams cited answers.
- Prototyped first, then rebuilt for production: FastAPI, PostgreSQL with Alembic migrations, Qdrant and Redis caching in Docker Compose, self-hosted on a Raspberry Pi 5 behind Cloudflare. The frontend is an installable PWA that opens offline.
- Performance: the production rebuild cut search p95 by 46% (104 → 56 ms) against the prototype on the same 90K-article corpus. Moving BM25 into Qdrant sparse vectors then cut the engine's memory by 64% (2.6 → 0.9 GB) so it fits the Pi, trading some latency for RAM. (In-process measurements on a laptop.)
- On the Raspberry Pi 5 (109K articles, measured over HTTP on the local network): the feed is served in 70 ms p50, or 22 ms from the Redis cache, and the engine uses 0.72 GB of RAM.
- 02
Tensorax
MLView project- Built a standalone tensor computation library from scratch with custom C++/CUDA kernels and Python bindings, without relying on NumPy, PyTorch, or cuBLAS.
- Implemented complete automatic differentiation (autograd) with computational graph and PyTorch-like API including neural network layers, optimizers, and loss functions.
- Hand-wrote a Tensor Core flash attention kernel in inline PTX (mma.sync, ldmatrix, cp.async) that reaches 24.7 TFLOPS, 0.79× cuDNN at long sequences, without calling any external math library.
- Published on PyPI with a complete neural network training pipeline including SGD, Adam optimizers, and multiple activation functions.
- Available on GitHub with comprehensive documentation and examples.

- 03
TinyGPT
MLView project- Pretrained TinyGPT, a 95M-parameter GPT (RoPE, GQA, RMSNorm), from scratch in PyTorch on 2.1B tokens of OpenWebText on one RTX 3070 Ti (8GB VRAM), using mixed precision, gradient accumulation and Liger fused kernels.
- Instruction-tuned it on Stanford Alpaca (val perplexity 7.3), exported it to ONNX, and run it in the browser via WebGPU on this site.
- Deployed an interactive Streamlit UI on a free-tier CPU with dynamic model switching. Published the model on HuggingFace and shared on GitHub and Streamlit Cloud.

- 04View project
- Built an LLM inference server from scratch in steps, benchmarking each one: a KV cache, static batching, then a continuous-batching engine that merges live requests into a rolling batch, with admission control that sheds load as HTTP 429 past capacity. Serves Qwen2.5-0.5B over FastAPI on one 8 GB GPU.
- Replaced recompute-on-rebatch with KV cache surgery (prefill only new requests and splice their KV in; slice finished rows out), and found an autograd memory leak in the serving path. Together these took peak throughput from 389 to 788 tok/s with zero errors up to 64 concurrent requests.
- Benchmarked against vLLM on the same GPU, model and prompts: 788 vs 9,370 tok/s at peak (about 4× at 1 request), about 4× slower per token. Main sources: PagedAttention for batch capacity and fused kernels and CUDA graphs for per-token latency. Found the time-to-first-token gap was my own engine's polling loop, not prefill: fixing it cut TTFT from 116 to 30 ms.
- Full write-up with every benchmark: Building an LLM Inference Server from Scratch.
- 05
QuillGPT
MLView project- Implemented a GPT decoder block with Self-Attention and Multi-Headed Attention using PyTorch.
- Developed and pre-trained two distinct models: Shakespearean GPT and Harpoon GPT. Deployed a Streamlit Playground for interactive model exploration.
- Leveraged FastAPI microservice for rapid development with Docker containerization for portability.
- Created Python scripts for training new GPT models and performing inference, so a new model can be trained and served without rewriting the pipeline each time.
- Designed and implemented a simple tokenizer for efficient text encoding and decoding. Wrote custom serialization and de-serialization methods for portability.
- 06View project
- Developed a Multimodal Retrieval-Augmented Generation (RAG) system using OpenAI’s CLIP and Whisper for cross-modal retrieval and semantic search across text, images, and audio, responding within 2-3 seconds.
- Deployed a Streamlit-based interface for searching, annotating and creating custom datasets and fine-tuning the CLIP model with configurable parameters for domain-specific applications.
- Implemented multimodal input support, allowing users to upload images, PDFs, and audio files or use real-time audio recording for enhanced interaction.
- Added URL-based image indexing and website scraping, so web content can be indexed and searched too.
- Utilized FAISS for efficient similarity search by aligning embeddings in a shared latent space.

- 07
OpenNN
MLView project- Developed a neural network training library in the style of TensorFlow 2, from scratch in Python and NumPy. It came before Tensorax.
- Implemented core neural network components including layers, activations, loss functions, and optimization algorithms.
- Install via PyPI:
pip install open-nn-python
- Created detailed documentation and example notebooks to demonstrate the usage and capabilities of the library.
More projects
- 01
AgentFlow
ML- Engineered a multi-agent orchestration platform using LangGraph to handle intent classification, planning, and automated tool execution.
- Built a workflow engine with custom scheduling (cron and interval) and JWT authentication, deployed with Docker.

- 02
Split.ai
MLView project- Architected a fault-tolerant receipt parsing engine with a multi-LLM fallback strategy (Gemini → Llama 3), so a failed parse retries on a second model rather than dropping the receipt.
- Implemented a graph-based debt simplification algorithm to minimize transaction volume and utilized Celery/RabbitMQ for asynchronous OCR processing.

- 03
ParkVision
WebView project- Developed an AI-driven parking analytics and customer segmentation dashboard utilizing the MVC architecture.
- Fine-tuned YOLOv8 with 0.968 mAP and EasyOCR with 85% accuracy for vehicle plate recognition, integrating the IDFY API for extracting vehicle details.
- Designed and created REST APIs using Django REST Framework and FastAPI.
- Designed and implemented Progressive Web App with downloadable capabilities, including frontend API caching.
- Leveraged PostgreSQL for data storage, Celery for background tasks, Redis for caching, and Docker for containerization.
- 04
DermaCare.ai
Web- Developed an AI-driven portal for early detection of skin diseases, targeting patients in rural areas and facilitating consultations with the nearest dermatologists.
- Built both a web platform and a mobile app: UI in Figma, web frontend in ReactJS, mobile app in Flutter, and a Django REST Framework backend.
- Trained a skin-disease classifier in TensorFlow, served it with FastAPI, and stored image uploads in S3.
- Shipped a TFLite version inside the mobile app so it works offline in low-connectivity areas.
- Built the whole project in 24 hours at a hackathon.

- 05
M2ConneX
WebView project- Designed and built M2ConneX, a platform for MMCOE alumni to connect and network.
- Built the backend with Django REST Framework and the frontend with React and Tailwind CSS, containerized with Docker.
- Added content moderation: an image classifier for NSFW images and a profanity checker (95% accuracy), flagging posts within 6-7 seconds.
- Built a recommendation system with Scikit-learn that suggests connections, posts and jobs based on a user's skills and experience.
- Used PostgreSQL for data storage, Celery for background tasks, and Docker for containerization.
- 06
Sonnet
MLView project- Developed a chatbot that suggests songs from a user's message by searching song lyrics with an LLM.
- Implemented LangChain for efficient natural language processing and FAISS Vectorstore for fast, accurate similarity search in song lyrics, delivering rapid responses in 2-3 seconds.
- Integrated a database of songs and lyrics to enhance the recommendation engine's accuracy and diversity.
- Created and optimized Python scripts for processing text inputs and querying the song database.

- 07
DevFinder
App DevView project- A social platform for college students and developers, with recommendations and real-time messaging.
- Built the mobile app in Flutter (designed in Figma), with infinite scrolling.
- Built the backend with Django REST Framework and a ReactJS web frontend.
- Added lazy content loading and API optimizations that cut latency by 65% at peak usage.
- 08View project
- Developed an email and text spam filter using ALBERT, an encoder-only transformer.
- Fine-tuned the ALBERT model on a spam detection dataset and deployed it on Hugging Face.
- Built and hosted a frontend interface using Streamlit for user interaction.