HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pythongiant

12 karmajoined 7 lat temu
@pythongiant(github) is an AI/ML researcher and engineer, currently a Research Intern at Microsoft Research India/ I build open-source tools and models around LLMs, transformers, and inference systems.

Submissions

[untitled]

1 points·by pythongiant·3 dni temu·0 comments

Show HN: TurboQuant for mlx-lm (Apple Silicon)

github.com
1 points·by pythongiant·4 dni temu·1 comments

Show HN: KVBoost – chunk-level KV cache reuse for HuggingFace, 5–48x faster TTFT

pythongiant.github.io
20 points·by pythongiant·2 miesiące temu·18 comments

CUDA Programming: From Zero to GPU Kernels – A Beginner's Guide

pythongiant.github.io
1 points·by pythongiant·6 miesięcy temu·1 comments

Show HN: I built GPT from scratch to understand how it works

pythongiant.github.io
7 points·by pythongiant·6 miesięcy temu·0 comments

comments

pythongiant
·4 dni temu·discuss
Hey guys, i'm especially interested in feedback on the kernel design and integration onto mlx lm.

Its on pypi as well as a simple pip install mlx-turboquant :P
pythongiant
·2 miesiące temu·discuss
KVBoost is a drop-in replacement for AutoModelForCausalLM. Same API surface (KVBoost.from_pretrained(...), engine.generate(...)), but with cross-request KV reuse, FlashAttention-2, AWQ layer streaming, and speculative decoding bolted on.
pythongiant
·2 miesiące temu·discuss
Here's the repository incase anyone wants to have a look at the code. leave a star if you find it interesting :P https://github.com/pythongiant/KVBoost
pythongiant
·2 miesiące temu·discuss
[flagged]
pythongiant
·2 miesiące temu·discuss
[flagged]
pythongiant
·2 miesiące temu·discuss
Thanks! this is a weekend project that i am working on in the side just to learn more about ml engineering and custom cuda kernels. didnt think much about the website
pythongiant
·2 miesiące temu·discuss
[flagged]
pythongiant
·2 miesiące temu·discuss
Makes sense, fixing that. thanks!
pythongiant
·2 miesiące temu·discuss
my initial choice was to use Rust for this actually (Probably should've too :P) but i went with python for an initial mvp/skeleton for a future rewrite
pythongiant
·2 miesiące temu·discuss
KVBoost is a chunk-level KV cache reuse library for HuggingFace models (pip install kvboost). It supports two recompute strategies (selective boundary and CacheBlend), int8/int4 KV quantization for 2–4x RAM reduction, disk-backed cold storage, and 11 architectures including Llama, Qwen, Gemma, Mistral, and Phi. On Qwen2.5-3B we measured 47.9x TTFT speedup on an 8-turn conversation, 21x on code context reuse, 100–743x faster than MLX, and 3–41x faster than vLLM-MLX — including interior chunk reuse where vLLM gets zero hits. Outputs are token-for-token identical to baseline under greedy decoding. Works best on 3B+ models with 500+ token shared context. GitHub: https://github.com/pythongiant/KVBoost
pythongiant
·2 miesiące temu·discuss
[dead]
pythongiant
·6 miesięcy temu·discuss
just published a beginner-friendly, hands-on guide to GPU programming with CUDA aimed at folks who are comfortable with basic programming but new to parallel computing. Instead of throwing API references and jargon at you, this guide takes you through the why and how of CUDA step by step. It starts from first principles and builds up to real, runnable code. The goal is to make CUDA intuitive. you’ll walk away understanding how your GPU executes work and how to write code that actually runs fast.