Do I need to redownload my GGUF? Check which upload you have and what changed
Redownload only if the tensors changed. If a re-upload changed only metadata (usually the chat template), patch your copy with gguf-new-metadata instead. The check below lists every upload of a file on the Hugging Face Hub, finds yours by sha256 or by reading its header, and compares the two files directly: metadata keys, tensor names, types and shapes, and sampled tensor bytes. In the 68 re-uploads we checked across 23 popular repositories, 28 changed only metadata (17 of them only the chat template), 25 re-quantized the same tensors, 13 added, removed or re-typed tensors, and in 2 we found no difference in the metadata or the sampled bytes.
Which upload do I have, and what changed since?
Then give one of these (the first one you fill in is used):
Your file never leaves your computer: the browser reads the first megabytes of it locally. The page talks only to huggingface.co (public repositories; gated ones need a login this page does not have). Reading a header downloads 1 to 20 MB per version, because the vocabulary is stored there.
Where do I find the sha256 of my GGUF?
| Where your copy came from | How to get the sha256 |
|---|---|
huggingface-cli download, hf_hub_download, llama-cpp-python from_pretrained | The cache keeps each file under ~/.cache/huggingface/hub/models--ORG--REPO/blobs/ named by its sha256; snapshots/<commit>/ links to it. ls -l ~/.cache/huggingface/hub/models--*/snapshots/*/*.gguf shows which blob each file points to. |
Ollama (ollama pull hf.co/REPO:QUANT) | ollama show --modelfile hf.co/REPO:QUANT prints FROM .../blobs/sha256-<hash>. The Hugging Face registry serves the GGUF file as that blob, so the hash is the file's sha256 (we checked: the registry's model layer for bartowski/Meta-Llama-3.1-8B-Instruct-GGUF:Q4_K_M has the sha256 of the newest Q4_K_M.gguf). Or type the tag in the tool to see what a new pull would get. |
| LM Studio, a browser download, anything else | sha256sum model.gguf (macOS: shasum -a 256, Windows: certutil -hashfile model.gguf SHA256), or pick the file in the tool: it matches the header and the size without hashing gigabytes. |
What did re-uploads change in popular GGUF repositories?
Of the 40 most downloaded GGUF repositories on the Hub (2026-11-26), 13 had replaced the file we checked at least once; 27 never had. We added 17 older, widely used repositories, of which 7 had never replaced the file. For each, we took one file (Q4_K_M where there is one), read every upload's header, and compared each upload with the one before. "Metadata only" means the same tensor names, types and shapes and identical first 4 KiB in all 16 sampled tensors.
| Repository and file | Uploads | Each re-upload, newest first |
|---|---|---|
unsloth/gemma-3-12b-it-GGUFgemma-3-12b-it-Q4_K_M.ggufcheck | 10 |
|
unsloth/gemma-4-26B-A4B-it-GGUFgemma-4-26B-A4B-it-UD-Q4_K_M.ggufcheck | 8 |
|
unsloth/Qwen3-30B-A3B-GGUFQwen3-30B-A3B-Q4_K_M.ggufcheck | 7 |
|
unsloth/Qwen3-8B-GGUFQwen3-8B-Q4_K_M.ggufcheck | 6 |
|
bartowski/Meta-Llama-3.1-8B-Instruct-GGUFMeta-Llama-3.1-8B-Instruct-Q4_K_M.ggufcheck | 5 |
|
unsloth/Llama-3.2-3B-Instruct-GGUFLlama-3.2-3B-Instruct-Q4_K_M.ggufcheck | 5 |
|
unsloth/Mistral-Small-3.2-24B-Instruct-2506-GGUFMistral-Small-3.2-24B-Instruct-2506-Q4_K_M.ggufcheck | 5 |
|
unsloth/gemma-4-12b-it-GGUFgemma-4-12b-it-Q4_K_M.ggufcheck | 5 |
|
handy-computer/Qwen3-ASR-1.7B-ggufQwen3-ASR-1.7B-Q4_K_M.ggufcheck | 4 |
|
handy-computer/parakeet-unified-en-0.6b-ggufparakeet-unified-en-0.6b-Q4_K_M.ggufcheck | 4 |
|
unsloth/gpt-oss-20b-GGUFgpt-oss-20b-Q4_K_M.ggufcheck | 4 |
|
lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUFMeta-Llama-3.1-8B-Instruct-Q4_K_M.ggufcheck | 3 |
|
ornith-ai/Ornith-1.5-35B-A3B-GGUFOrnith-1.5-35B-Q4_K_M.ggufcheck | 3 |
|
peculiar-ragdoll/Tiel-Coder-35B-A3B-GGUF-MTPTiel-Coder-35B-A3B-MTP-UD-IQ4_XS.ggufcheck | 3 |
|
unsloth/GLM-4.7-Flash-GGUFGLM-4.7-Flash-Q4_K_M.ggufcheck | 3 |
|
ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUFDeepSeek-V4.1-Flash-Engram-IQ4_NL.ggufcheck | 2 |
|
bartowski/Qwen2.5-Coder-7B-Instruct-GGUFQwen2.5-Coder-7B-Instruct-Q4_K_M.ggufcheck | 2 |
|
ornith-ai/Ornith-1.5-9B-GGUFOrnith-1.5-9B-Q4_K_M.ggufcheck | 2 |
|
pnnbao-ump/VieNeu-TTS-v3-Turbogguf/vieneu-v3-turbo-bf16.ggufcheck | 2 |
|
unsloth/Inkling-2-Mini-GGUFInkling-2-Mini-UD-Q4_K_M.ggufcheck | 2 |
|
unsloth/Qwen3.5-9B-GGUFQwen3.5-9B-Q4_K_M.ggufcheck | 2 |
|
unsloth/Qwen3.8-27B-GGUFQwen3.8-27B-UD-Q4_K_M.ggufcheck | 2 |
|
unsloth/Qwen3.8-Flash-Next-GGUFMTP/mtp-Qwen3.8-Flash-Next-Q4_K_M.ggufcheck | 2 |
|
At most the 10 most recent uploads of each file were read. Never replaced: DavidAU/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-NEO-IMATRIX-MAX-MTP-GGUF, DavidAU/Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF, DeepBeepMeep/MiniMax-H3, ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, JonathanColetti/Qwen3.8-27B-Uncensored-GGUF, Qwen/Qwen3-VL-8B-Instruct-GGUF, SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF, Serveurperso/ACE-Step-1.5-GGUF, Serveurperso/YuE2-GGUF, agentionai/Qwen3.8-Flash-Next-Gyro-GGUF, audio-cpp/audio.cpp-gguf, byteshape/Qwen3.8-27B-GGUF, cdiamond/Qwen3.8-27B-iMatrix-NVFP4-MTP-GGUF, farbodtavakkoli/OTel-2.0-Decision-26B-A4B-4bit, handy-computer/parakeet-ultra-gguf, huihui-ai/Huihui-Qwen3.6-35B-A3B-abliterated-MTP-GGUF, huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF, migtissera/Tess-4.5-27B-GGUF, mixedbread-ai/mxbai-embed-large-v1, ornith-ai/Ornith-1.0-9B-GGUF, peasantsmith/GLM-5.3-Flash-Maya-GGUF, prism-ml/Ternary-Bonsai-2-2B-gguf, prism-ml/Ternary-Bonsai-2-9B-gguf, unsloth/MiniMax-H3-GGUF, unsloth/Qwen-Image-2.1-Turbo-GGUF, unsloth/Qwen3.6-35B-A3B-GGUF, unsloth/Qwen3.6-35B-A3B-MTP-GGUF, Qwen/Qwen2.5-7B-Instruct-GGUF, TheBloke/Mistral-7B-Instruct-v0.2-GGUF, bartowski/google_gemma-3-12b-it-GGUF, ggml-org/gpt-oss-20b-GGUF, unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF, unsloth/Qwen3.5-4B-GGUF, unsloth/phi-4-GGUF.
Example: Llama 3.1 8B Instruct Q4_K_M, uploaded 5 times
bartowski's Q4_K_M file was uploaded 5 times in July 2024. Comparing each upload with the previous one:
- 2024-07-30: only the chat template changed; the sampled tensor bytes are identical. A file from the previous upload can be patched with
gguf-new-metadata --chat-template-file. This matches the answer in discussion #6, "Why were the quants updated 3 hours ago?". - 2024-07-28: a tensor was added (rope_freqs.weight) and the template changed. Redownload.
- 2024-07-24: the pre-tokenizer changed (smaug-bpe to llama-bpe) and the tensor bytes differ. Redownload.
- 2024-07-23: importance-matrix keys were added and the tensor bytes differ: re-quantized with an importance matrix. Redownload.
How do I patch a metadata-only change?
When the tool says "metadata only", it prints the command. The tools come with pip install gguf:
| Changed key | Command |
|---|---|
tokenizer.chat_template | gguf-new-metadata old.gguf fixed.gguf --chat-template-file chat_template.jinja (the tool can download the new template) |
tokenizer.ggml.pre | --pre-tokenizer NAME (see the pre-tokenizer lookup) |
tokenizer.ggml.bos_token_id, eos_token_id, ... | --special-token-by-id eos 106 |
general.name, general.description | --general-name, --general-description |
| a key that was removed | --remove-metadata KEY |
a number or a boolean, e.g. tokenizer.ggml.add_bos_token | gguf-set-metadata fixed.gguf KEY VALUE (in place). For False pass an empty string, '': the text false becomes True, because the value goes through numpy's bool. We hit this with gguf 0.19.0. |
Other changed keys (a new array, a new architecture parameter) cannot be set with these tools; redownload, or keep your file if the key does not matter to you. A patched file has the same metadata as the new upload but a different sha256, because the keys are written in another order; pick it in the tool to confirm that nothing else differs. We tested the round trip on small generated GGUF files: after patching, the header comparison showed no difference.
How does the check work?
- History:
POST /api/models/REPO/paths-info/REVgives the file's sha256 and the last commit that changed it; asking again at that commit's parent gives the upload before, and so on. One request per upload. - Headers: HTTP range requests on
/resolve/COMMIT/FILE, parsed in the page (GGUF versions 2 and 3): every metadata key, and every tensor's name, type, shape and offset. Arrays such as the vocabulary are compared by a hash of their bytes. - Tensor bytes: when the tensors have the same names, types and shapes, the first 4 KiB of 16 tensors (always the first and the last) are compared, each at its own offset. This catches re-quantization, but it is a sample: a change outside the sampled bytes shows as "no visible change".
- Your file: a sha256 is matched against the uploads' sha256; a picked file is matched by its header bytes and its size.
What it does not do
- Gated and private repositories (the page has no Hugging Face login).
- Split files (
-00001-of-0000N): it checks the part you pick; the header is in the first part. - Renamed files: a new file name has its own history. Repositories whose history was squashed show only the uploads that remain.
- It does not say whether a new upload is better, only what changed.
Questions
- Why do GGUF files on Hugging Face get re-uploaded?
- Most often to fix the chat template or tokenizer settings after a llama.cpp fix, and sometimes to re-quantize with a new importance matrix or after a conversion bug. In the 68 re-uploads we checked, 28 changed only metadata, 25 changed tensor data with the same layout and 13 changed the tensors themselves.
- How do I find the sha256 of my GGUF?
- Hugging Face cache: the file name under blobs/ is the sha256. Ollama: ollama show --modelfile prints FROM .../blobs/sha256-<hash>. Any other copy: sha256sum model.gguf. Or pick the file in the tool, which compares its header without hashing it.
- Can I fix a chat template without downloading the GGUF again?
- Yes, when only metadata changed. gguf-new-metadata (pip install gguf) writes a copy with a new chat template, pre-tokenizer, special token ids, name or description; gguf-set-metadata changes a number or a boolean in place.
- Does Ollama update a model pulled from hf.co automatically?
- No. ollama pull hf.co/<repo>:<quant> again fetches the current file; until then Ollama keeps the blob it downloaded.
- Why does gguf-set-metadata set my boolean to True when I type false?
- It converts the text with numpy's bool, and any non-empty string is True. Pass an empty string ('') to set False. Checked with gguf 0.19.0.
Related
- "unknown pre-tokenizer type" and "BPE pre-tokenizer was not recognized": which llama.cpp build fixes it
- "unknown model architecture": which llama.cpp build and Ollama version a GGUF needs
- Model does not stop generating: which token each engine stops on
Sources
- Hugging Face Hub API: Hub API endpoints, cache layout (blobs named by sha256), using Ollama with Hub GGUF files
- GGUF: file format specification; gguf-py gguf_new_metadata.py, gguf_set_metadata.py, gguf on PyPI
- Re-upload questions: bartowski Llama 3.1 discussion #6, and the repositories in the survey table