Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- feat: Update llama.cpp to ggerganov/llama.cpp@3bd9aa1f9 and sync Python bindings

## [0.3.20]

- refactor: Replace deprecated llama.cpp references in library, docs, and examples by @abetlen in #2170
Expand Down
8 changes: 6 additions & 2 deletions llama_cpp/llama_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def _warn_deprecated(symbol: str, hint: str) -> None:
# GGML_TYPE_IQ1_M = 29,
# GGML_TYPE_MXFP4 = 39,
# GGML_TYPE_NVFP4 = 40,
# GGML_TYPE_COUNT,
# GGML_TYPE_Q1_0 = 41,
# GGML_TYPE_COUNT = 42,
# };
GGML_TYPE_F32 = 0
GGML_TYPE_F16 = 1
Expand Down Expand Up @@ -120,7 +121,8 @@ def _warn_deprecated(symbol: str, hint: str) -> None:
GGML_TYPE_IQ1_M = 29
GGML_TYPE_MXFP4 = 39
GGML_TYPE_NVFP4 = 40
GGML_TYPE_COUNT = 41
GGML_TYPE_Q1_0 = 41
GGML_TYPE_COUNT = 42

# from ggml-backend.h
# typedef bool (*ggml_backend_sched_eval_callback)(struct ggml_tensor * t, bool ask, void * user_data);
Expand Down Expand Up @@ -406,6 +408,7 @@ def _warn_deprecated(symbol: str, hint: str) -> None:
# LLAMA_FTYPE_MOSTLY_TQ2_0 = 37, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_MXFP4_MOE = 38, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_NVFP4 = 39, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_Q1_0 = 40, // except 1d tensors
#
# LLAMA_FTYPE_GUESSED = 1024, // not specified in the model file
# };
Expand Down Expand Up @@ -446,6 +449,7 @@ def _warn_deprecated(symbol: str, hint: str) -> None:
LLAMA_FTYPE_MOSTLY_TQ2_0 = 37
LLAMA_FTYPE_MOSTLY_MXFP4_MOE = 38
LLAMA_FTYPE_MOSTLY_NVFP4 = 39
LLAMA_FTYPE_MOSTLY_Q1_0 = 40
LLAMA_FTYPE_GUESSED = 1024

# enum llama_rope_scaling_type {
Expand Down
2 changes: 1 addition & 1 deletion vendor/llama.cpp
Loading