GitHub Trending | 📄 原文链接 | 2026-11-16 收录

零依赖的 C/C++ 张量库:一份源码从 x86 跑到 RISC-V

来源:GitHub · ggml-org/ggml — 2026-11-16 · ⭐ 15,842 stars · C++

📋 概述

ggml 的目标很直接:把机器学习用的张量库写成可移植、够快、装起来不费劲的样子。纯 C/C++ 实现、不带任何依赖,x86、ARM、RISC-V、LoongArch、PowerPC、s390x 与 WebAssembly 都能编译,CPU、GPU、NPU 与浏览器都有后端,支持 2 到 8 位整数量化以及 MXFP4、NVFP4 微缩放格式。

🔑 核心要点

💡 金句

The main goal of ggml is to be a simple, portable, and efficient tensor library for machine learning with minimal setup.
← 返回 GitHub Trending 首页