OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Gguf Tools

Gguf Tools is a work-in-progress C library and command-line program for parsing and manipulating GGUF files, a format used for local machine-learning models. Its CLI can display metadata and tensor details, inspect tensor weights, and compare matching tensors across two files.

Independent OpenViST project profile, based on linked sources.

Gguf Tools — Inspecting GGUF metadata and tensor structure from the command line
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Gguf Tools when a local workflow needs low-level visibility into GGUF contents or a command-line comparison of matching tensors. Its C library may also suit developers building their own GGUF utilities.

Who it is for

  • Developers building C applications that need to parse or manipulate GGUF files.
  • People working with local GGUF models who want to inspect metadata, tensor layouts or individual weights.
  • Researchers and model developers comparing matching tensors to explore possible fine-tuning relationships.

Documented uses

  • Read key-value metadata, arrays and tensor details from a GGUF file.
  • Inspect some or all of a named tensor’s weight values.
  • Compare average weight differences for matching tensors in two GGUF files.
  • Use a C library to build GGUF parsing, generation or manipulation workflows.
Before you choose

Requirements & limits

The public GitHub repository is MIT-licensed.

  • The project describes itself as work in progress, and many quantization formats are missing.
  • The README says the implementation itself is the library’s only documentation at the time described.
  • The compare command is limited to matching tensor names and parameter counts, and quantization can affect reported differences.
  • The split-mixtral command is described as an experiment whose extracted model will not perform useful work.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Inspect a GGUF file from the command line

Use the documented show command to read a GGUF file’s metadata and tensor details.

Before you start

  • The gguf-tools command-line program
  • A GGUF file available at a path you can pass to the command

Steps

  1. Run gguf-tools show file.gguf, replacing file.gguf with the file path.

  2. Review the printed key-value pairs, arrays and tensor details, including dimensions and offsets.

Expected outcome

A detailed text listing of the GGUF file’s metadata and tensors.

Guide limitations

  • The project is a work in progress and says many quantization formats are missing.
  • Tensor offsets in the output are relative to the start of the file.
Source-based practical guide

Compare matching tensors in two GGUF files

Use the documented compare command to examine average weight differences for matching tensors.

Before you start

  • The gguf-tools command-line program
  • Two GGUF files available at paths you can pass to the command

Steps

  1. Run gguf-tools compare file1.gguf file2.gguf, replacing the example paths with the two file paths.

  2. Review the reported average weight differences for matching tensors.

Expected outcome

A per-tensor comparison that can help investigate possible fine-tuning relationships or shared model ancestry.

Guide limitations

  • The comparison considers tensors with matching names and parameter counts.
  • The project notes that quantization can cause small differences even for tensors that are functionally equivalent.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 November 2026
Original website title
antirez/gguf-tools · Official homepage title · retained in its source language