Better HN
topnewbestaskshowjobs
Log inSign up

MDK8888

42 karma · joined Jan 5, 2024 (2y ago) · 8 submissions

Submissions

comment 2y ago · link · parent

I built vllm from the ground up. Starting from the same kernels, I integrate them into GPT2, build the KV cache manager, the scheduler, and finally the FastAPI server on top. This is purely educational for now, but in the future it will become production ready.

2.

A Minimal Implementation of Vllm(github.com ↗)

3 points · by MDK8888 · 2y ago · 1 comment

comment 2y ago · link · parent

This has been added to the Readme under the 'Background' section.

comment 2y ago · link · parent

Hey, hope you're doing well! I've updated the repo with instructions on how to get started and documentation!

comment 2y ago · link · parent

A few months back, the PyTorch team released GPT, Fast (https://news.ycombinator.com/item?id=38477197), a collection of techniques to 10x the inference speed of Llama-2-7b.

This library generalizes those techniques (quantization, torch.compile, speculative decoding) to all Huggingface models, achieving an inference speed speedup of 6-7x.

As more optimization algorithms are discovered, I will post updates to the repo to HN.

6.

A Python Library to 6-7x the inference speed of your HF models(github.com ↗)

75 points · by MDK8888 · 2y ago · 15 comments

comment 2y ago · link · parent

SageMode is an open source python library for deploying, scaling, and monitoring your LLMs at scale. It's designed to be highly flexible but also standardized. You can deploy any Huggingface Model that exists in version 4.26 or earlier as well as any PyTorch Model. If you find any issues with it, open an issue-I'd love to iron out any problems.

8.

Show HN: SageMode - A Python library for deploying, scaling, and monitoring LLMs(github.com ↗)

3 points · by MDK8888 · 2y ago · 1 comment