光轨资源网 / 开源项目
ashhart/TensorFold
适用于 Metal、CUDA 和 Vulkan 的 LLM 推理引擎。
可以做什么
TensorFold 通过 Apple Silicon 和 NVIDIA GPU 上的 Zig 二进制文件为语言模型提供服务。
怎么部署
Quick start
Start with Qwen3.5-2B, the small 4-bit checkpoint checked on Metal and a GB10. The commands below download its
pinned revision, then serve it as local-model. Model weights have their own licenses.
Reviewing or benchmarking TensorFold? [Evaluating TensorFold](docs/evaluating.md) covers pinning, signature checks,
a container and the tests that need no GPU.
Mac with Apple Silicon
Install with Homebrew, then start the server:
brew install ashhart/tensorfold/tensorfold
tensorfold pull mlx-community/Qwen3.5-2B-MLX-4bit@93760be4f1f69842a46bc13dbdc0f19e291392a3
tensorfold serve mlx-community/Qwen3.5-2B-MLX-4bit --name local-model --context 8192 --no-thinking
Linux with an NVIDIA GPU
Use the release archive for your CPU: linux-aarch64 on a GB10, linux-x86_64 on an x86_64 host.
It needs glibc 2.28 or newer and NVIDIA driver R580 or newer (CUDA 13.0), providing libcuda.so.1. Keep the archive's directories together.
Its kernels are built with CUDA 13, so TensorFold refuses an older driver at startup; nvidia-smi shows the installed one.
See the [CUDA runbook](RUNBOOK.md#linux-and-cuda) for runtime libraries and supported GPUs.
V=1.2.7
case "$(uname -m)" in
aarch64|arm64) PLATFORM=linux-aarch64 ;;
x86_64) PLATFORM=linux-x86_64 ;;
*) echo 'No release archive for this CPU' >&2; exit 1 ;;
esac
curl -fLO "https://github.com/ashhart/TensorFold/releases/download/v$V/tensorfold-$V-$PLATFORM.tar.gz"
curl -fLO "https://github.com/ashhart/TensorFold/releases/download/v$V/tensorfold-$V-$PLATFORM.tar.gz.sha256"
sha256sum -c "tensorfold-$V-$PLATFORM.tar.g
## 项目信息
**项目地址**:https://github.com/ashhart/TensorFold
**语言**:Zig
**Star 数**:1811(2026-11-12 采集)
## 原文简介(English)
LLM Inference Engine for Metal, CUDA and Vulkan.
本站资源用于学习与开发参考,请遵守对应授权协议。