Mindket

mini-infer

Newversion 1 · updated

Overview

A browser studio that simulates GPU PagedAttention block allocation, prefix caching, speculative decoding checks and KV-cache sizing. For engineers and students who want to see how LLM serving manages memory.

mini-infer is a kit in the Education category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python, with pip
  • Any web browser
Runs in
  • Web browser: the Space's page on Hugging Face, with nothing to install
  • Windows, macOS or Linux: the downloaded files, opened in a browser
  • Python: a PyPI package of the same name, named in the readme
Start with
pip install -U huggingface_hub
hf download prajwalpujari16/mini-infer --repo-type space --local-dir mini-infer
cd mini-infer

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

mini-infer is a browser studio that simulates how an LLM serving engine handles the KV cache on a GPU. It covers PagedAttention block pool allocation, prefix caching built on a copy-on-write radix tree, speculative decoding verification and KV-cache sizing by analytical estimate. It is a static page, so nothing runs on a server.

Who it suits

It suits people who want to watch memory management inside an inference engine rather than read about it.

Who might use this studio
IndustryWho uses itHow they use itExample
ML infrastructureServing engineersBuild intuition for cache memory behaviorStep through block allocation for a few requests
EducationStudentsLearn how paged attention worksWatch a block table fill up
AI researchResearchersReason about prefix sharing and speculationTry the speculative decoding acceptance verifier

If you want to benchmark a real serving engine, you can skip it, since this is a simulation.

Where to use it

You can use it online or open its files on your own computer.

  • Web browser: the Space's page on Hugging Face, with nothing to install
  • Windows, macOS or Linux: the downloaded files, opened in a browser
  • Python: a PyPI package of the same name, named in the readme
What the studio is good for
Use caseWhoWhat they get back
Learn paged attentionStudentsA visual feel for how blocks are handed out
Explore prefix reuseEngineersA simulation of requests that share a starting prefix
Size a KV cachePlannersAn analytical estimate of cache size

How to set it up

The hosted page needs nothing. To get the files you need Python and pip.

  • Python, with pip
  • Any web browser
  1. Install the huggingface_hub package.
  2. Download the Space's files into a folder.
  3. Move into that folder.
  4. Open index.html in a web browser.
pip install -U huggingface_hub
hf download prajwalpujari16/mini-infer --repo-type space --local-dir mini-infer
cd mini-infer

The readme also names a PyPI package, which installs with this command.

pip install mini-infer

How to use it

Open the Space online, or open index.html from your downloaded folder. Then try the interactive tools one at a time, starting with the block table allocator.

The interactive tools
ToolWhat it does
Virtual block table allocatorLets you see how cache blocks are given out from a pool
Copy-on-write radix prefix caching simulatorShows how requests can share a common prefix
Speculative decoding acceptance verifierChecks how drafted tokens would be accepted
KV-cache sizingEstimates cache size analytically

Example

You open the block table allocator and add a few requests, then watch blocks being assigned from the pool. Next you open the prefix caching simulator with two requests that start the same way, and see how that shared start is reused.

For newcomers and experts

If you are new to this, start with the block allocator. The KV cache is the memory a model keeps for the text it has already read, and paging splits it into blocks.

If you know the field, the studio models block tables, a copy-on-write radix tree for prefix reuse and the acceptance check in speculative decoding. The readme names Qwen2.5 0.5B Instruct and 1.5B Instruct, and a serving traces dataset.

  1. Open the studio
  2. Pick a tool to simulate
  3. Adjust requests and settings
  4. Watch blocks, prefixes or acceptance change

Good to know

This is a simulation and an analytical sizing aid, not a live serving engine.

  • Static page: plain HTML and CSS, with no server code
  • Models: the Space names Qwen2.5 0.5B Instruct and Qwen2.5 1.5B Instruct
  • License: apache-2
  • Cost to run: none named
  • Data it reaches: nothing beyond its own files is named in the notes
  • Not for: benchmarking or running a real serving engine

README and files

README

mini-infer

A browser studio that simulates GPU PagedAttention block allocation, prefix caching, speculative decoding checks and KV-cache sizing. For engineers and students who want to see how LLM serving manages memory.

Made by prajwalpujari16 on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: mini-infer is a browser studio that simulates how an LLM serving engine handles the KV cache on a GPU. It covers PagedAttention block pool allocation, prefix caching built on a copy-on-write radix tree, speculative decoding verification and KV-cache sizing by analytical estimate. It is a static page, so nothing runs on a server.

Who it suits: It suits people who want to watch memory management inside an inference engine rather than read about it.

Title: Who might use this studio
Industry | Who uses it | How they use it | Example
ML infrastructure | Serving engineers | Build intuition for cache memory behavior | Step through block allocation for a few requests
Education | Students | Learn how paged attention works | Watch a block table fill up
AI research | Researchers | Reason about prefix sharing and speculation | Try the speculative decoding acceptance verifier

If you want to benchmark a real serving engine, you can skip it, since this is a simulation.

Where to use it: You can use it online or open its files on your own computer.

  • Web browser: the Space's page on Hugging Face, with nothing to install
  • Windows, macOS or Linux: the downloaded files, opened in a browser
  • Python: a PyPI package of the same name, named in the readme
Title: What the studio is good for
Use case | Who | What they get back
Learn paged attention | Students | A visual feel for how blocks are handed out
Explore prefix reuse | Engineers | A simulation of requests that share a starting prefix
Size a KV cache | Planners | An analytical estimate of cache size

How to set it up: The hosted page needs nothing. To get the files you need Python and pip.

  • Python, with pip
  • Any web browser
  1. Install the huggingface_hub package.
  2. Download the Space's files into a folder.
  3. Move into that folder.
  4. Open index.html in a web browser.
pip install -U huggingface_hub
hf download prajwalpujari16/mini-infer --repo-type space --local-dir mini-infer
cd mini-infer

The readme also names a PyPI package, which installs with this command.

pip install mini-infer

How to use it: Open the Space online, or open index.html from your downloaded folder. Then try the interactive tools one at a time, starting with the block table allocator.

Title: The interactive tools
Tool | What it does
Virtual block table allocator | Lets you see how cache blocks are given out from a pool
Copy-on-write radix prefix caching simulator | Shows how requests can share a common prefix
Speculative decoding acceptance verifier | Checks how drafted tokens would be accepted
KV-cache sizing | Estimates cache size analytically

Example: You open the block table allocator and add a few requests, then watch blocks being assigned from the pool. Next you open the prefix caching simulator with two requests that start the same way, and see how that shared start is reused.

For newcomers and experts: If you are new to this, start with the block allocator. The KV cache is the memory a model keeps for the text it has already read, and paging splits it into blocks.

If you know the field, the studio models block tables, a copy-on-write radix tree for prefix reuse and the acceptance check in speculative decoding. The readme names Qwen2.5 0.5B Instruct and 1.5B Instruct, and a serving traces dataset.

Open the studio
Pick a tool to simulate
Adjust requests and settings
Watch blocks, prefixes or acceptance change

Good to know: This is a simulation and an analytical sizing aid, not a live serving engine.

  • Static page: plain HTML and CSS, with no server code
  • Models: the Space names Qwen2.5 0.5B Instruct and Qwen2.5 1.5B Instruct
  • License: apache-2
  • Cost to run: none named
  • Data it reaches: nothing beyond its own files is named in the notes
  • Not for: benchmarking or running a real serving engine

On Hugging Face, 13 November 2026

  • Likes: 1
  • Built with: static
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
mini-infer This page1staticapache-2.0
The Ultra-Scale PlaybookShares static4,131staticapache-2.0
LLM训练终极指南 | The Ultra-Scale PlaybookShares static281staticapache-2.0
Attention VisualizationShares static200staticapache-2.0
Number Tokenization BlogShares static127staticmit
Train the agent slidesShares static20staticapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

MN-Violet-Lotus-12B-GGUF

mradermacher · Kit

Static GGUF files of FallenMerick's MN-Violet-Lotus-12B in sizes from 4.9 GB to 13.1 GB. For people who run a 12B model on their own computer.

New

T5 Small

google-t5 · Kit

Turns one text into another with a small 60M-parameter T5 model that treats translation, summarization, question answering and classification as text-to-text j…

New

VGGT-1B

facebook · Kit

Infers a scene's 3D structure from one, a few or hundreds of images in a single forward pass, including camera parameters and depth maps. It suits computer vis…

New

Similar in Education

See all in Education

Vāgdhenu by prathoshap

prathoshap · Kit

Reads classical Sanskrit verses aloud in a chant style, using one trained voice and a reference clip that sets the rhythm. For people who study, recite or need…

New

Limite 1B - Violetto

paradigma-inc · Kit

Solves hard math problems with a 1B-parameter model trained from scratch for fast, high-volume reasoning. It suits developers who run math workloads on an NVID…

New

Agaram 2.5B

murai-labs · Kit

Chats in Tamil script, romanized Tamil and English, and translates between Tamil and English. A 2.5B model built from scratch by Murai Labs, for Tamil speakers…

New