TensorFold: Accelerated Local LLM Inference Framework

X postMiaAnnouncement

Mia (@MiaAI_lab) introduces TensorFold, a tool providing optimised runtime recipes for local LLM inference. Community benchmarks demonstrate a 1.9x to 2.5x speedup over stock llama.cpp under identical power draw.

Key points

  1. Straightforward setup and deployment using a single startup script (./start.sh).
  2. Achieves 56.3 tok/s on a single stream with Qwen3.8-Flash-Next on DGX Spark (stock llama.cpp: 30 tok/s).
  3. Delivers 204 tok/s aggregate throughput across 8 streams compared to 108 tok/s on llama.cpp.
  4. Prefill throughput reaches ~2,500 tok/s, up from ~1,050 tok/s on llama.cpp.
  5. Yields 1.9x to 2.5x speed improvements at the same power consumption profile (~62 W).

Why it matters

For engineers and organisations self-hosting LLMs on dedicated or edge hardware, TensorFold delivers significant decoding and prefill speedups without inflating power requirements.

Analysis

Performance and Benchmark Results

TensorFold introduces optimised execution pipelines for running open-weight language models locally. Community member @TokensAtHome tested the framework's Qwen3.8-Flash-Next recipe on a single DGX Spark, reporting substantial gains over stock llama.cpp:

  • Single-stream decode: 56.3 tok/s (close to the 55.6 tok/s stated in the README), representing a 1.88x speedup over llama.cpp's 30 tok/s.
  • Batched decode: 204 tok/s across 8 concurrent streams versus 108 tok/s.
  • Prefill processing: Approximately 2,500 tok/s compared to 1,050 tok/s, representing a 2.38x improvement.

Practical Considerations

A central practical benefit noted by early adopters is ease of deployment via ./start.sh. User feedback indicates strong performance in single-user environments, while multi-session concurrency remains an area under active development.

Original post

Mia

@MiaAI_lab · 15 November 2026

Welcome to TensorFold. t.co/k0u8BYh8t3

123 likes9 replies31 bookmarks11.5k views

View on X
Selected replies (5)
  • @Sidrisi786 @MiaAI_lab 56.3 divided by 30 is 1.88x. 2,500 divided by 1,050 is 2.38x. The 2.5x in that line is the prefill. A warm chat spends its time in decode. I would budget 1.88x, which is 3,378 tokens a minute at 56.3 tok/s. Was the 204 tok/s at 8 streams decode only?
  • @cn_siva @MiaAI_lab While TensorFold excels for single users 🔥🔥🔥, it currently struggles with multi-session usage. I’m really looking forward to seeing how it improves. Ref: t.co/TKYTkZPxu7
  • @Juan_Phoenix7 @MiaAI_lab Hi Mia, turboderp just updated his Qwen3.8-27B-exl3. Any plans to update your version based on turboderp's new one? I think your version with d2flash is great.
  • @thesimaximalist @MiaAI_lab That “one./start.sh and it just worked” is a keeper. Congrats on TensorFold ❤️
  • @TokensAtHome @MiaAI_lab Thanks Mia! One ./start.sh and it ran, nice work. Is a recipe for 27B dense on the list? That's still my daily driver.

Summary generated by AI (Gemini 3.8 Flash, 17 November 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:ashhart/TensorFold

    TensorFold: LLM Inference Engine for Apple Silicon and Modern NVIDIA GPUs

    TensorFold is an open-source inference engine designed to serve large language models on Apple Silicon (via MLX/Metal) and newer NVIDIA GPUs (Compute Capability 8.9+). It provides OpenAI- and Anthropic-compatible endpoints with model-tailored kernels and speculative draft verification.

    1.1kstarsPython

    AI & LLMs· Tool

  • Repository:MiaAI-Lab/Qwen3.8-Flash-Next-Single-DGX-Spark-TensorFold

    Running Qwen3.8 Flash Next on a Single NVIDIA DGX Spark

    This repository provides a deployment recipe to serve Qwen3.8 Flash Next on a single NVIDIA DGX Spark (GB10, 128 GB). By leveraging a patched TensorFold Zig engine and NVIDIA's FP4 QAD quantization, it exposes an OpenAI-compatible API for text, vision, and video.

    463starsPython

    AI & LLMs· Tool

  • X post:Mia

    Performance Update for Qwen3.8 Flash Next on DGX Spark

    Mia (@MiaAI_lab) announced a major performance update for Qwen3.8 Flash Next running on a single DGX Spark, achieving up to 108 tok/s across concurrent streams and extending the KV cache to 1M.

    520bookmarks75.7kviews

    AI & LLMs· Announcement

  • Repository:drumih/turbo-fieldfare

    TurboFieldfare: Gemma 4 26B-A4B Inference in 2 GB RAM on Apple Silicon

    TurboFieldfare is a dedicated Swift and Metal runtime designed to run Google's Gemma 4 26B-A4B on Apple Silicon Macs within an approximately 2 GB RAM budget. It avoids loading the full 14.3 GB model into memory by keeping only the 1.35 GB core and KV cache in RAM while streaming the required mixture-of-experts weights from SSD on demand.

    6.6kstarsSwift

    AI & LLMs· Tool

  • Repository:google-ai-edge/LiteRT-LM

    LiteRT-LM: Google's Open-Source Inference Framework for On-Device LLMs

    LiteRT-LM is an open-source inference orchestration layer from Google designed to run large language models directly on edge devices. It leverages GPU and NPU acceleration and powers on-device generative AI features in Chrome, Pixel Watch, and Chromebook Plus.

    6.4kstarsC++

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.