Skip to content

[Bug] Resume training button missing immediately after Stop and Save in latest Unsloth Studio #8150

Closed

Description

@NightvoyagerLin
  1. Did you update? pip install --upgrade unsloth unsloth_zoo
    Yes, using the latest version as of 2026-08-08.

  2. Colab or Kaggle or local / cloud
    Kaggle (T4 GPU, 16GB VRAM).

  3. Number GPUs used, use nvidia-smi
    2 × NVIDIA T4.

  4. Which notebook? Please link!
    Custom Kaggle notebook (not from a specific tutorial).

  5. Which Unsloth version, TRL version, transformers version, PyTorch version?
    Latest versions installed via curl -fsSL https://unsloth.ai/install.sh | bash -s -- --yes.

  6. Which trainer? SFTTrainer, GRPOTrainer etc
    SFTTrainer (QLoRA).

Describe the bug

In the latest version of Unsloth Studio, the "Resume" button disappears immediately after stopping and saving a training run. The button is missing from the History / Training Runs page even within the same Unsloth Studio session—no restart of Kaggle, Studio, or the kernel is required to reproduce the issue.

In previous versions, clicking "Stop and Save" and returning to the History page would show a "Resume" button for the paused run. This functionality is completely gone in the current version.

Steps to reproduce

  1. Start any QLoRA training job in Unsloth Studio.
  2. Let it run for several steps and save at least one checkpoint.
  3. Click "Stop and Save" in the Studio UI.
  4. Go to the History / Training Runs page.
  5. Observe that the "Resume" button is not present for the stopped run.

Expected behavior

After stopping and saving a training run, the History page should display a "Resume" button next to the paused run, allowing the user to continue training from the latest checkpoint.

Actual behavior

The "Resume" button never appears. The training run looks as if it has finished or been abandoned, with no option to resume.

Environment

  • Platform: Kaggle
  • GPU: 2 × NVIDIA T4 (16GB)
  • Model: unsloth/Qwen3.5-0.8B (QLoRA, 4-bit)
  • Training output directory: /kaggle/working/unsloth_persist/training_outputs/
  • Database path: /kaggle/working/unsloth_persist/studio/unsloth_studio/db.sqlite3

Evidence that data is intact

  • All checkpoint files are present: adapter_model.safetensors, optimizer.pt, trainer_state.json, etc.
  • The SQLite database (db.sqlite3) contains a valid row in the runs table with status='paused' and the correct checkpoint_path.
  • A minimal test with a brand new project confirmed the same behavior—the Resume button is missing immediately after Stop and Save, without any restart.

Additional context

  • Unsloth version: v0.1.525-beta
  • Package version: 2026.8.8
  • llama.cpp version: b10310-mix-b1e9972
  • This is a regression introduced in the current Unsloth Studio version (August 2026). The problem did not exist approximately two weeks ago.
  • The issue is not related to custom output directories or symlinks; it occurs even with default paths.
  • The "Resume" button disappears immediately after Stop and Save, without needing to restart Kaggle, Unsloth Studio, or the kernel.

Root cause confirmed (2026-08-08)

After systematic version testing, I can confirm this regression was introduced in the August 2026 update:

  • 2026.7.5: Resume button works correctly
  • 2026.8.7: Resume button already broken
  • 2026.8.8: Resume button still broken

I downgraded to 2026.7.5 and the Resume button immediately returned. The database (db.sqlite3) correctly stores status='paused' and a valid checkpoint_path in all versions, suggesting the issue is in the frontend/UI state management rather than the backend training logic.

Suggested fix direction

The issue appears to be in the frontend state management after Stop and Save. Possibly related to the August 2026 UI refactoring for parallel chat support and deep research features. The backend correctly saves all training state, but the History/Training Runs page no longer renders the Resume button for paused runs.

Additionally, in version 2026.8.7/8.8, after Stop and Save, the database file (db.sqlite3)
was either not created or the runs table was not populated with the paused training record.
This suggests the issue may involve both backend state persistence and frontend UI rendering.
In version 2026.7.5, the database correctly contains the paused run record after Stop and Save.

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