Skip to content

[Bug] Speculative Decoding model not detected next to model if models found in custom folder #8077

Closed

Description

@ZedOud

Note: Please do not remove the questions. Answer beside them.

  1. Did you update? pip install --upgrade unsloth unsloth_zoo
  2. Colab or Kaggle or local / cloud
  3. Number GPUs used, use nvidia-smi
  4. Which notebook? Please link!
  5. Which Unsloth version, TRL version, transformers version, PyTorch version?
  6. Which trainer? SFTTrainer, GRPOTrainer etc

===

  1. updated, persists through update for weeks
  2. local
  3. 3
  4. Unsloth Studio
  5. Unsloth: v0.1.524-beta, Package: 2026.8.7, llama.cpp: b10290-mix-b1e9972

I attempt to load Gemma 31B with any of many different mtp-....gguf files, even taken from a download through Unsloth Studio of Unsloth Gemma 31B, copied, renamed appropriately, nothing. However, MTP did work when the model download via Unsloth Studio's interface off of HF was loaded.
Also placed the mtp model into a ./MTP folder relative to the model GGUF and still get the MTP not found message, whether selecting auto or MTP.
--Also attempted with DSv4-F-0731 DSpark, same.-- Scratch this, I instead get something that's probably unrelated: "DSpark could not start for this model on the installed llama.cpp build, so it is running without speculative decoding."

The Custom Folder the models sit in fits the LMStudio directory format and lives in an Oobabooga model directory sitting off of C: on the same drive Unsloth Studio is operating out of and downloading to and loading models from. All the models within the Custom Folder can be seen and loaded by Unsloth Studio. Only the speculative decoding models don't get recognized.

No crash, works fine. I just get the standard:
"No matching DSpark sidecar was found. Place its dspark-*.gguf beside the model or in its dspark folder, then reload the model."

Activity

  1. NoMansPC commented on Aug 17, 2026

    @NoMansPC

    This same problem happens with MTP too. It happens with Qwen 27b, but not the 35b version. I dunno why it happens. It doesn't work with any of the Gemma 4 models, either.

  2. added 4 commits that reference this issue on Aug 19, 2026
  3. danielhanchen commented on Sep 9, 2026

    @danielhanchen
    Member

    Fixed! We scan the model folder, an mtp or dspark subfolder next to it and the parent folder for drafters now, on the native path too. The draft file name still has to start with the model file name so we know they pair. If the model already has the nextn layers baked in we say not found, which is probably the Qwen 27b case.

    To update: the desktop app updates itself (Settings > General), otherwise unsloth studio update, or in Docker docker exec <container> unsloth-studio-update.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions