]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
conversion: accept BitNetForCausalLM architecture name (#25769)
authorKhashayar Ghafouri <redacted>
Thu, 16 Jul 2026 13:24:47 +0000 (18:54 +0530)
committerGitHub <redacted>
Thu, 16 Jul 2026 13:24:47 +0000 (16:24 +0300)
commit3278e921b1e66f0b21f83cc993a1c66019f38b68
treea225670bd28e60d7f5cc15fe31a6df43ac31b222
parent2e1fd76490af2bafd20ee7f2a27bd9f49774f674
conversion: accept BitNetForCausalLM architecture name (#25769)

Microsoft BitNet Hugging Face configs use BitNetForCausalLM while the
converter only registered BitnetForCausalLM, causing conversion to fail
with "Model BitNetForCausalLM is not supported".

Register both spellings in TEXT_MODEL_MAP and the Bitnet model class.

Fixes ggml-org/llama.cpp#25629
conversion/__init__.py
conversion/bitnet.py