NightRun

Local LLM runtime that boots from USB with no conventional operating system

Image 1 of 3: Framebuffer chat mid-generation with Granite 4.1 and live tok/s in the status bar

A UEFI application in Rust that copies a quantized model into RAM, seals storage and chats on the framebuffer, with no kernel, network stack or host process. Hand-written AVX2 and NEON kernels use weights in place, and greedy output is pinned to llama.cpp.

  • 5.6 sBoot to chat
  • ~20 tok/sDecode (Llama 3.2 1B)
  • 3.0 tok/sDecode (Pi 5, Granite)

Trade-offs

  • UEFI Boot Services kept instead of ExitBootServices(). Keyboard, display and disk work without shipping drivers, but firmware stays underneath, so this is not pure bare metal.
  • Whole model in RAM, then storage sealed. Generation cannot perform I/O and speed follows memory bandwidth, but a model needs 4 to 8 GB of RAM.
  • Named model families, not arbitrary GGUF. Each family's quirks are handled faithfully, but a new architecture needs engine work and reference validation.

Q&A3

Greedy output is pinned token-for-token against llama.cpp for every supported model family, on every change. Tokenizers are tested against fixtures from the official Hugging Face tokenizers, chat templates against apply_chat_template.

Reviews

Loading reviews

    More in AI

    See all 7 →
    • ACE-Step StudioDesktop studio that writes and renders full songs with vocals on a local GPU
    • Texo20M-parameter LaTeX formula OCR model that runs in the browser
    • JustHireMeLocal-first workbench for job discovery, fit ranking and tailored documents
    • Bug Hunt BenchBenchmark of coding models on 105 bugs planted in two production repos
    • LLM WikiSelf-maintaining wiki that Claude compiles from raw sources over MCP
    • BoxOn-device AI suite for Android, hardened from Google AI Edge Gallery

    More in Local inference

    See all 43 →
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • AlzeoOne-command installer that turns a DGX Spark or GB10 box into an AI server

    More in LLMs

    See all 28 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • MetaScreenerMulti-LLM ensemble for systematic review screening
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • AurelioLocal wealth and planning app with an AI advisor that proposes changes
    • HisabDouble-entry ledger kept by texting a WhatsApp agent, in Urdu or English
    • KeystoneClinical benchmark that checks whether an answer moves with its evidence