Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix(studio): default chart view to full training history (#5007)

Bharath Kumar Adinarayana50f61009b13
diff --git a/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts b/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts
index 083cfe1333b..7f24192f836 100644
--- a/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts
+++ b/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts
@@ -3,12 +3,7 @@
import { create } from "zustand";
import type { OutlierMode, ScaleMode } from "./types";
-import { DEFAULT_VISIBLE_POINTS, clamp } from "./utils";
-
-const DEFAULT_WINDOW_SIZE = Math.max(
- 24,
- Math.floor(DEFAULT_VISIBLE_POINTS / 2),
-);
+import { clamp } from "./utils";
type ChartPreferencesState = {
availableSteps: number;
@@ -39,7 +34,7 @@ type ChartPreferencesState = {
};
const defaultPreferences = {
- windowSize: DEFAULT_WINDOW_SIZE as number | null,
+ windowSize: null as number | null, // null = show full training history
smoothing: 0.6,
showRaw: true,
showSmoothed: true,