跳到正文
Hugging Face Blog·· 2 天前精选AI 评分78

llama.cpp 与 ggml 正式发布 v1.0.0 版本

llama.cpp v1.0.0 : A stronger foundation for the local AI ecosystem

AI 导读

llama.cpp 与底层张量库 ggml 正式发布 v1.0.0 版本,确立严格遵循语义化版本规则,未来仅在主版本号更新时引入 API 和 ABI 的破坏性变更。目前该项目已支持超过 150 种模型架构变体及主流推测解码方法,并通过扩充多硬件 CI 基础设施与多平台打包渠道提升跨平台稳定性。

推荐理由

明确了语义化版本规则与接口兼容性保障,为下游本地多模态推理与端侧应用提供了长期稳定的工程依赖基石。

正文 · 原文

llama.cpp makes it possible to run multi-modal LLMs across a wide range of hardware - from consumer-grade local machines to high-end enterprise servers. Through quantization, optimized backends, and a portable C/C++ implementation, we make AI inference accessible at every level of the software stack. We believe this is the most lightweight, versatile and sensible platform for building cross-platform and private AI products.

During the 3.5 years since its inception, the project has grown a lot and many downstream applications already depend on our work. We expect this trend to continue as local AI and privacy become increasingly important in our everyday lives. Every new integration means more developers depending on our library interfaces and therefore having a flexible but stable API is paramount.

Today we release libraries v1.0.0, highlighting our responsibility to those developers. Moving forward, both llama.cpp and ggml will reflect API and ABI incompatibilities with major-version bumps. As adoption grows, we will be stricter about making those boundaries visible to downstream consumers.

Releases

Release Library Public header(s)
llama.cpp v1.0.0 - LLM inference in C/C++ libllama llama.cpp/include/
ggml v1.0.0 - Tensor library for machine learning libggml ggml/include/

Semantic version update rules

The following rules apply to all ggml-org projects using semantic versioning:

Change type Bump
MAJOR Breaking change to the public C API in ./include
MINOR Backward-compatible feature, backend updates, model support, or API addition
PATCH Bug fix with no API change

Distribution

We are looking forward to expanding the ways in which ggml-org software is distributed and reaches developers and end-users. For more information about how to add ggml-org projects to your packaging and release pipelines, please check the following discussion.

Channel Platforms
Pre-release artifacts Linux, macOS, Windows, Android, iOS
Docker Linux
Debian Linux
Homebrew macOS, Linux
conda-forge Windows, macOS, Linux
MacPorts macOS
Winget Windows
XCFramework iOS, macOS

Development

The project has fostered an amazing open-source community with highly-skilled and talented contributors. With the rapid advance of AI capabilities in the field of software engineering, we continue to adapt and integrate LLMs in our developement cycle in a thoughtful and resonable manner. Maintaining a high quality codebase, staying in control of the architecture and understanding the implementation details will remain our top priorities.

To reinforce the faster pace of development we continue to invest more and more resources in improving the CI infrastructure behind the projects. Thanks to HF technologies such as HF Buckets and HF Jobs we are able to scale the capacity necessary to guarantee correctness for every change that lands on the master branches. With hardware support from NVIDIA, AMD, Qualcomm, Arm, IBM and Intel, we continue to enroll more self-hosted runners across all major hardware platforms.

Backend and model coverage

The underlying machine learning engine of llama.cpp - ggml is designed to run on virtually any hardware in existence. This is achieved by implementing dedicated ggml backends. Each backend can be compiled as a dynamic library and optionally loaded at runtime.

A complete list of the currently implemented backends can be found here.

We are committed to provide continuous support of all model architectures. Currently, llama.cpp supports more than 150 architecture variants as well as all mainstream speculative decoding methods.

Thanks

The llama.cpp team at Hugging Face is thankful for the incredible support from the community. Special thanks to the long-time maintainers of the project and all contributors. This is a significant milestone which would not have been possible without our joint efforts!

Additional resources

来源:Hugging Face Blog · huggingface.co

EVAOO 主站实战落地 · 大模型与 AI 内容工程

看完情报?回到 EVAOO 主站直接上手工具与完整 SOP

返回 EVAOO 主站