Skip to content

1.2.2

Latest

Choose a tag to compare

@ArkaneFans ArkaneFans released this 26 Sep 11:22
· 106 commits to main since this release

备注:

本次更新实际上实现了高通骁龙CPU的GPU(opencl)和NPU后端,但经过测试,opencl后端存在无限重复、高版本android设备上无法使用系统opencl库等问题,所以暂时禁用,目前CPU后端仍是llama.cpp最推荐使用的后端。
llama.cpp相关二进制文件已从git仓库移除,如需编译请使用release中的预编译包或自行编译。

v1.2.2

新增

  • llama.cpp 支持 Hexagon NPU(实验性),适用于骁龙 8 Gen 2 及以上。可在服务配置中选择该后端,并设置卸载层数(0–99)。
  • 启动前会检测当前设备实际支持的 llama.cpp 后端。已保存的加速后端不可用时,自动改用 CPU。

优化

  • llama.cpp 的默认生成线程数由 2 调整为 4。
  • 内置 llama.cpp 运行时升级到 0.4.1。
  • 模型库部分提示组件UI进行优化。

Notes:

This update actually implements the GPU (OpenCL) and NPU backends for Qualcomm Snapdragon CPUs, but after testing, the OpenCL backend has issues such as infinite repetition and being unable to use the system OpenCL library on newer Android devices, so it is temporarily disabled. Currently, the CPU backend is still the most recommended backend for llama.cpp.
The llama.cpp-related binary files have been removed from the Git repository. If you need to compile, please use the precompiled packages in the release or compile them yourself.

New

  • llama.cpp supports the Hexagon NPU (experimental) on Snapdragon 8 Gen 2 and later. The backend can be selected in service settings, with an offloaded layer count from 0 to 99.
  • ServLlama checks which llama.cpp backends the device actually supports before starting. If the saved accelerator is unavailable, it falls back to CPU.

Improvements

  • The default llama.cpp generation thread count is now 4, up from 2.
  • The bundled llama.cpp runtime is updated to 0.4.1.
  • Optimize the UI of the prompt component in the model library section.

What's Changed

Full Changelog: 1.2.1...1.2.2