---
title: "gguf 0.18.0 Breaking Changes on PyPI | Since.dev"
description: "What each gguf release removed, renamed or changed: 31 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/gguf
last_updated: 2026-12-04
---

# gguf breaking changes

gguf 0.18.0 (February 27, 2026) is its newest release with breaking changes, 8 of them. The first: Removed gguf.SafetensorRemote.ALIGNMENT. Every breaking API change we have recorded in gguf on PyPI: 31 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.19.0`, released May 6, 2026. [Source repository](https://github.com/ggml-org/llama.cpp)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.17.0](#v-0-17-0) to [0.18.0](#v-0-18-0): 8 breaking changes in 1 version.

## gguf 0.18.0 breaking changes

gguf 0.18.0, released February 27, 2026: 8 breaking changes.

- **Removed** `gguf.SafetensorRemote.ALIGNMENT`  

gguf.SafetensorRemote.ALIGNMENT was removed in gguf 0.18.0 [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Removed** `gguf.utility.SafetensorRemote.ALIGNMENT`  

gguf.utility.SafetensorRemote.ALIGNMENT was removed in gguf 0.18.0 [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Signature changed** `gguf.Enum`  

Was from gguf.gguf_writer import Enum; now from gguf.vocab import Enum. [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Signature changed** `gguf.GGUFWriter.add_tensor`  

Was def add_tensor(self, name: str, tensor: np.ndarray\[Any, Any\], raw_shape: Sequence\[int\] | None = None, raw_dtype: GGMLQuantizationType | None = None) -> None; now def add_tensor(self, name: str, tensor: np.ndarray\[Any, Any\], raw_shape... [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Signature changed** `gguf.GGUFWriter.write_tensor_data`  

Was def write_tensor_data(self, tensor: np.ndarray\[Any, Any\]) -> None; now def write_tensor_data(self, tensor: np.ndarray\[Any, Any\], tensor_endianess: GGUFEndian | None = None) -> None. [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Signature changed** `gguf.Metadata.__init__`  

Was def \_\_init\_\_(self, name: Optional\[str\] = None, author: Optional\[str\] = None, version: Optional\[str\] = None, organization: Optional\[str\] = None, finetune: Optional\[str\] = None, basename: Optional\[str\] = None, description: Optional\[str\]... [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Signature changed** `gguf.np`  

Was from gguf.quants import np; now from gguf.utility import np. [pypi.org](https://pypi.org/project/gguf/0.18.0/)
- **Signature changed** `gguf.sys`  

Was from gguf.gguf_reader import sys; now from gguf.gguf_writer import sys. [pypi.org](https://pypi.org/project/gguf/0.18.0/)

## gguf 0.17.0 breaking changes

gguf 0.17.0, released May 29, 2025: 23 breaking changes.

- **Removed** `gguf.constants.GGUFType.CLIP_VISION`  

gguf.constants.GGUFType.CLIP_VISION was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.constants.Keys.ClipVision.HAS_LLAVA_PROJECTOR`  

gguf.constants.Keys.ClipVision.HAS_LLAVA_PROJECTOR was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.constants.Keys.ClipVision.HAS_VISION_ENCODER`  

gguf.constants.Keys.ClipVision.HAS_VISION_ENCODER was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.constants.Keys.ClipVision.PROJECTOR_TYPE`  

gguf.constants.Keys.ClipVision.PROJECTOR_TYPE was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.constants.MODEL_ARCH.CLIP_VISION`  

gguf.constants.MODEL_ARCH.CLIP_VISION was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.constants.MODEL_TENSOR.V_ENC_OUTPUT`  

gguf.constants.MODEL_TENSOR.V_ENC_OUTPUT was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.constants.MODEL_TENSOR.V_ENC_OUTPUT_NORM`  

gguf.constants.MODEL_TENSOR.V_ENC_OUTPUT_NORM was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.gguf_writer.GGUFWriter.add_vision_has_vision_encoder`  

GGUFWriter.add_vision_has_vision_encoder was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.GGUFType.CLIP_VISION`  

gguf.GGUFType.CLIP_VISION was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)
- **Removed** `gguf.GGUFWriter.add_vision_has_vision_encoder`  

GGUFWriter.add_vision_has_vision_encoder was removed in gguf 0.17.0 [pypi.org](https://pypi.org/project/gguf/0.17.0/)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [github.com/ggml-org/llama.cpp](https://since.dev/packages/swift/github.com/ggml-org/llama.cpp.md):  on Swift Package Index
- [llama.cpp](https://since.dev/packages/homebrew/llama.cpp.md):  on Homebrew
- [llama-cpp](https://since.dev/packages/vcpkg/llama-cpp.md):  on vcpkg

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
