{"slug":"tensorfold","name":"TensorFold","nameZh":"TensorFold（Zig 编写的本地大模型推理引擎，支持 Metal / CUDA / Vulkan）","category":"local-inference","categoryName":"Local inference & serving","audience":["ai-era"],"primary":"ai-era","openClosed":"open","pricing":"open-source","license":"Apache-2.0","maintained":"yes","officialUrl":"https://tensorfold.dev","repo":"https://github.com/ashhart/TensorFold","latestVersion":null,"latestRelease":null,"stars":1954,"starsAsOf":"2026-11-13","description":"TensorFold is an Apache-2.0 local LLM inference engine shipped as a single Zig binary that loads checkpoints, tokenizes requests and runs Metal or CUDA kernels directly on Apple Silicon and NVIDIA GPUs, with no Python or MLX required. It serves OpenAI-compatible chat completions, completions and Responses endpoints plus the Anthropic Messages API, includes a local web UI (tensorfold web), an Apple-silicon desktop app in beta, the TensorFold Starlight enterprise gateway and an experimental Living Weights feature. Install on macOS with Homebrew; Linux builds need NVIDIA driver R580 (CUDA 13.0) or newer. Latest release as of November 13, 2026: v1.2.7.","descriptionZh":"TensorFold 是以 Apache-2.0 许可证开源的本地大模型推理引擎，主体为 Zig 编写的单一二进制程序，直接读取模型权重、完成分词并调用 Metal 或 CUDA 内核，在 Apple 芯片和 NVIDIA GPU 上运行，部署时无需安装 Python 或 MLX。启动后提供与 OpenAI 兼容的 Chat Completions、Completions、Responses 接口以及 Anthropic Messages 接口，可通过 --parallel 控制并发流数量；tensorfold web 命令可打开本地网页界面挑选模型并对话。项目还提供 Apple 芯片桌面应用（测试版）、面向企业的统一网关 TensorFold Starlight（支持 OIDC/SAML 登录与按模型授权），以及实验性的 Living Weights 功能（运行中把新知识写入模型权重）。macOS 通过 brew install ashhart/tensorfold/tensorfold 安装；Linux 需 NVIDIA 驱动 R580（CUDA 13.0）及以上；Windows 需按官方文档本地编译。截至 2026 年 11 月 13 日最新版本为 v1.2.7。适合在 Mac 或 NVIDIA 显卡上自建本地模型服务的开发者。","callMethods":[],"platforms":["macOS","Linux","Windows"],"addedAt":"2026-11-13","updatedAt":"2026-11-13","topics":[],"language":null,"lastPush":null,"formerly":null,"packages":[],"recentVersions":[],"alternatives":["ollama","llama-cpp","vllm","cherry-studio","localai","exo","sglang","mlx"],"stacks":[],"scenarios":["switch-models","run-models-locally","use-ai-compliantly-in-china","learn-ai"],"problems":[],"reasonZh":null,"sources":["editorial"],"record":"https://aimap.page/api/v1/software/tensorfold.json","pages":{"en":"https://aimap.page/en/software/tensorfold/","zh-hans":"https://aimap.page/zh-hans/software/tensorfold/"}}