Skip to content

GGUF quants permanently show "update available" on Windows (no-symlink cache) #7060

Closed

Description

@LeoBorcherding

Summary

On Windows, every downloaded GGUF quant shows downloaded — update available and it never clears. Clicking Update re-downloads, the badge briefly resolves, then reverts. The local files are already byte-identical to the latest remote, so it's a false positive.

Environment

Windows 11 · AMD RX 9060 XT (gfx1200, ROCm/HIP 7.1) · Studio current installer build · Python 3.13, unsloth 2026.7.2, huggingface-hub 0.36.2 · model unsloth/Qwen3-1.7B-GGUF · Windows Developer Mode OFF (the trigger).

Repro

  1. Download a GGUF quant on Windows (no Developer Mode) → shows update available.
Image
  1. Click update → "Update cached model?" → Update.
Image
  1. Badge briefly resolves.
Image
  1. Then reverts to update available. Re-updating never sticks.
Image

Proof it's false

Local files match the current remote revision (refs/main = d7f544…) exactly: Q2_K local sha256 == remote 62b3fb70…30fd3, and both quants' sizes match. Nothing to update.

Root cause (verified)

Without symlinks, HF stores the GGUF directly in snapshots/ (real file, not a symlink; blobs/ empty). scan_cache_dir then returns blob_path = the snapshot file, so Path(blob_path).name = the filename, not a sha256.

  • cache_inventory._repo_gguf_blob_map (~L138-167) assumes Path(blob_path).name is the sha256 and records the filename as the "local hash".
  • gguf_variants._variant_update_available_from_requirement (~L340-360) tests remote_sha256 in local_set; local_set holds the filename → never matches → always True.

So the check is broken for all GGUFs on a default Windows install, and re-downloading can't fix it (same file rewritten, still no blob).

Suggested fix

When the snapshot entry is a direct file (no blob / Path(blob_path).name isn't a hash), fall back to hashing the actual file (or size + revision) instead of treating the name as a hash.

Workaround

Enable Windows Developer Mode so HF creates symlinks + blobs/, then delete the repo cache and re-download. Or ignore it, the model is already current.

Activity

  1. ZupoLlask commented on Jul 11, 2026

    @ZupoLlask

    Also seeing this!

  2. ZupoLlask commented on Jul 11, 2026

    @ZupoLlask

    Just found out that when this happens, when I try to load the cached model without hit the update button, the "updated model" will be downloaded (again) instead of simply load the existing model into memory.

    Result: I'm unable to use Unsloth.

    @danielhanchen

  3. added a commit that references this issue on Jul 13, 2026
    97a6a9f
  4. added a commit that references this issue on Jul 14, 2026
    eb31d1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions