LLM Inference

These posts run small open models, mostly Qwen2.5-0.5B, on a laptop CPU or Apple GPU and print the tensors involved: token IDs, logits, cache sizes, memory per precision. No API key is needed for any of them.

Tokens and the context window come first; decoding, KV cache, quantization and batching build on them.