Repository navigation
Description
Description
In Unsloth Studio, the Training Config popover in the Training Progress page can show a stale/static configuration instead of the actual configuration for the selected/current run.
The workaround is to click the run from the left sidebar under Recents, then open the same Training Config popover from the History tab. That view shows the actual run configuration, while the Training Progress page popover appears to be stuck on an earlier/static config.
This is confusing during active training because the progress card itself is live, but the config popover is not reliably synchronized with the active run / selected run.
Expected behavior
The Training Config popover shown from Training Progress should be populated from the same run data as the selected run in Recents / History. It should update when the active/selected run changes.
Actual behavior
The Training Config popover in Training Progress appears to show stale/static values. Opening the run from Recents and viewing History is required to see the real config for that run.
Reproduction steps
- Start a training run in local Unsloth Studio.
- Go to Train -> Current Run / Training Progress.
- Click the Training Config icon/popover on the Training Progress card.
- Note the displayed config values.
- In the left sidebar, click the same run under Recents.
- Open the History tab.
- Click the Training Config icon/popover there.
- Compare the config shown in Training Progress vs the config shown for the selected run in History.
Current run observed while reporting
- Studio backend:
2026.5.9 - Active job id:
job_20260703_134956_5e194d49 - Phase:
training - Current step when checked: around
1662 / 3910 - Model:
utter-project/EuroLLM-1.7B-Instruct - Training type:
LoRA/QLoRA - Dataset:
/workspace/studio/assets/datasets/uploads/1a7595ccf0d941048afd6bf870743653_train_n15637_context_le4096_userprompt_no_system.messages.jsonl
Note: Please do not remove the questions. Answer beside them.
- Did you update?
pip install --upgrade unsloth unsloth_zoo: Yes, updated today before reporting. ColaborKaggleor local / cloud: Local Unsloth Studio, running athttp://localhost:8000/studioin Docker.- Number GPUs used, use
nvidia-smi: 1 GPU, NVIDIA GeForce RTX 5080, 16303 MiB VRAM, driver 610.62. - Which notebook? Please link!: N/A, Unsloth Studio web UI.
- Which Unsloth version, TRL version, transformers version, PyTorch version?:
- Unsloth:
2026.5.9 - Unsloth Zoo:
2026.5.5 - TRL:
0.23.1 - Transformers:
4.57.6 - PyTorch:
2.10.0+cu128 - Datasets:
4.3.0 - Tokenizers:
0.22.2 - PEFT:
0.18.1
- Unsloth:
- Which trainer?
SFTTrainer,GRPOTraineretc: N/A / not exposed directly by Studio UI. This is a Studio UI state/display bug during LoRA/QLoRA training.
# Minimal code to reproduce error here ###Remove Hugging Face token###
# N/A: this is a Unsloth Studio UI bug, not a Python training-script exception.
# Minimal UI reproduction:
# 1. Start a local Studio training run.
# 2. Open Train -> Current Run / Training Progress.
# 3. Open the Training Config popover and note the values.
# 4. Click the same run in the left sidebar under Recents.
# 5. Open History and then the Training Config popover.
# 6. The History popover shows the selected run's real config, while Training Progress can show stale/static config.
###Please make sure to check formatting properly, edit if needed.###
Activity
egherardini commentedon Jul 3, 2026
This screenshot shows the "static" values:
This screenshot shows the correct values:
egherardini commentedon Jul 3, 2026
Static analysis note from the current
maincheckout (c356427): this looks like a frontend data-source mismatch rather than a backend training issue.Likely flow:
ProgressSectionbuilds the Training Config popover fromuseTrainingConfigStoreby default:studio/frontend/src/features/studio/sections/progress-section.tsxuseTrainingConfigStore(...)and thecfg*assignments.configOverridewhenisHistorical === true.HistoricalTrainingViewdoes the correct thing: it callsgetTrainingRun(runId)(/api/train/runs/{runId}), mapsdetail.configintoconfigOverride, then passes that toProgressSectionwithisHistorical.studio/frontend/src/features/studio/historical-training-view.tsxLiveTrainingView/ Current Run only passesdata={viewData}toProgressSectionand does not pass a run config override.studio/frontend/src/features/studio/live-training-view.tsxThis means the live/current Training Progress popover is reading from the persisted form/config store (
unsloth_training_config_v1) instead of the config snapshot saved for the active job. That would explain why it can appear stale/static or unrelated to the active run, while the History view is correct.The backend status endpoint also seems to support this diagnosis:
TrainingStatusexposes job id, phase, details, and metric history, but not the saved run config.applyStatusupdates runtime/metrics only, not the config store.Possible fix direction:
LiveTrainingView, whenruntime.jobIdis known, fetchgetTrainingRun(runtime.jobId)and mapdetail.configthe same wayHistoricalTrainingViewalready does.configOverridetoProgressSection.ProgressSectionpreferconfigOverride ?? useTrainingConfigStore(...)instead of only using the override whenisHistoricalis true.That should make the Current Run popover use the same authoritative run config as History.
studio: show the active run's saved config in the Training Progress p…
studio: show the active run's saved config in the Training Progress p…
studio: show the active run's saved config in the Training Progress p…