Unofficial GGUF adapter extension for Google Model Explorer - visualize llama.cpp GGUF format models
Project description
GGUF Adapter for Model Explorer
Unofficial third-party extension. This project is not affiliated with or endorsed by the llama.cpp project, Georgi Gerganov, or Google. GGUF is the file format of the llama.cpp project.
Visualize GGUF format models in Google Model Explorer.
Installation
pip install model-explorer-gguf
This automatically installs ai-edge-model-explorer as a dependency.
Usage
Command Line
ggufvis path/to/model.gguf
Or directly via model-explorer:
model-explorer --extensions=model_explorer_gguf path/to/model.gguf
Python API
from model_explorer_gguf import GGUFAdapter
adapter = GGUFAdapter()
graph = adapter.convert("path/to/model.gguf")
# graph is a model_explorer Graph — render with model-explorer or inspect programmatically
Features
- Full GGUF v1/v2/v3 spec support
- Hierarchical tensor layout (embeddings, transformer blocks, output)
- Rich metadata display (architecture, context length, layer count, quantization, etc.)
- All quantization types recognized (F32, F16, Q4_0, Q8_0, K-quants, I-quants, etc.)
- Works with any GGUF model (Llama, Mistral, Falcon, Gemma, Phi, etc.)
Supported Formats
| Feature | Status |
|---|---|
| GGUF v1, v2, v3 | ✓ |
| All metadata types (scalars, strings, arrays) | ✓ |
| Tensor information (names, shapes, types, offsets) | ✓ |
| Hierarchical graph layout | ✓ |
| Multi-shard / split models | ✓ |
Development
git clone https://github.com/johnjg75dev/model-explorer-gguf.git
cd model-explorer-gguf
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[dev]"
Run tests with:
pytest
Report issues at https://github.com/johnjg75dev/model-explorer-gguf/issues
License
Apache 2.0 — see LICENSE.
Trademarks
GGUF and llama.cpp are trademarks of the llama.cpp project. This project is not endorsed by or affiliated with the llama.cpp project or its maintainers.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file model_explorer_gguf-1.0.0.post1.dev0.tar.gz.
File metadata
- Download URL: model_explorer_gguf-1.0.0.post1.dev0.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
590655c9c9533d0e7214e320918287f9b34a3a55e9486255297bf61325c8634e
|
|
| MD5 |
8bd3b20dbbec3106171e4b2c45bfefea
|
|
| BLAKE2b-256 |
b5bf41e532ecdd06e2a1301c098dcb0b0321fb78c96c9c009b7c1fbf7aed1189
|
File details
Details for the file model_explorer_gguf-1.0.0.post1.dev0-py3-none-any.whl.
File metadata
- Download URL: model_explorer_gguf-1.0.0.post1.dev0-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
678fb35461d3fc30489cc72afea15248daa5aae7fa6d67cf76a3a121c180112b
|
|
| MD5 |
bcc045b73eb17d2aea2d1a548ba3afe1
|
|
| BLAKE2b-256 |
9742d67822ee31c957554337ce4f9225b531c938792782cef05e744b946e6bc8
|