Quest 03 / 03 · Quick build
Time local prompt processing and token generation
- Python
- Ollama
- performance measurement
- data visualization
Why now A public llama.cpp dashboard separates prompt processing from output generation, while a local BitNet guide frames model choice around measured tasks. Build a small local timing run and keep its results distinct from the T4 records in the accompanying dataset.
Build it Use Ollama to run a repeatable set of short prompts on a locally available model, recording prompt-processing time and output-generation speed where the runtime exposes them. Plot those measurements beside the dataset's own records, with clear labels that prevent a cross-hardware ranking.
From the news
Tools
- Ollama
Ollama's runtime uses the MIT license, while model weights have their own licenses. Local execution has no Ollama usage charge; optional cloud inference uses metered credits, subscriptions and enterprise terms.
Data
- LLM Inference Latency on T4: TTFT, TPOT, Spread Kaggle
Published T4 inference latency records for Qwen3 and Llama, used as a separately labeled reference beside local timing results.
Steps
- Set up a small model through Ollama and check the selected model's terms; use local inference rather than a hosted endpoint.
- Load the T4 latency dataset and inspect its files and columns before selecting records for a reference plot.
- Run the same short prompt set repeatedly against the local model and save each run's timing output.
- Plot local measurements and dataset records in separate panels, using only timing fields available from each source.
Done when
- A repeat run writes local timing results to a file or notebook table.
- The output separates prompt processing from generation timing when the local runtime reports both.
- The reference plot identifies the dataset records as T4 results and does not rank them directly against local hardware.
Stretch goals
- Repeat the local run with another model that fits the computer and compare only measurements produced by the same setup.
