]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model: Add support for Nanbeige4.2 (#25994)
authorzql <redacted>
Mon, 27 Jul 2026 15:04:18 +0000 (23:04 +0800)
committerGitHub <redacted>
Mon, 27 Jul 2026 15:04:18 +0000 (17:04 +0200)
commitb77d646751d01c0962bc203b6809e9d94f7d50b7
treeb0ea961c811201ee10089d1d8e4a6fa70cce3000
parent0324696b8e5fe340dc94b64714e4c9aab03084a2
model: Add support for Nanbeige4.2 (#25994)

* support nanbeige4.2 model

* fix

* fix flake8 Lint check

* fix loop bound check and drop redundant head_dim

---------

Co-authored-by: root <redacted>
conversion/__init__.py
conversion/nanbeige.py [new file with mode: 0644]
gguf-py/gguf/constants.py
gguf-py/gguf/gguf_writer.py
src/llama-arch.cpp
src/llama-arch.h
src/llama-context.cpp
src/llama-model.cpp
src/models/models.h
src/models/nanbeige.cpp [new file with mode: 0644]