Repository navigation
Description
Environment
Where are you using Unsloth?
Studio. The Discord report does not specify whether this was the desktop application or web UI.
Operating system and version: The report uses Windows-style cache paths; the exact OS/version was not supplied. The initial reproduction was run in WSL/Linux; follow-up browser validation also ran on native Windows.
GPU model(s) and accelerator backend: Not supplied. The regression reproduces in cache discovery and inventory logic without model inference.
Versions: The reporter's installed versions were not supplied. Reproduced locally against commit fb74902a2ded1c2fc44aa6e757a701be21538f8d.
What happened?
A user reported this issue on Discord: they had an Ornith 1.5 9B Q6 model in the default download location and a Q8 copy in a custom folder. After switching the download location back to the default Hugging Face cache, Studio showed the Q6 copy but did not display the Q8 copy in the custom folder.
This issue records that Discord report and the subsequent local investigation.
Steps to reproduce:
- Download one GGUF quantization of a repository, such as Q6_K, into the default model download folder.
- Change Studio's model download folder to a custom location.
- Download another quantization of the same repository, such as Q8_0, into that location.
- Reset the download folder to the default location and inspect the on-device models/quantizations.
Expected behavior: Both downloaded quantizations remain discoverable and accessible from their existing locations. Changing the destination for future downloads should not hide an existing quantization.
Actual behavior: The inactive folder's quantization is absent from the displayed downloaded variants. In the local reproduction, switching the active folder reverses which quantization is missing.
Model and operation involved: The user reported Ornith 1.5 9B GGUF Q6/Q8. The exact Hugging Face repository ID was not supplied. The local regression uses a synthetic GGUF repository with Q6_K and Q8_0 cache files to isolate download-folder switching and inventory discovery.
Diagnostics and logs
No application logs or Copy Diagnostics were supplied with the Discord report.
- Desktop application: Launch method and diagnostics unavailable.
- Studio web UI: Browser/server logs unavailable.
- Model-specific logs: Inference was not needed for the local reproduction.
- Python package or notebook: Not applicable to the reported Studio inventory behavior.
The local investigation found that Studio retains the previous cache location and scans both folders. The cached-GGUF inventory then deduplicates by repository ID, prefers the active cache copy, and lists variants from that selected copy. The frontend also deduplicates by repository and keys sole-quantization reads by repository, so preserving the backend rows alone is insufficient.
Directly querying the custom folder still finds Q8_0 in the reproduction: the files have not been deleted.
Additional context
The reproduction uses small, isolated filesystem fixtures, including snapshots containing files directly rather than symlinks. PR #10438 reproduces the missing row before the fix and restores two independently selectable cache copies after it. Follow-up live Studio checks passed on Windows Chromium and Linux Chromium, Firefox, and WebKit using isolated cache fixtures. Inference with the reporter's full model has not been verified.
Activity
fix(studio): keep every chat GGUF quant listed across cache folders
fix(studio): keep every chat GGUF quant listed across cache folders
fix(studio): keep every chat GGUF quant listed across cache folders
fix(studio): retain GGUF quants across cache-folder switches (#11938)
fix(studio): retain GGUF quants across cache-folder switches (unsloth…