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

Repositoryashhart/TensorFoldTool

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.

Key points

  1. Provides API compatibility for Chat Completions, Completions, OpenAI Responses (/v1/responses), and Anthropic Messages (/v1/messages).
  2. Requires Python 3.11+ and MLX 0.32.2+ on Mac, and CUDA compute capability 8.9+ (Ada/RTX 40, Hopper, Blackwell, GB10, RTX 50 series); older RTX 30 cards are unsupported.
  3. Implements tailored model kernels and speculative drafting mechanisms (including MTP heads, DFlash2, and context copies).
  4. Includes vision capabilities via an optional extra package for models such as GLM-5.3-Flash and dense Qwen3.5/3.8 checkpoints.
  5. Handles multiple quantization standards including NVFP4, FP8, W4A16, and experimental EXL3.

Why it matters

TensorFold bridges hardware-level execution across Apple Silicon and the latest NVIDIA hardware with standard client API protocols. The inclusion of dedicated drafting mechanisms helps maximize inference efficiency on high-end local workstations and GPU servers.

Analysis

The project serves developers and infrastructure engineers looking for high-performance self-hosted inference compatible with popular client libraries. Its technical stack relies on Python, MLX, and modern CUDA math, intentionally excluding legacy GPUs below compute capability 8.9. In terms of maturity, the project is under active development with over 1,000 GitHub stars and an Apache 2.0 license, though some components (such as EXL3 support and select compiled GPU builds) remain experimental.

Found in

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

Similar in content, found by the AI search.

  • 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:ashhart/MCDMA

    MCDMA: RDMA Memory Access Linking Mac Studio, NVIDIA Spark, and AMD Strix Halo

    MCDMA enables Remote Direct Memory Access (RDMA) across heterogeneous workstations. Built in C under Apache-2.0, it bridges Apple Silicon Macs via Thunderbolt with Linux hosts like NVIDIA DGX Spark and AMD Strix Halo to accelerate distributed AI workloads.

    178starsC

    AI & LLMs· Tool

  • Repository:NVIDIA/Model-Optimizer

    NVIDIA Model Optimizer: Unified Library for Model Compression and Inference Acceleration

    NVIDIA Model Optimizer (ModelOpt) provides state-of-the-art model optimization techniques such as quantization, pruning, distillation, and speculative decoding. It accepts PyTorch, Hugging Face, and ONNX models and outputs optimized checkpoints ready for downstream engines like TensorRT-LLM, vLLM, and SGLang.

    5kstarsPython

    AI & LLMs· Tool

  • Link:drumih

    TurboFieldfare: Running Gemma 4 26B in 2 GB RAM on Apple Silicon

    TurboFieldfare is an open-source inference engine written in Swift and Metal that executes 4-bit Gemma 4 26B-A4B-IT on Apple M-series Macs using roughly 2 GB of RAM. While the model weights require 14 GB of disk space, the engine keeps only the shared model base and KV cache in memory and streams routed expert layers on demand directly from the SSD.

    AI & LLMs· Tool

  • Repository:LMCache/LMCache

    LMCache: Scalable KV Cache Management Layer for LLM Inference

    LMCache is an Apache-2.0 open-source caching layer designed to accelerate LLM serving by optimising and sharing Key-Value caches across processes and network nodes on Nvidia and AMD hardware.

    11.7kstarsPython

    AI & LLMs· Tool

  • Repository:FlashML-org/FreeToken

    FreeToken: Local Serving of 290B+ MoE Models on Consumer Hardware

    FreeToken is an open-source inference engine designed to run massive Mixture-of-Experts (MoE) models on desktop PCs and laptops. Using adaptive CPU-GPU co-execution, semantic caching, and dynamic VRAM management, it enables models like DeepSeek-V4-Flash and GLM-5.2 to run locally without datacentre infrastructure.

    11.7kstarsPython

    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.