Skip to content
View BhargavKumarNath's full-sized avatar
💭
Coding
💭
Coding

Block or report BhargavKumarNath

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
BhargavKumarNath/README.md
Bhargav Kumar Nath — Data Scientist / Machine Learning Engineer. Patterns first. Precision always.

Portfolio · Project case studies · LinkedIn · Email

I build data pipelines, predictive models, and the systems that run them. My work ranges from causal inference on millions of records to Rust memory allocators and CUDA kernels for LLM inference.

Based in Leeds, UK · MSc Data Science & Analytics, University of Leeds (2024–2025) · Open to ML engineering and applied research roles.

Open source

Merged into apple/coreai-optimization · August 2026

Fixed a graph-mode quantization-aware training bug where a shared weight could use one module’s precision and another module’s training schedule. Aligned both with the same owner and added regression coverage.

Selected work

01 / Custom CUDA Kernels

12 hand-written kernels for LLM, MoE, and RAG workloads, exposed to PyTorch through Rust and PyO3. Three kernels validated inside a real Llama-3-8B block.

CUDA C++ Rust PyTorch PyO3 maturin

Source · Engineering notes

02 / PageForge

An on-demand paged KV-cache in Rust and CUDA. 8× less VRAM at 32 concurrent sequences, step 50, with a measured +33% P50 latency cost against Hugging Face DynamicCache.

Rust CUDA CuPy PyO3 DLPack

Source · Benchmarks & trade-offs

03 / Criteo Uplift

A 13.98M-row randomized ad experiment: estimate heterogeneous treatment effects, then use an X-Learner and a profit-aware bandit to decide who to target.

Polars LightGBM scikit-learn FastAPI

Source · Case study

04 / Customer Intelligence

A 109.95M-event behavioral pipeline built to run on a laptop. DuckDB and Polars power segmentation and propensity modelling, with explicit ordering to make repeated runs reproducible.

DuckDB Polars LightGBM Pydantic

Source · Case study

More projects — retrieval, quantization, forecasting & analytics
Project What I built Tools
FinSight-Alpha SEC filing retrieval with a bounded self-correction loop and budget-aware fallbacks. LangGraph, Qdrant, BM25, Groq, RAGAS
EMPAS Evolutionary mixed-precision search, with proxy estimates checked against GPU measurements. PyTorch, bitsandbytes, Hydra, NSGA-II
PricePoint Dynamics Forecasting and explainability over 9.5M UK supermarket price records. DuckDB, Polars, LightGBM, SHAP, FAISS
Andria Systems SEC 13F research pipeline with clustering, regime modelling, and an execution audit. DuckDB, Polars, HDBSCAN, UMAP, hmmlearn
Fitness Tracker Analysis Batch processing and held-out model evaluation on synthetic fitness data. PySpark, PyArrow, scikit-learn, DuckDB-WASM

Tools I work with

Python, Rust, C++, PyTorch, scikit-learn, Docker, FastAPI, Next.js

Area Current project stack
GPU & systems CUDA C++, Rust, PyO3, CuPy, DLPack, maturin
Modelling & evaluation PyTorch, scikit-learn, LightGBM, SHAP, bitsandbytes, RAGAS
Data & validation SQL, DuckDB, Polars, pandas, NumPy, PyArrow, Pydantic
Retrieval & agents LangGraph, Qdrant, BM25, sentence-transformers, FAISS, Groq
Delivery & tooling FastAPI, Next.js, React, Docker, pytest, Typer, Hydra

How I work

Validate the input → establish a baseline → measure the trade-off → ship → audit.

  • Keep predicted improvements separate from measured results.
  • Profile before fusing a kernel; keep the simpler version when it wins.
  • Make data ordering, evaluation splits, and repeated runs reproducible.

Read the engineering decision log →

Background & writing

Education: MSc Data Science & Analytics, University of Leeds (2024–2025); BTech Computer Science & Engineering, Assam Don Bosco University (2020–2024).

Experience: Data analysis at M/S Sanjog Trading; data engineering internship at IIT Guwahati; data analyst internship at Airports Authority of India. Full timeline →

Writing for LeedsFINsights:

On GitHub

Animated snake tracing my GitHub contribution calendar
Activity & language metrics GitHub activity and repository language metrics

Language metrics describe repository contents, not proficiency. Generated by the existing GitHub Actions workflows.


Have a problem involving messy data, model evaluation, or inference performance?
Let’s talk · precisionmechanism.dev

Pinned Loading

  1. Classifying-Grip-Strategies-Using-Machine-Learning- Classifying-Grip-Strategies-Using-Machine-Learning- Public

    Jupyter Notebook 1

  2. Understanding-The-Impact-of-Social-Isolation-and-Loneliness-in-a-Game-Environment- Understanding-The-Impact-of-Social-Isolation-and-Loneliness-in-a-Game-Environment- Public

    Jupyter Notebook 1