Skip to content

[Bug] Deep Research Failed in Unsloth Desktop #17907

Closed

Description

@TheAlex25

When running a prompt, deep research failed. I will share a markdown file of the conversation, so one can view the logs.

I am using Gemma-4-26B-A4B on Linux, and the prompt below.

Conversation Log:
gemma-4-26B-A4B-it-qat-GGUF - Deep Research FAILED about Bhutan (2026-11-15).md

Prompt:
Conduct a comprehensive cultural, historical, and sociological deep dive into the Kingdom of Bhutan and its policy of Gross National Happiness (GNH). Structure your research to cover the following dimensions in detail: 1. Historical Origins and Philosophy: Trace the evolution of GNH from its inception under King Jigme Singye Wangchuck in the 1970s to its roots in Vajrayana Buddhist philosophy. 2. Governance and Measurement: Explain how the GNH Index actually works in practice, including its four pillars, nine domains, and how policymakers use it to vet legislation and infrastructure projects. 3. Economic and Development Trade-offs: Analyze the tension between preserving cultural heritage and environmental sustainability (such as Bhutan's status as a carbon-negative nation and its High Value, Low Volume tourism model) and modern economic pressures like youth unemployment, brain drain, and reliance on hydropower exports. 4. Modernization and Cultural Shifts: Examine how the relatively late introduction of television and the internet (1999), alongside the transition from an absolute monarchy to a constitutional democracy (2008), has reshaped daily life, traditional architecture, and generational values. 5. Global Reception and Critiques: Compare GNH against traditional GDP metrics, highlighting both international praise and domestic or academic criticisms regarding ethnic minority inclusion, rural-urban divides, and practical implementation gaps.

Unsloth Version:
Unsloth Version
v0.1.917-beta
Package Version
2026.11.4
Desktop App Version
0.1.917-beta
Engines
The runtimes Unsloth uses to run models. Updates install in the background, with no restart.
llama.cpp Version
b12347-mix-241a0f3
whisper.cpp Version
v1.9.5-unsloth.26
audio.cpp Version
v0.9.4-unsloth.1
v0.9.5-unsloth.1 available

Specs:

System Details Report


Report details

  • Date generated: 2026-11-15 23:01:09

Hardware Information:

  • Hardware Model: Lenovo Yoga Pro 9 16IMH9
  • Memory: 32.0 GiB
  • Processor: Intel® Core™ Ultra 9 185H × 22
  • Graphics: Intel® Arc™ Graphics (MTL)
  • Graphics 1: NVIDIA GeForce RTX™ 4050 Laptop GPU
  • Disk Capacity: 1.0 TB

Software Information:

  • Firmware Version: NKCN28WW
  • OS Name: Ubuntu 26.04 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 50
  • Windowing System: Wayland
  • Kernel Version: Linux 7.0.0-42-generic

Screen capture:

image

Activity

  1. added
    feature request
    on Nov 16, 2026
  2. A-P-Shukla commented on Nov 16, 2026

    @A-P-Shukla

    That error comes from Deep Research’s 120-second first-output timeout (research_runs.py) triggering on the initial planning call, which runs in JSON mode with thinking disabled before any web search starts. Since your later B1M transcript summary succeeded in the same chat, Gemma itself isn't broken.

    Two likely causes on a 26B QAT GGUF with an RTX 4050 laptop GPU (where most layers offload to system RAM):

    1. Cold load / prompt-eval exceeded 120s: Loading the 26B weights + evaluating the full planner system prompt on CPU took longer than 2 minutes before the first token streamed.
    2. JSON-mode stall: The planner's JSON-constrained call hung on llama.cpp b12347 for Gemma-4-26B-A4B.

    Could you share:

    1. The backend logs around research.run_failed (and the llama-server log lines at that timestamp showing VRAM offload, n_ctx, and prompt-eval time).
    2. Whether Deep Research still hits the 120s timeout if you run it right after a normal chat message (when the model is already warm in memory).
  3. danielhanchen commented on Nov 16, 2026

    @danielhanchen
    Member

    Fixed! Deep Research gave every local model call two minutes to start answering, and on a later step the prompt (all the research gathered so far) took longer than that to read on your setup, even though the model was still working. It now keeps waiting while the model is still making progress on the prompt, and only gives up if the model is actually stuck. Fixed in #17934.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions