NewsCrawler.org

PrismML fork of llama.cpp: low-bit model formats and speculative decoding

LLM inference in C/C++. Contribute to PrismML-Eng/llama.cpp development by creating an account on GitHub.
Image: github.com

This repository is the PrismML fork of llama.cpp, the main line behind the Bonsai models, developed on the prism branch as prism-v7. It tracks current mainline llama.cpp and adds the fork's low-bit[1] formats and runtime features on top.

Model files come in the GGUF[2] format, and the README gives guidance on which ternary file to use. The *-PQ2_0.gguf file is preferred on Metal, CUDA, HIP and CPU and is about 6% smaller than the group-64 variant. The *-Q2_0_g64.gguf file runs on every backend and on mainline llama.cpp, and the README advises it if unsure; newer releases name it *-Q2_0.gguf. In older model repos, *-Q2_0.gguf is a deprecated legacy format that does not load on these builds; the error tells you which file to get instead, and the frozen prism-v5 line with its final release prism-b9601 can run it.

Speculative decoding[3] is supported through mainline's draft-dspark plus fork patches, and drafters for older releases need a one-time conversion with gguf-dspark-to-dflash. Newer releases ship ready-to-use drafters. The README warns not to build from prism-v6, a stale snapshot caught mid-migration, and not to mix this fork's ggml[4] libraries with a stock llama.cpp build.

Repository llama.cpp github.com

Open source C/C++ library for running LLM inference locally, on CPU and GPU, including the GGUF model format.

Stars: 136,121Forks: 26,037License: MITUpdated:

Read the original github.com

Sources

  • github.com

    GitHub - PrismML-Eng/llama.cpp: LLM inference in C/C++

    3 mentions2 communities1 country

First seen: Читать по-русски

Open as a page