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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: remove obsolete onboarding and model code (#8453)
Wasim Yousef Saidbdb4e3381257
diff --git a/studio/backend/core/training/diffusion_training_service.py b/studio/backend/core/training/diffusion_training_service.pyindex 2c17219c0a8..86a75d4673d 100644--- a/studio/backend/core/training/diffusion_training_service.py+++ b/studio/backend/core/training/diffusion_training_service.py@@ -4,9 +4,9 @@"""A small job service for diffusion LoRA training.This is deliberately separate from the LLM ``TrainingBackend``: that backend's-lifecycle (LLM config build, per-run SQLite rows, matplotlib plots, transfer-to-chat--inference) is specific to text training and would mis-handle a diffusion run. This-service does only what a diffusion job needs -- spawn the trainer subprocess, pump its+lifecycle (LLM config build, per-run SQLite rows, and matplotlib plots) is specific+to text training and would mis-handle a diffusion run. This service does only what a+diffusion job needs -- spawn the trainer subprocess, pump itsevents (``model_load_*`` / ``progress`` / ``complete`` / ``error``) into an in-memorystatus snapshot, and support stop -- and is polled over JSON by the route layer.diff --git a/studio/backend/core/training/trainer.py b/studio/backend/core/training/trainer.pyindex e40e7fc7c43..368f4e2a9c9 100644--- a/studio/backend/core/training/trainer.py+++ b/studio/backend/core/training/trainer.py@@ -48,17 +48,14 @@ from core.import_guards import ensure_real_packages as _ensure_real_packages_ensure_real_packages("unsloth_zoo", "unsloth")from unsloth import FastLanguageModel, FastVisionModel, is_bfloat16_supported-from unsloth.chat_templates import get_chat_templateimport jsonimport threadingimport math-import structlogfrom loggers import get_loggerimport timefrom pathlib import Pathfrom typing import Any, Dict, List, Optional, Callable-import pandas as pdfrom datasets import Datasetfrom utils.datasets.audio_decode import ensure_audio_decodingfrom utils.datasets.cache_safe import load_dataset_cache_safe as load_dataset@@ -240,12 +237,6 @@ class UnslothTrainer:self._lock = threading.Lock()- self.training_context = {- "base_model_name": None,- "output_dir": None,- "is_lora": True,- }-def pre_detect_and_load_tokenizer(self,model_name: str,diff --git a/studio/backend/core/training/training.py b/studio/backend/core/training/training.pyindex ab4835ee619..8db7e6462d9 100644--- a/studio/backend/core/training/training.py+++ b/studio/backend/core/training/training.py@@ -21,7 +21,6 @@ import shutilimport threadingimport timeimport traceback-import structlogfrom contextlib import contextmanager, nullcontextfrom datetime import datetime, timezonefrom loggers import get_logger@@ -3450,19 +3449,6 @@ class TrainingBackend:fig.tight_layout()return fig- def _transfer_to_inference_backend(self) -> bool:- """Transfer model to inference backend.-- No-op: with subprocess training the model is freed on exit, so inference- must load from the saved checkpoint on disk.- """- logger.info(- "_transfer_to_inference_backend: subprocess training — "- "model must be loaded from disk (output_dir=%s)",- self._output_dir,- )- return False-# ========== GLOBAL INSTANCE ==========_training_backend = Nonediff --git a/studio/backend/core/training/worker.py b/studio/backend/core/training/worker.pyindex 596778e778e..52470da90ed 100644--- a/studio/backend/core/training/worker.py+++ b/studio/backend/core/training/worker.py@@ -11,7 +11,6 @@ version-switching. Pattern follows core/data_recipe/jobs/worker.py.from __future__ import annotations-import structlogfrom loggers import get_loggerimport mathimport osdiff --git a/studio/backend/hub/routes/inventory.py b/studio/backend/hub/routes/inventory.pyindex a6fd8055538..083832ab85a 100644--- a/studio/backend/hub/routes/inventory.py+++ b/studio/backend/hub/routes/inventory.py@@ -23,7 +23,6 @@ from hub.schemas.downloads import ()from hub.schemas.inventory import (AddScanFolderRequest,- BrowseFoldersResponse,CachedGgufResponse,CachedModelsResponse,DeleteCachedModelResponse,@@ -32,7 +31,6 @@ from hub.schemas.inventory import (HiddenModelsResponse,LocalModelListResponse,ModelsFolderResponse,- RecommendedFoldersResponse,OrphanCompanionsResponse,RemoveScanFolderResponse,ScanFolderInfo,@@ -43,7 +41,6 @@ from hub.services.models import (companion_cleanup,deletion,downloads,- folder_browser,gguf_variants,local_inventory,)@@ -82,20 +79,6 @@ def remove_scan_folder_endpoint(return local_inventory.remove_scan_folder_response(folder_id)[email protected]("/recommended-folders", response_model = RecommendedFoldersResponse)-def get_recommended_folders(current_subject: str = Depends(get_current_subject)):- return folder_browser.get_recommended_folders_response()--[email protected]("/browse-folders", response_model = BrowseFoldersResponse)-def browse_folders(- path: Optional[str] = Query(None),- show_hidden: bool = Query(False),- current_subject: str = Depends(get_current_subject),-):- return folder_browser.browse_folders_response(path, show_hidden)--@router.get("/models-folder", response_model = ModelsFolderResponse)def get_models_folder(current_subject: str = Depends(get_current_subject)):return local_inventory.get_models_folder_response()diff --git a/studio/backend/hub/schemas/inventory.py b/studio/backend/hub/schemas/inventory.pyindex 4c5209b270f..1f56c11d6c7 100644--- a/studio/backend/hub/schemas/inventory.py+++ b/studio/backend/hub/schemas/inventory.py@@ -286,10 +286,6 @@ class RemoveScanFolderResponse(BaseModel):ok: bool-class RecommendedFoldersResponse(BaseModel):- folders: List[str] = Field(default_factory = list)--class DeleteCachedModelResponse(BaseModel):status: strrepo_id: str@@ -338,71 +334,6 @@ class OrphanCompanionsResponse(BaseModel):total_bytes: int = 0-class BrowseEntry(BaseModel):- """A directory entry surfaced by the folder browser."""-- name: str = Field(..., description = "Entry name (basename, not full path)")- has_models: bool = Field(- False,- description = (- "Hint that the directory likely contains models "- "(*.gguf, *.safetensors, config.json, or HF-style "- "`models--*` subfolders). Used by the UI to highlight "- "promising candidates; the scanner itself is authoritative."- ),- )- hidden: bool = Field(- False,- description = "Name starts with a dot (e.g. `.cache`)",- )---class BrowseFoldersResponse(BaseModel):- """Response schema for the folder browser endpoint."""-- current: str = Field(..., description = "Absolute path of the directory just listed")- parent: Optional[str] = Field(- None,- description = (- "Parent directory of `current`, or null if `current` is the "- "filesystem root. The frontend uses this to render an `Up` row."- ),- )- entries: List[BrowseEntry] = Field(- default_factory = list,- description = (- "Subdirectories of `current`. Sorted with model-bearing "- "directories first, then alphabetically case-insensitive; "- "hidden entries come last within each group."- ),- )- suggestions: List[str] = Field(- default_factory = list,- description = (- "Handy starting points (home, HF cache, already-registered "- "scan folders). Rendered as quick-pick chips above the list."- ),- )- truncated: bool = Field(- False,- description = (- "True when the listing was capped because the directory had "- "more subfolders than the server is willing to enumerate in "- "one request. The UI should show a hint telling the user to "- "narrow their path."- ),- )- model_files_here: int = Field(- 0,- description = (- "Count of GGUF/safetensors files immediately inside "- "``current``. Used by the UI to surface a hint on leaf "- "model directories (which otherwise look `empty` because "- "they contain only files, no subdirectories)."- ),- )--class ModelsFolderResponse(BaseModel):"""The directory where downloaded models are stored (the active HF hubcache, honoring ``HF_HOME`` / ``HF_HUB_CACHE``)."""diff --git a/studio/backend/hub/services/models/folder_browser.py b/studio/backend/hub/services/models/folder_browser.pyindex effb6a32ae7..d6d0d50586e 100644--- a/studio/backend/hub/services/models/folder_browser.py+++ b/studio/backend/hub/services/models/folder_browser.py@@ -1,7 +1,7 @@# SPDX-License-Identifier: AGPL-3.0-only# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-"""Model folder recommendation and browsing services."""+"""Shared allowlist helpers for secure local model file access."""from __future__ import annotations@@ -9,20 +9,12 @@ import osfrom pathlib import Pathfrom typing import Optional-from fastapi import HTTPExceptionfrom loggers import get_logger-from hub.schemas.inventory import BrowseEntry, BrowseFoldersResponse-from hub.storage.scan_folders import (- contains_sensitive_path_component,- is_denied_system_path,- list_scan_folders,-)from hub.utils.paths import (exports_root,hf_default_cache_dir,legacy_hf_cache_dir,- lmstudio_model_dirs,normalize_path,outputs_root,studio_root,@@ -39,130 +31,6 @@ from hub.services.models.local_inventory import _resolve_hf_cache_dirlogger = get_logger(__name__)-def get_recommended_folders_response() -> dict:- """Return well-known model directories that exist on this machine."""- folders: list[str] = []- seen: set[str] = set()-- def _add(p: Optional[Path]) -> None:- if p is None:- return- try:- resolved = str(p.resolve())- except OSError:- return- if resolved in seen:- return- if _safe_is_dir(resolved) and os.access(resolved, os.R_OK | os.X_OK):- seen.add(resolved)- folders.append(resolved)-- try:- for p in lmstudio_model_dirs():- _add(p)- except Exception as e:- logger.warning("Failed to scan for LM Studio model directories: %s", e)-- ollama_env = os.environ.get("OLLAMA_MODELS")- if ollama_env:- _add(Path(normalize_path(ollama_env)).expanduser())- for candidate in (- Path.home() / ".ollama" / "models",- Path("/usr/share/ollama/.ollama/models"),- Path("/var/lib/ollama/.ollama/models"),- ):- _add(candidate)-- return {"folders": folders}---# Ceiling on children to stat when guessing if a directory holds models.-_BROWSE_MODEL_HINT_PROBE = 64-# Hard cap on returned subdirectory entries so pointing at ``/usr/lib`` or-# ``/proc`` can't stat-storm the process or flood the client.-_BROWSE_ENTRY_CAP = 2000---def _count_model_files(directory: Path, cap: int = 200) -> int:- """Count GGUF/safetensors files immediately inside *directory*, bounded by visited entries (not matches) so the hint never costs more than ``cap`` stats."""- n = 0- visited = 0- try:- for f in directory.iterdir():- visited += 1- if visited > cap:- break- try:- if f.is_file():- low = f.name.lower()- if low.endswith((".gguf", ".safetensors")):- n += 1- except OSError:- continue- except PermissionError as e:- logger.debug("browse-folders: permission denied counting %s: %s", directory, e)- return 0- except OSError as e:- logger.debug("browse-folders: OS error counting %s: %s", directory, e)- return 0- return n---def _has_direct_model_signal(directory: Path) -> bool:- """True if an immediate child signals a model (GGUF/safetensors/config file or ``models--*`` HF-cache subdir); bounded by the hint probe."""- try:- it = directory.iterdir()- except OSError:- return False- try:- for i, child in enumerate(it):- if i >= _BROWSE_MODEL_HINT_PROBE:- break- try:- name = child.name- if child.is_file():- low = name.lower()- if low.endswith((".gguf", ".safetensors")):- return True- if low in ("config.json", "adapter_config.json"):- return True- elif child.is_dir() and name.startswith("models--"):- return True- except OSError:- continue- except OSError:- return False- return False---def _looks_like_model_dir(directory: Path) -> bool:- """Bounded heuristic flagging dirs worth exploring (false negatives are fine; the scanner is authoritative). Three signals, cheapest first: a ``models--*`` name, a direct child signal, or a grandchild signal (LM Studio / Ollama ``publisher/model/weights.gguf`` layout)."""- if directory.name.startswith("models--"):- return True- if _has_direct_model_signal(directory):- return True- try:- it = directory.iterdir()- except OSError:- return False- try:- for i, child in enumerate(it):- if i >= _BROWSE_MODEL_HINT_PROBE:- break- try:- if not child.is_dir():- continue- except OSError:- continue- if child.name.startswith("models--"):- return True- if _has_direct_model_signal(child):- return True- except OSError:- return False- return False--def _build_browse_allowlist(media_roots: Optional[list[Path]] = None, drive_roots: Optional[list[Path]] = None) -> list[Path]:@@ -278,327 +146,3 @@ def _is_path_inside_allowlist(target: Path, allowed_roots: list[Path]) -> bool:except ValueError:continuereturn False---def _normalize_browse_request_path(path: Optional[str], *, relative_root: Path) -> str:- """Normalize the browse request path lexically, without touching the FS."""- if path is None or not path.strip():- return os.path.normpath(str(Path.home()))-- expanded = os.path.expanduser(normalize_path(path.strip()))- if not os.path.isabs(expanded):- expanded = os.path.join(str(relative_root), expanded)- return os.path.normpath(expanded)---def _browse_relative_parts(requested_path: str, root: Path) -> Optional[list[str]]:- if "\x00" in requested_path:- raise HTTPException(- status_code = 400,- detail = "Path cannot contain null bytes",- )- root_text = os.path.normcase(os.path.normpath(str(root)))- requested_text = os.path.normcase(os.path.normpath(requested_path))- try:- rel_text = os.path.relpath(requested_text, root_text)- except ValueError:- return None-- if rel_text == ".":- return []- if rel_text == ".." or rel_text.startswith(f"..{os.sep}"):- return None-- parts = [part for part in rel_text.split(os.sep) if part not in ("", ".")]- altsep = os.altsep- for part in parts:- if part == ".." or "\x00" in part or os.sep in part or (altsep and altsep in part):- return None- return parts---def _match_browse_child(current: Path, name: str) -> Optional[Path]:- """Immediate child named ``name`` under ``current``, or None. ``name`` is pre-validated as a safe single component, so the join is O(1); case resolution follows OS filesystem semantics."""- child = current / name- try:- child.stat()- except (FileNotFoundError, NotADirectoryError):- return None- except PermissionError:- raise HTTPException(- status_code = 403,- detail = f"Permission denied reading {current}",- ) from None- except OSError as exc:- raise HTTPException(- status_code = 500,- detail = f"Could not read {current}: {exc}",- ) from exc- return child---def _resolve_browse_target(path: Optional[str], allowed_roots: list[Path]) -> Path:- """Resolve a requested browse path by walking from trusted allowlist roots."""- requested_path = _normalize_browse_request_path(path, relative_root = Path.home())- resolved_roots: list[Path] = []- seen_roots: set[str] = set()- for root in sorted(allowed_roots, key = lambda p: len(str(p)), reverse = True):- try:- resolved = root.resolve()- except OSError:- continue- key = os.path.normcase(os.path.realpath(str(resolved)))- if key in seen_roots:- continue- seen_roots.add(key)- resolved_roots.append(resolved)-- for root in resolved_roots:- parts = _browse_relative_parts(requested_path, root)- if parts is None:- continue-- current = root- for part in parts:- child = _match_browse_child(current, part)- if child is None:- raise HTTPException(- status_code = 404,- detail = f"Path does not exist: {requested_path}",- )- try:- resolved_child = child.resolve()- except OSError as exc:- raise HTTPException(- status_code = 400,- detail = f"Invalid path: {exc}",- ) from exc- if not _is_path_inside_allowlist(resolved_child, resolved_roots):- raise HTTPException(- status_code = 403,- detail = (- "Path is not in the browseable allowlist. Register it via "- "POST /api/hub/scan-folders first, or pick a directory "- "under your home folder."- ),- )- # HOME is in the allowlist, so without this denylist (same one- # registration enforces) a user could browse into ~/.ssh, ~/.aws, etc.- if contains_sensitive_path_component(str(resolved_child)):- raise HTTPException(- status_code = 403,- detail = "Credential or configuration directories are not browseable.",- )- if is_denied_system_path(str(resolved_child)):- raise HTTPException(- status_code = 403,- detail = "System directories are not browseable.",- )- current = resolved_child-- if contains_sensitive_path_component(str(current)):- raise HTTPException(- status_code = 403,- detail = "Credential or configuration directories are not browseable.",- )- # Zero-component case: the requested path IS an allowlist root- # (e.g. a legacy-registered "/" or a Windows drive root).- if is_denied_system_path(str(current)):- raise HTTPException(- status_code = 403,- detail = "System directories are not browseable.",- )- if not current.is_dir():- raise HTTPException(- status_code = 400,- detail = f"Not a directory: {current}",- )- return current-- raise HTTPException(- status_code = 403,- detail = (- "Path is not in the browseable allowlist. Register it via "- "POST /api/hub/scan-folders first, or pick a directory "- "under your home folder."- ),- )---def browse_folders_response(- path: Optional[str] = None, show_hidden: bool = False-) -> BrowseFoldersResponse:- """List immediate subdirectories of *path* for the Custom Folders picker.-- Requests are bounded to the :func:`_build_browse_allowlist` roots; paths- outside it return 403 (symlinks resolved via realpath first, so traversal- can't escape). Sorting: model-bearing dirs first, then plain, then hidden.- """- from hub.storage.scan_folders import list_scan_folders-- # Probe removable-media and Windows drive roots once; the allowlist and- # chips reuse the result so a disconnected mapped drive isn't scanned twice.- media_roots = [*linux_run_media_mount_roots(), *macos_volume_roots()]- drive_roots = windows_drive_roots()- # Build the allowlist once -- the sandbox check and suggestion chips share- # it so chips are always navigable.- allowed_roots = _build_browse_allowlist(media_roots, drive_roots)-- try:- target = _resolve_browse_target(path, allowed_roots)- except HTTPException:- requested_path = _normalize_browse_request_path(- path,- relative_root = Path.home(),- )- if path is not None and path.strip():- logger.warning(- "browse-folders: rejected path %r (normalized=%s)",- path,- requested_path,- )- raise-- # Enumerate immediate subdirectories with a bounded cap so a stray- # query against ``/usr/lib`` or ``/proc`` can't stat-storm the process.- entries: list[BrowseEntry] = []- truncated = False- visited = 0- try:- it = target.iterdir()- except PermissionError:- raise HTTPException(- status_code = 403,- detail = f"Permission denied reading {target}",- )- except OSError as exc:- raise HTTPException(- status_code = 500,- detail = f"Could not read {target}: {exc}",- )-- try:- for child in it:- # Bound by visited entries, not appended ones, so a directory full- # of files still caps work at ``_BROWSE_ENTRY_CAP`` stats.- visited += 1- if visited > _BROWSE_ENTRY_CAP:- truncated = True- break- try:- if not child.is_dir():- continue- except OSError:- continue- name = child.name- is_hidden = name.startswith(".")- if is_hidden and not show_hidden:- continue- # Don't surface credential/config dirs even with show_hidden:- # descending into them is refused and registration rejects them.- if contains_sensitive_path_component(name):- continue- # Same for denied system dirs (C:\Windows, /etc, ...): descent 403s,- # so don't render them as clickable rows. Resolve first so a- # symlink/junction into a denied dir is hidden too, not just a literal name.- try:- resolved_child = os.path.realpath(str(child))- except (OSError, ValueError):- resolved_child = str(child)- if is_denied_system_path(resolved_child):- continue- entries.append(- BrowseEntry(- name = name,- has_models = _looks_like_model_dir(child),- hidden = is_hidden,- )- )- except PermissionError as exc:- logger.debug(- "browse-folders: permission denied during enumeration of %s: %s",- target,- exc,- )- except OSError as exc:- # Rare: iterdir succeeded but reading a specific entry failed.- logger.warning("browse-folders: partial enumeration of %s: %s", target, exc)-- # Model-bearing dirs first, then plain, then hidden; case-insensitive- # alphabetical within each bucket.- def _sort_key(e: BrowseEntry) -> tuple[int, str]:- bucket = 0 if e.has_models else (2 if e.hidden else 1)- return (bucket, e.name.lower())-- entries.sort(key = _sort_key)-- # Parent is None at the FS root and when it would step outside the sandbox,- # so the up-row never 403s on click.- parent: Optional[str]- if target.parent == target or not _is_path_inside_allowlist(target.parent, allowed_roots):- parent = None- else:- parent = str(target.parent)-- # Handy starting points for the quick-pick chips.- suggestions: list[str] = []- seen_sug: set[str] = set()-- def _add_sug(p: Optional[Path | str]) -> None:- if p is None:- return- try:- p = Path(normalize_path(str(p))).expanduser()- resolved = str(p.resolve())- except (OSError, RuntimeError, ValueError):- return- if resolved in seen_sug:- return- # Drop a denied system dir (e.g. a stale scan-folder row) so it never- # becomes a chip that 403s on click. Drive roots stay: only their- # system subdirectories are denied, not the root itself.- if is_denied_system_path(resolved):- return- if _safe_is_dir(resolved):- seen_sug.add(resolved)- suggestions.append(resolved)-- # Home first as the safe fallback.- _add_sug(Path.home())- # Reuse the roots probed for the allowlist above (no second drive scan).- for p in media_roots:- _add_sug(p)- # Windows drive roots so the user can hop between C:, D:, E: ...- for p in drive_roots:- _add_sug(p)- # The HF cache root in use (honors HF_HOME / HF_HUB_CACHE), then the default.- try:- _add_sug(_resolve_hf_cache_dir())- except Exception:- pass- try:- _add_sug(hf_default_cache_dir())- except Exception:- pass- # Already-registered scan folders (what the user has curated).- try:- for folder in list_scan_folders():- _add_sug(folder.get("path", ""))- except Exception as exc:- logger.debug("browse-folders: could not load scan folders: %s", exc)- # Well-known third-party dirs (LM Studio, Ollama, ~/models). Each helper- # only returns existing paths so we never show dead chips.- try:- for p in well_known_model_dirs():- _add_sug(p)- except Exception as exc:- logger.debug("browse-folders: could not load well-known dirs: %s", exc)-- return BrowseFoldersResponse(- current = str(target),- parent = parent,- entries = entries,- suggestions = suggestions,- truncated = truncated,- model_files_here = _count_model_files(target),- )diff --git a/studio/backend/hub/tests/test_model_services.py b/studio/backend/hub/tests/test_model_services.pyindex 6c746b3e711..65d53e830cf 100644--- a/studio/backend/hub/tests/test_model_services.py+++ b/studio/backend/hub/tests/test_model_services.py@@ -3,11 +3,11 @@import asyncioimport errno-import timeimport jsonimport osimport sysimport threading+import timefrom collections import Counterfrom pathlib import Pathfrom types import SimpleNamespace@@ -42,16 +42,6 @@ from hub.utils import (from hub.workers import hf_download[email protected](autouse = True)-def _denylist_inert(monkeypatch):- # These browse tests exercise allowlist containment, symlink safety and the sensitive-name- # filter, not the system-directory denylist (its own suite is tests/test_browse_denylist.py).- # On macOS tmp_path resolves under /private/var, a denied prefix, so keep the denylist inert- # for cross-platform parity. folder_browser binds is_denied_system_path at import, so patch it- # there. The "rejects" cases still 403 via the allowlist/sensitive checks.- monkeypatch.setattr(folder_browser, "is_denied_system_path", lambda _p: False)--def _download_body(**over) -> SimpleNamespace:"""A download request with every field the route reads.@@ -1433,69 +1423,6 @@ class _RecordingLogger:self.warnings.append((args, kwargs))-def test_resolve_browse_target_preserves_allowlist_and_symlink_safety(tmp_path):- home = tmp_path / "home"- scan = tmp_path / "scan"- target = scan / "nested"- home.mkdir()- target.mkdir(parents = True)- (home / "scan-link").symlink_to(scan, target_is_directory = True)-- resolved = folder_browser._resolve_browse_target(- str(home / "scan-link" / "nested"),- [home, scan],- )-- assert resolved == target.resolve()---def test_resolve_browse_target_rejects_outside_allowlist(tmp_path):- allowed = tmp_path / "allowed"- outside = tmp_path / "outside"- allowed.mkdir()- outside.mkdir()-- with pytest.raises(HTTPException) as exc_info:- folder_browser._resolve_browse_target(str(outside), [allowed])-- assert exc_info.value.status_code == 403---def test_resolve_browse_target_rejects_sensitive_dir(tmp_path):- home = tmp_path / "home"- ssh = home / ".ssh"- ssh.mkdir(parents = True)-- with pytest.raises(HTTPException) as exc_info:- folder_browser._resolve_browse_target(str(ssh), [home])-- assert exc_info.value.status_code == 403---def test_resolve_browse_target_rejects_sensitive_root(tmp_path):- ssh = tmp_path / "home" / ".ssh"- ssh.mkdir(parents = True)-- with pytest.raises(HTTPException) as exc_info:- folder_browser._resolve_browse_target(str(ssh), [ssh])-- assert exc_info.value.status_code == 403---def test_browse_folders_hides_sensitive_dirs(monkeypatch, tmp_path):- home = tmp_path / "home"- (home / ".ssh").mkdir(parents = True)- (home / "models").mkdir()- # Accept and ignore the optional (media_roots, drive_roots) args the caller now passes.- monkeypatch.setattr(folder_browser, "_build_browse_allowlist", lambda *_a, **_k: [home])-- response = folder_browser.browse_folders_response(str(home), show_hidden = True)-- names = {entry.name for entry in response.entries}- assert "models" in names- assert ".ssh" not in names--def test_browse_allowlist_includes_linux_run_media_mounts(monkeypatch, tmp_path):home = tmp_path / "home"media_root = tmp_path / "run" / "media" / "dspofu" / "nvmeB"@@ -1511,7 +1438,7 @@ def test_browse_allowlist_includes_linux_run_media_mounts(monkeypatch, tmp_path)allowlist = folder_browser._build_browse_allowlist()assert media_root.resolve() in allowlist- assert folder_browser._resolve_browse_target(str(model_dir), allowlist) == model_dir.resolve()+ assert folder_browser._is_path_inside_allowlist(model_dir.resolve(), allowlist)def test_get_models_folder_response_creates_and_returns_dir(monkeypatch, tmp_path):diff --git a/studio/backend/routes/models.py b/studio/backend/routes/models.pyindex 2b2e124b4d1..9e054feef7d 100644--- a/studio/backend/routes/models.py+++ b/studio/backend/routes/models.py@@ -7,7 +7,6 @@ import asyncioimport hashlibimport jsonimport os-import reimport shutilimport sysimport threading@@ -18,7 +17,6 @@ from pathlib import Pathfrom fastapi import APIRouter, Body, Depends, Header, HTTPException, Queryfrom pydantic import BaseModelfrom typing import List, NamedTuple, Optional-import structlogfrom loggers import get_logger# Dependency-light leaf (PEP 562 package init): no llama.cpp / torch import chain.@@ -135,11 +133,9 @@ try:is_vision_model,is_embedding_model,scan_checkpoints,- list_gguf_variants,ModelConfig,)from utils.models.model_config import (- _pick_best_gguf,_extract_quant_label,_is_big_endian_gguf_path,_is_mtp_drafter,@@ -169,11 +165,9 @@ except ImportError:is_vision_model,is_embedding_model,scan_checkpoints,- list_gguf_variants,ModelConfig,)from utils.models.model_config import (- _pick_best_gguf,_extract_quant_label,_is_big_endian_gguf_path,_is_mtp_drafter,diff --git a/studio/backend/tests/test_export_absolute_paths.py b/studio/backend/tests/test_export_absolute_paths.pyindex 3d7899ace70..bdea7af62b9 100644--- a/studio/backend/tests/test_export_absolute_paths.py+++ b/studio/backend/tests/test_export_absolute_paths.py@@ -171,7 +171,6 @@ def _install_lightweight_backend_stubs(monkeypatch):)utils_model_config = types.ModuleType("utils.models.model_config")- utils_model_config._pick_best_gguf = lambda variants: variants[0] if variants else Noneutils_model_config._extract_quant_label = lambda value: valueutils_model_config._is_big_endian_gguf_path = lambda *args, **kwargs: Falseutils_model_config._is_mtp_drafter = lambda *args, **kwargs: Falsediff --git a/studio/backend/tests/test_logging_middleware.py b/studio/backend/tests/test_logging_middleware.pyindex c5a7e598f97..dc76862e68c 100644--- a/studio/backend/tests/test_logging_middleware.py+++ b/studio/backend/tests/test_logging_middleware.py@@ -72,7 +72,7 @@ def test_excluded_asset_success_skips_log(logs):async def send(message):pass- for path in ("/assets/index.css", "/huggingface.svg", "/font.woff2"):+ for path in ("/assets/index.css", "/icon.svg", "/font.woff2"):_run(LoggingMiddleware(app)(_http_scope(path), _noop_receive, send))assert logs.events == []diff --git a/studio/backend/tests/test_training_pump_resilience.py b/studio/backend/tests/test_training_pump_resilience.pyindex d690e364ff4..5d9d406729e 100644--- a/studio/backend/tests/test_training_pump_resilience.py+++ b/studio/backend/tests/test_training_pump_resilience.py@@ -42,12 +42,6 @@ _lg = _types.ModuleType("loggers")_lg.get_logger = lambda name: logging.getLogger(name)_stub("loggers", _lg)_stub("structlog", _types.ModuleType("structlog"))-_mpl = _types.ModuleType("matplotlib")-_plt = _types.ModuleType("matplotlib.pyplot")-_plt.Figure = type("Figure", (), {}) # referenced in a class-def annotation-_mpl.pyplot = _plt-_stub("matplotlib", _mpl)-_stub("matplotlib.pyplot", _plt)_hw = _types.ModuleType("utils.hardware")_hw.get_device = lambda: _types.SimpleNamespace(value = "cpu")_hw.prepare_gpu_selection = lambda *a, **k: (None, None)@@ -70,8 +64,6 @@ from core.training.training import TrainingBackendfor _name in ("loggers","structlog",- "matplotlib",- "matplotlib.pyplot","utils.hardware","utils.native_path_leases","utils.paths",diff --git a/studio/backend/tests/test_training_stop_watchdog.py b/studio/backend/tests/test_training_stop_watchdog.pyindex 92f4f6fb006..19bc769c32c 100644--- a/studio/backend/tests/test_training_stop_watchdog.py+++ b/studio/backend/tests/test_training_stop_watchdog.py@@ -46,12 +46,6 @@ _lg = _types.ModuleType("loggers")_lg.get_logger = lambda name: logging.getLogger(name)_stub("loggers", _lg)_stub("structlog", _types.ModuleType("structlog"))-_mpl = _types.ModuleType("matplotlib")-_plt = _types.ModuleType("matplotlib.pyplot")-_plt.Figure = type("Figure", (), {}) # referenced in a class-def annotation-_mpl.pyplot = _plt-_stub("matplotlib", _mpl)-_stub("matplotlib.pyplot", _plt)_hw = _types.ModuleType("utils.hardware")_hw.get_device = lambda: _types.SimpleNamespace(value = "cpu")_hw.prepare_gpu_selection = lambda *a, **k: (None, None)@@ -77,8 +71,6 @@ _TRAINING_MODULE_FILE = sys.modules["core.training.training"].__file__for _name in ("loggers","structlog",- "matplotlib",- "matplotlib.pyplot","utils.hardware","utils.native_path_leases","utils.paths",diff --git a/studio/backend/tests/test_training_xet_fallback.py b/studio/backend/tests/test_training_xet_fallback.pyindex bf2532e6fc7..2c450868572 100644--- a/studio/backend/tests/test_training_xet_fallback.py+++ b/studio/backend/tests/test_training_xet_fallback.py@@ -36,12 +36,6 @@ _lg = _types.ModuleType("loggers")_lg.get_logger = lambda name: logging.getLogger(name)_stub("loggers", _lg)_stub("structlog", _types.ModuleType("structlog"))-_mpl = _types.ModuleType("matplotlib")-_plt = _types.ModuleType("matplotlib.pyplot")-_plt.Figure = type("Figure", (), {}) # referenced in a class-def annotation-_mpl.pyplot = _plt-_stub("matplotlib", _mpl)-_stub("matplotlib.pyplot", _plt)_hw = _types.ModuleType("utils.hardware")_hw.get_device = lambda: _types.SimpleNamespace(value = "cpu")_hw.prepare_gpu_selection = lambda *a, **k: (None, None)@@ -63,8 +57,6 @@ from core.training.training import TrainingBackendfor _name in ("loggers","structlog",- "matplotlib",- "matplotlib.pyplot","utils.hardware","utils.native_path_leases","utils.paths",diff --git a/studio/frontend/biome.json b/studio/frontend/biome.jsonindex 66dcd322a07..f61e504fa77 100644--- a/studio/frontend/biome.json+++ b/studio/frontend/biome.json@@ -126,14 +126,6 @@}}},- {- "include": ["src/features/onboarding/components/steps/summary-step.tsx"],- "linter": {- "rules": {- "style": { "useExplicitLengthCheck": "off" }- }- }- },{"include": ["src/components/ui/**"],"linter": {diff --git a/studio/frontend/public/hub/profile/logo/anthropic.svg b/studio/frontend/public/hub/profile/logo/anthropic.svgdeleted file mode 100644index 7545cc8f3e4..00000000000--- a/studio/frontend/public/hub/profile/logo/anthropic.svg+++ /dev/null@@ -1,6 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="900" height="900" viewBox="0 0 900 900">-<g>-<path d="M 222.16 664.50 L 212.35 691.50 L 206.42 691.53 C163.39,691.75 102.00,690.80 102.00,689.92 C102.00,689.34 103.32,685.63 104.94,681.68 C106.56,677.73 124.74,632.20 145.34,580.50 C165.94,528.80 205.07,430.70 232.29,362.50 C259.51,294.30 284.65,231.20 288.14,222.28 L 294.50 206.05 L 404.68 206.00 L 405.94 208.75 C407.23,211.56 413.90,227.98 437.50,286.50 C444.82,304.65 453.36,325.80 456.49,333.50 C459.61,341.20 475.70,381.02 492.24,422.00 C508.78,462.98 528.13,510.90 535.25,528.50 C542.36,546.10 553.72,574.22 560.48,591.00 C567.25,607.78 575.81,628.92 579.50,638.00 C585.05,651.65 598.92,686.11 600.73,690.76 C601.12,691.76 590.44,691.97 547.95,691.76 L 494.69 691.50 L 489.31 678.00 C486.35,670.58 481.94,659.33 479.52,653.00 C477.10,646.67 471.91,633.17 468.00,623.00 C464.08,612.83 459.67,601.24 458.19,597.25 L 455.51 590.00 L 249.31 590.00 L 245.56 600.25 C237.09,623.44 231.46,638.87 222.16,664.50 ZM 798.00 691.05 C798.00,691.64 777.31,692.00 743.50,692.00 C703.78,692.00 689.00,691.69 689.00,690.87 C689.00,690.26 685.87,681.82 682.04,672.12 C678.21,662.43 670.76,643.47 665.49,630.00 C660.21,616.53 652.36,596.50 648.03,585.50 C638.84,562.16 624.19,524.76 620.02,514.00 C615.63,502.69 600.65,464.57 593.49,446.50 C590.00,437.70 582.57,418.80 576.98,404.50 C562.77,368.16 549.76,334.97 543.27,318.50 C540.24,310.80 536.29,300.67 534.50,296.00 C532.71,291.33 526.45,275.35 520.59,260.50 C514.73,245.65 507.70,227.83 504.97,220.91 C502.23,213.98 500.00,207.85 500.00,207.29 C500.00,204.88 522.83,204.39 576.12,205.66 L 603.75 206.32 L 624.52 257.91 C635.94,286.28 646.96,313.77 649.01,319.00 C651.05,324.23 663.76,355.95 677.26,389.50 C699.90,445.80 737.77,540.07 780.62,646.80 C790.18,670.61 798.00,690.53 798.00,691.05 ZM 285.33 500.42 C285.62,501.18 305.07,501.42 351.82,501.24 L 417.90 500.97 L 415.37 494.24 C413.98,490.53 410.81,482.33 408.32,476.00 C405.83,469.67 403.42,463.38 402.98,462.00 C402.53,460.62 398.95,451.17 395.03,441.00 C391.11,430.83 384.57,413.73 380.50,403.00 C376.42,392.27 369.89,375.17 365.97,365.00 C362.05,354.83 357.46,342.77 355.77,338.20 C354.08,333.64 352.38,330.26 352.00,330.70 C351.61,331.14 347.21,341.85 342.21,354.50 C333.07,377.64 317.55,416.89 296.36,470.42 C290.06,486.32 285.10,499.82 285.33,500.42 Z" fill="rgb(37,37,36)"/>-<path d="M 0.00 450.00 L 0.00 0.00 L 450.00 0.00 L 900.00 0.00 L 900.00 450.00 L 900.00 900.00 L 450.00 900.00 L 0.00 900.00 L 0.00 450.00 ZM 222.16 664.50 C231.46,638.87 237.09,623.44 245.56,600.25 L 249.31 590.00 L 352.41 590.00 L 455.51 590.00 L 458.19 597.25 C459.67,601.24 464.08,612.83 468.00,623.00 C471.91,633.17 477.10,646.67 479.52,653.00 C481.94,659.33 486.35,670.58 489.31,678.00 L 494.69 691.50 L 547.95 691.76 C590.44,691.97 601.12,691.76 600.73,690.76 C598.92,686.11 585.05,651.65 579.50,638.00 C575.81,628.92 567.25,607.78 560.48,591.00 C553.72,574.22 542.36,546.10 535.25,528.50 C528.13,510.90 508.78,462.98 492.24,422.00 C475.70,381.02 459.61,341.20 456.49,333.50 C453.36,325.80 444.82,304.65 437.50,286.50 C413.90,227.98 407.23,211.56 405.94,208.75 L 404.68 206.00 L 349.59 206.03 L 294.50 206.05 L 288.14 222.28 C284.65,231.20 259.51,294.30 232.29,362.50 C205.07,430.70 165.94,528.80 145.34,580.50 C124.74,632.20 106.56,677.73 104.94,681.68 C103.32,685.63 102.00,689.34 102.00,689.92 C102.00,690.80 163.39,691.75 206.42,691.53 L 212.35 691.50 L 222.16 664.50 ZM 798.00 691.05 C798.00,690.53 790.18,670.61 780.62,646.80 C737.77,540.07 699.90,445.80 677.26,389.50 C663.76,355.95 651.05,324.23 649.01,319.00 C646.96,313.77 635.94,286.28 624.52,257.91 L 603.75 206.32 L 576.12 205.66 C522.83,204.39 500.00,204.88 500.00,207.29 C500.00,207.85 502.23,213.98 504.97,220.91 C507.70,227.83 514.73,245.65 520.59,260.50 C526.45,275.35 532.71,291.33 534.50,296.00 C536.29,300.67 540.24,310.80 543.27,318.50 C549.76,334.97 562.77,368.16 576.98,404.50 C582.57,418.80 590.00,437.70 593.49,446.50 C600.65,464.57 615.63,502.69 620.02,514.00 C624.19,524.76 638.84,562.16 648.03,585.50 C652.36,596.50 660.21,616.53 665.49,630.00 C670.76,643.47 678.21,662.43 682.04,672.12 C685.87,681.82 689.00,690.26 689.00,690.87 C689.00,691.69 703.78,692.00 743.50,692.00 C777.31,692.00 798.00,691.64 798.00,691.05 ZM 285.33 500.42 C285.10,499.82 290.06,486.32 296.36,470.42 C317.55,416.89 333.07,377.64 342.21,354.50 C347.21,341.85 351.61,331.14 352.00,330.70 C352.38,330.26 354.08,333.64 355.77,338.20 C357.46,342.77 362.05,354.83 365.97,365.00 C369.89,375.17 376.42,392.27 380.50,403.00 C384.57,413.73 391.11,430.83 395.03,441.00 C398.95,451.17 402.53,460.62 402.98,462.00 C403.42,463.38 405.83,469.67 408.32,476.00 C410.81,482.33 413.98,490.53 415.37,494.24 L 417.90 500.97 L 351.82 501.24 C305.07,501.42 285.62,501.18 285.33,500.42 Z" fill="rgb(209,155,118)"/>-</g>-</svg>\ No newline at end of filediff --git a/studio/frontend/public/huggingface.svg b/studio/frontend/public/huggingface.svgdeleted file mode 100644index c48757ff875..00000000000--- a/studio/frontend/public/huggingface.svg+++ /dev/null@@ -1,4 +0,0 @@-<!-- SPDX-License-Identifier: AGPL-3.0-only -->-<!-- Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0 -->--<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>HuggingFace</title><path d="M16.781 3.277c2.997 1.704 4.844 4.851 4.844 8.258 0 .995-.155 1.955-.443 2.857a1.332 1.332 0 011.125.4 1.41 1.41 0 01.2 1.723c.204.165.352.385.428.632l.017.062c.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.255.57-.893 1.018-2.128 1.5l-.202.078-.131.048c-.478.173-.89.295-1.061.345l-.086.024c-.89.243-1.808.375-2.732.394-1.32 0-2.3-.36-2.923-1.067a9.852 9.852 0 01-3.18.018C9.778 21.647 8.802 22 7.494 22a11.249 11.249 0 01-2.541-.343l-.221-.06-.273-.08a16.574 16.574 0 01-1.175-.405c-1.237-.483-1.875-.93-2.13-1.501-.186-.4-.151-.867.093-1.236a1.42 1.42 0 01-.2-1.166c.069-.273.226-.516.447-.694a1.41 1.41 0 01.2-1.722c.233-.248.557-.391.917-.407l.078-.001a9.385 9.385 0 01-.44-2.85c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0zM4.188 14.758c.125.687 2.357 2.35 2.14 2.707-.19.315-.796-.239-.948-.386l-.041-.04-.168-.147c-.561-.479-2.304-1.9-2.74-1.432-.43.46.119.859 1.055 1.42l.784.467.136.083c1.045.643 1.12.84.95 1.113-.188.295-3.07-2.1-3.34-1.083-.27 1.011 2.942 1.304 2.744 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725l.16.04.175.042c1.227.284 3.565.65 4.435-.604.673-.973.64-1.709-.248-2.61l-.057-.057c-.945-.928-1.495-2.288-1.495-2.288l-.017-.058-.025-.072c-.082-.22-.284-.639-.63-.584-.46.073-.798 1.21.12 1.933l.05.038c.977.721-.195 1.21-.573.534l-.058-.104-.143-.25c-.463-.799-1.282-2.111-1.739-2.397-.532-.332-.907-.148-.782.541zm14.842-.541c-.533.335-1.563 2.074-1.94 2.751a.613.613 0 01-.687.302.436.436 0 01-.176-.098.303.303 0 01-.049-.06l-.014-.028-.008-.02-.007-.019-.003-.013-.003-.017a.289.289 0 01-.004-.048c0-.12.071-.266.25-.427.026-.024.054-.047.084-.07l.047-.036c.022-.016.043-.032.063-.049.883-.71.573-1.81.131-1.917l-.031-.006-.056-.004a.368.368 0 00-.062.006l-.028.005-.042.014-.039.017-.028.015-.028.019-.036.027-.023.02c-.173.158-.273.428-.31.542l-.016.054s-.53 1.309-1.439 2.234l-.054.054c-.365.358-.596.69-.702 1.018-.143.437-.066.868.21 1.353.055.097.117.195.187.296.882 1.275 3.282.876 4.494.59l.286-.07.25-.074c.276-.084.736-.233 1.2-.42l.188-.077.065-.028.064-.028.124-.056.081-.038c.529-.252.964-.543.994-.827l.001-.036a.299.299 0 00-.037-.139c-.094-.176-.271-.212-.491-.168l-.045.01c-.044.01-.09.024-.136.04l-.097.035-.054.022c-.559.23-1.238.705-1.607.745h.006a.452.452 0 01-.05.003h-.024l-.024-.003-.023-.005c-.068-.016-.116-.06-.14-.142a.22.22 0 01-.005-.1c.062-.345.958-.595 1.713-.91l.066-.028c.528-.224.97-.483.985-.832v-.04a.47.47 0 00-.016-.098c-.048-.18-.175-.251-.36-.251-.785 0-2.55 1.36-2.92 1.36-.025 0-.048-.007-.058-.024a.6.6 0 01-.046-.088c-.1-.238.068-.462 1.06-1.066l.209-.126c.538-.32 1.01-.588 1.341-.831.29-.212.475-.406.503-.6l.003-.028c.008-.113-.038-.227-.147-.344a.266.266 0 00-.07-.054l-.034-.015-.013-.005a.403.403 0 00-.13-.02c-.162 0-.369.07-.595.18-.637.313-1.431.952-1.826 1.285l-.249.215-.033.033c-.08.078-.288.27-.493.386l-.071.037-.041.019a.535.535 0 01-.122.036h.005a.346.346 0 01-.031.003l.01-.001-.013.001c-.079.005-.145-.021-.19-.095a.113.113 0 01-.014-.065c.027-.465 2.034-1.991 2.152-2.642l.009-.048c.1-.65-.271-.817-.791-.493zM11.938 2.984c-4.798 0-8.688 3.829-8.688 8.55 0 .692.083 1.364.24 2.008l.008-.009c.252-.298.612-.46 1.017-.46.355.008.699.117.993.312.22.14.465.384.715.694.261-.372.69-.598 1.15-.605.852 0 1.367.728 1.562 1.383l.047.105.06.127c.192.396.595 1.139 1.143 1.68 1.06 1.04 1.324 2.115.8 3.266a8.865 8.865 0 002.024-.014c-.505-1.12-.26-2.17.74-3.186l.066-.066c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694a1.87 1.87 0 01.99-.312c.357 0 .682.126.925.36.14-.61.215-1.245.215-1.898 0-4.722-3.89-8.55-8.687-8.55zm1.857 8.926l.439-.212c.553-.264.89-.383.89.152 0 1.093-.771 3.208-3.155 3.262h-.184c-2.325-.052-3.116-2.06-3.156-3.175l-.001-.087c0-1.107 1.452.586 3.25.586.716 0 1.379-.272 1.917-.526zm4.017-3.143c.45 0 .813.358.813.8 0 .441-.364.8-.813.8a.806.806 0 01-.812-.8c0-.442.364-.8.812-.8zm-11.624 0c.448 0 .812.358.812.8 0 .441-.364.8-.812.8a.806.806 0 01-.813-.8c0-.442.364-.8.813-.8zm7.79-.841c.32-.384.846-.54 1.33-.394.483.146.83.564.878 1.06.048.495-.212.97-.659 1.203-.322.168-.447-.477-.767-.585l.002-.003c-.287-.098-.772.362-.925.079a1.215 1.215 0 01.14-1.36zm-4.323 0c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003c-.108.036-.194.134-.273.24l-.118.165c-.11.15-.22.262-.377.18a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394z"></path></svg>\ No newline at end of filediff --git a/studio/frontend/src/app/provider.tsx b/studio/frontend/src/app/provider.tsxindex ea6aa9a712f..7bc2e5126f8 100644--- a/studio/frontend/src/app/provider.tsx+++ b/studio/frontend/src/app/provider.tsx@@ -446,14 +446,12 @@ function TauriUpdateLayer({}const HIDDEN_TITLEBAR_SIDEBAR_ROUTES = new Set([- "/onboarding","/login","/change-password","/signup",]);const WEB_UPDATE_HIDDEN_ROUTES = new Set([- "/onboarding","/login","/change-password","/signup",diff --git a/studio/frontend/src/app/router.tsx b/studio/frontend/src/app/router.tsxindex 0f4f98fa046..9fafbe7f1a8 100644--- a/studio/frontend/src/app/router.tsx+++ b/studio/frontend/src/app/router.tsx@@ -17,7 +17,6 @@ import { Route as audioRoute } from "./routes/audio";import { Route as indexRoute } from "./routes/index";import { Route as loginRoute } from "./routes/login";import { Route as hubRoute } from "./routes/hub";-import { Route as onboardingRoute } from "./routes/onboarding";import { Route as projectsRoute } from "./routes/projects";import { Route as changePasswordRoute } from "./routes/change-password";import { Route as settingsRoute } from "./routes/settings";@@ -25,7 +24,6 @@ import { Route as studioRoute } from "./routes/studio";const routeTree = rootRoute.addChildren([indexRoute,- onboardingRoute,loginRoute,changePasswordRoute,hubRoute,diff --git a/studio/frontend/src/app/routes/__root.tsx b/studio/frontend/src/app/routes/__root.tsxindex bea33808190..efcbe8f405b 100644--- a/studio/frontend/src/app/routes/__root.tsx+++ b/studio/frontend/src/app/routes/__root.tsx@@ -191,7 +191,7 @@ export const Route = createRootRoute({component: RootLayout,});-const HIDDEN_NAVBAR_ROUTES = ["/onboarding", "/login", "/change-password"];+const HIDDEN_NAVBAR_ROUTES = ["/login", "/change-password"];// Fallback when no matched route declares a `staticData.title`.const DEFAULT_DOCUMENT_TITLE = "Unsloth";@@ -474,7 +474,7 @@ function RootLayout() {return (<AppProvider>- {!isAuthFlowRoute || pathname === "/onboarding" ? (+ {!isAuthFlowRoute ? (<CredentialBootstrapGate>{content}</CredentialBootstrapGate>) : (contentdiff --git a/studio/frontend/src/app/routes/onboarding.tsx b/studio/frontend/src/app/routes/onboarding.tsxdeleted file mode 100644index bdac4162b01..00000000000--- a/studio/frontend/src/app/routes/onboarding.tsx+++ /dev/null@@ -1,26 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { createRoute } from "@tanstack/react-router";-import { lazy } from "react";-import { requireAuth } from "../auth-guards";-import { Route as rootRoute } from "./__root";--export type OnboardingSearch = { redirectTo?: string };--const WizardLayout = lazy(() =>- import("@/features/onboarding/components/wizard-layout").then((m) => ({- default: m.WizardLayout,- })),-);--export const Route = createRoute({- getParentRoute: () => rootRoute,- path: "/onboarding",- staticData: { title: "Onboarding", isAuthFlow: true },- beforeLoad: () => requireAuth(),- validateSearch: (search: Record<string, unknown>): OnboardingSearch => ({- redirectTo: typeof search.redirectTo === "string" ? search.redirectTo : undefined,- }),- component: WizardLayout,-});diff --git a/studio/frontend/src/config/training.ts b/studio/frontend/src/config/training.tsindex 0877cca4ff5..28c4c3a769b 100644--- a/studio/frontend/src/config/training.ts+++ b/studio/frontend/src/config/training.ts@@ -1,69 +1,8 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-import type { ModelType, StepConfig } from "@/types/training";+import type { ModelType } from "@/types/training";import type { PipelineType } from "@huggingface/hub";--export const STEPS: StepConfig[] = [- {- number: 1,- title: "Model Type",- subtitle: "Select type",- description: "Choose the type of model you want to fine-tune",- },- {- number: 2,- title: "Model",- subtitle: "Select model",- description: "Choose a base model and training method",- },- {- number: 3,- title: "Dataset",- subtitle: "Add dataset",- description: "Select or upload a training dataset",- },- {- number: 4,- title: "Parameters",- subtitle: "Configure",- description: "Fine-tune your training hyperparameters",- },- {- number: 5,- title: "Summary",- subtitle: "Review",- description: "Review your configuration before starting",- },-];--export const MODEL_TYPES: ReadonlyArray<{- value: ModelType;- label: string;- description: string;-}> = [- {- value: "text",- label: "Text",- description: "Language models",- },- {- value: "vision",- label: "Vision",- description: "Image understanding models",- },- {- value: "audio",- label: "Audio",- description: "Audio and speech models",- },- {- value: "embeddings",- label: "Embeddings",- description: "Text embedding models",- },-];-export const CONTEXT_LENGTHS = [512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144,];@@ -120,7 +59,7 @@ export const LR_SCHEDULER_OPTIONS: ReadonlyArray<{];/** Method-aware learning rate defaults; the backend mirrors these in-* studio/backend/assets/configs/. */+ * studio/backend/assets/configs/. */export const LR_DEFAULT_LORA = 2e-4;export const LR_DEFAULT_FULL = 2e-5;export const LR_DEFAULT_CPT = 5e-5;diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsxindex 72181b8e4f2..1330de4b006 100644--- a/studio/frontend/src/features/auth/components/auth-form.tsx+++ b/studio/frontend/src/features/auth/components/auth-form.tsx@@ -28,7 +28,6 @@ import {hasAuthToken,hasRefreshToken,mustChangePassword,- resetOnboardingDone,setMustChangePassword,storeAuthTokens,} from "../session";@@ -291,7 +290,6 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {}if (!isLoginMode) {- resetOnboardingDone();setRequiresPasswordChange(false);setMustChangePassword(false);} else {diff --git a/studio/frontend/src/features/auth/index.ts b/studio/frontend/src/features/auth/index.tsindex 08cf646dcdd..d45c2dc2c77 100644--- a/studio/frontend/src/features/auth/index.ts+++ b/studio/frontend/src/features/auth/index.ts@@ -14,10 +14,7 @@ export {getPostAuthRoute,hasAuthToken,hasRefreshToken,- isOnboardingDone,- markOnboardingDone,mustChangePassword,- resetOnboardingDone,setMustChangePassword,storeAuthTokens,} from "./session";diff --git a/studio/frontend/src/features/auth/session.ts b/studio/frontend/src/features/auth/session.tsindex d9442e4ace7..0983891c289 100644--- a/studio/frontend/src/features/auth/session.ts+++ b/studio/frontend/src/features/auth/session.ts@@ -1,7 +1,6 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-import { usePlatformStore } from "@/config/env";import { isTauri } from "@/lib/api-base";import {@@ -13,7 +12,6 @@ export { AUTH_SESSION_CLEARED_EVENT, AUTH_SESSION_STORED_EVENT } from "./sessionexport const AUTH_TOKEN_KEY = "unsloth_auth_token";export const AUTH_REFRESH_TOKEN_KEY = "unsloth_auth_refresh_token";-export const ONBOARDING_DONE_KEY = "unsloth_onboarding_done";export const AUTH_MUST_CHANGE_PASSWORD_KEY = "unsloth_auth_must_change_password";@@ -93,26 +91,10 @@ export function setMustChangePassword(required: boolean): void {}}-export function isOnboardingDone(): boolean {- if (!canUseStorage()) return false;- return localStorage.getItem(ONBOARDING_DONE_KEY) === "true";-}--export function markOnboardingDone(): void {- if (!canUseStorage()) return;- localStorage.setItem(ONBOARDING_DONE_KEY, "true");-}--export function resetOnboardingDone(): void {- if (!canUseStorage()) return;- localStorage.removeItem(ONBOARDING_DONE_KEY);-}-export function getPostAuthRoute(): PostAuthRoute {if (isTauri) return "/chat";if (mustChangePassword()) return "/change-password";- if (usePlatformStore.getState().isChatOnly()) return "/chat";return "/chat";}diff --git a/studio/frontend/src/features/hub/catalog/path-info-button.tsx b/studio/frontend/src/features/hub/catalog/path-info-button.tsxindex 31463dc8833..f0cdfd1ae0a 100644--- a/studio/frontend/src/features/hub/catalog/path-info-button.tsx+++ b/studio/frontend/src/features/hub/catalog/path-info-button.tsx@@ -6,66 +6,13 @@ import {TooltipContent,TooltipTrigger,} from "@/components/ui/tooltip";-import { usePlatformStore } from "@/config/env";-import { revealCachedModel } from "@/features/chat";-import { toast } from "@/lib/toast";-import { cn } from "@/lib/utils";-import { Copy01Icon, Folder01Icon } from "@hugeicons/core-free-icons";import { Tick02Icon } from "@/lib/tick-icon";+import { cn } from "@/lib/utils";+import { Copy01Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import type { MouseEvent } from "react";import { useCopyFeedback } from "../hooks/use-copy-feedback";-/** Reveal a cached repo (or one GGUF variant's file) in the OS file manager.- * Resolved server-side from the HF cache, so only managed repos qualify. */-export function RevealPathButton({- repoId,- variant,- className,-}: {- repoId: string;- variant?: string | null;- className?: string;-}) {- const deviceType = usePlatformStore((s) => s.deviceType);- const revealLabel =- deviceType === "mac" ? "Reveal in Finder" : "Reveal in Folder";-- return (- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- aria-label={revealLabel}- onClick={(e) => {- e.stopPropagation();- revealCachedModel(repoId, variant ?? undefined).catch((err) => {- toast.error(- err instanceof Error- ? err.message- : "Failed to open file manager",- );- });- }}- className={cn(- "inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground opacity-0 transition-[opacity,background-color,color] duration-150 hover:bg-muted hover:text-foreground focus-visible:opacity-100 group-hover/dl:opacity-100",- className,- )}- >- <HugeiconsIcon- icon={Folder01Icon}- strokeWidth={1.75}- className="size-4"- />- </button>- </TooltipTrigger>- <TooltipContent side="bottom" className="tooltip-compact">- {revealLabel}- </TooltipContent>- </Tooltip>- );-}-/** Copies the on-disk path straight to the clipboard, no dialog. */export function PathInfoButton({path,diff --git a/studio/frontend/src/features/hub/catalog/sampling-settings-dialog.tsx b/studio/frontend/src/features/hub/catalog/sampling-settings-dialog.tsxdeleted file mode 100644index ef8db765c0d..00000000000--- a/studio/frontend/src/features/hub/catalog/sampling-settings-dialog.tsx+++ /dev/null@@ -1,442 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--// Gear button for the GGUF run bar: model config, system prompt, reasoning,-// sampling, tools and retrieval, using the same controls as the chat page's-// Run settings. Edits write to the chat runtime store's persisted state.--import {- Dialog,- DialogContent,- DialogDescription,- DialogHeader,- DialogTitle,-} from "@/components/ui/dialog";-import { InfoHint } from "@/components/ui/info-hint";-import { Switch } from "@/components/ui/switch";-import { Textarea } from "@/components/ui/textarea";-import {- Tooltip,- TooltipContent,- TooltipTrigger,-} from "@/components/ui/tooltip";-import {- ParamSlider,- useChatModelRuntime,- useChatRuntimeStore,-} from "@/features/chat";-import {- type PerModelConfig,- SidebarModelConfig,- applyPerModelConfigToRuntime,- currentRuntimePerModelConfig,- useActiveModelConfig,-} from "@/features/model-picker";-import { RetrievalSettingsSection } from "@/features/rag";-import { toast } from "@/lib/toast";-import { cn } from "@/lib/utils";-import { Settings02Icon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { type ReactNode, useCallback, useState } from "react";-import { HubOptionMenu } from "./hub-option-menu";--function SettingsSection({- label,- labelClassName,- children,-}: {- label: string;- labelClassName?: string;- children: ReactNode;-}) {- return (- <div className="border-t border-border/50 pb-5 pt-5 first:border-t-0 first:pt-0">- <div- className={cn(- "pb-4 text-ui-11 font-semibold uppercase tracking-wider text-muted-foreground",- labelClassName,- )}- >- {label}- </div>- <div className="flex flex-col gap-5">{children}</div>- </div>- );-}--function ToggleRow({- label,- info,- checked,- disabled,- onCheckedChange,-}: {- label: string;- info?: string;- checked: boolean;- disabled?: boolean;- onCheckedChange: (checked: boolean) => void;-}) {- return (- <div className="flex items-center justify-between gap-3">- <div className="flex min-w-0 items-center gap-1.5">- <span className="text-ui-13 font-medium text-nav-fg">{label}</span>- {info && <InfoHint>{info}</InfoHint>}- </div>- <Switch- checked={checked}- disabled={disabled}- onCheckedChange={(value) => onCheckedChange(value === true)}- aria-label={label}- />- </div>- );-}--export function SamplingSettingsButton({ className }: { className?: string }) {- const [open, setOpen] = useState(false);- const params = useChatRuntimeStore((s) => s.params);- const setParams = useChatRuntimeStore((s) => s.setParams);-- // Loaded model's per-model config (context length etc.), mirroring the chat- // page's Run settings Model section.- const { selectModel } = useChatModelRuntime();- const modelLoading = useChatRuntimeStore((s) => s.modelLoading);- const activeGgufVariant = useChatRuntimeStore((s) => s.activeGgufVariant);- const activeModelIsDiffusion = useChatRuntimeStore(- (s) => s.loadedIsDiffusion,- );- const ggufContextLength = useChatRuntimeStore((s) => s.ggufContextLength);- const ggufNativeContextLength = useChatRuntimeStore(- (s) => s.ggufNativeContextLength,- );- const {- checkpoint,- isGguf: activeModelIsGguf,- config: activeModelConfig,- } = useActiveModelConfig();- const handleReloadActiveModel = useCallback(- (config: PerModelConfig) => {- const runtime = useChatRuntimeStore.getState();- const activeCheckpoint = runtime.params.checkpoint;- if (!activeCheckpoint) return;- const nativeToken = runtime.activeNativePathToken;- const nativeExpiry = runtime.activeNativePathExpiresAtMs;- // Mirrors the chat page: an expired native-path token can't reload.- if (nativeToken && nativeExpiry != null && Date.now() >= nativeExpiry) {- toast.error("This local model file's access has expired.", {- description: "Re-select the model file to reload it.",- });- return;- }- // selectModel reads config from the runtime store, not the selection, so- // apply it first (snapshotting the current one for rollback).- const previousConfig = currentRuntimePerModelConfig({- includeMaxSeqLength: true,- });- applyPerModelConfigToRuntime(config, {- isDiffusion: activeModelIsDiffusion,- });- void selectModel({- id: activeCheckpoint,- source: "local",- ggufVariant: runtime.activeGgufVariant ?? undefined,- nativePathToken: nativeToken ?? undefined,- nativePathExpiresAtMs: nativeExpiry,- isGguf: activeModelIsGguf,- isDiffusion: activeModelIsDiffusion,- isDownloaded: true,- keepSpeculative: true,- previousConfig,- forceReload: true,- });- },- [selectModel, activeModelIsGguf, activeModelIsDiffusion],- );-- // Reasoning + tools: same store bindings as the chat page.- const reasoningEnabled = useChatRuntimeStore((s) => s.reasoningEnabled);- const reasoningAlwaysOn = useChatRuntimeStore((s) => s.reasoningAlwaysOn);- const setReasoningEnabled = useChatRuntimeStore((s) => s.setReasoningEnabled);- const reasoningEffort = useChatRuntimeStore((s) => s.reasoningEffort);- const reasoningEffortLevels = useChatRuntimeStore(- (s) => s.reasoningEffortLevels,- );- const setReasoningEffort = useChatRuntimeStore((s) => s.setReasoningEffort);- const supportsPreserveThinking = useChatRuntimeStore(- (s) => s.supportsPreserveThinking,- );- const preserveThinking = useChatRuntimeStore((s) => s.preserveThinking);- const setPreserveThinking = useChatRuntimeStore((s) => s.setPreserveThinking);- const maxToolCalls = useChatRuntimeStore((s) => s.maxToolCallsPerMessage);- const setMaxToolCalls = useChatRuntimeStore(- (s) => s.setMaxToolCallsPerMessage,- );- const toolCallTimeout = useChatRuntimeStore((s) => s.toolCallTimeout);- const setToolCallTimeout = useChatRuntimeStore((s) => s.setToolCallTimeout);- const autoHealToolCalls = useChatRuntimeStore((s) => s.autoHealToolCalls);- const setAutoHealToolCalls = useChatRuntimeStore(- (s) => s.setAutoHealToolCalls,- );- const nudgeToolCalls = useChatRuntimeStore((s) => s.nudgeToolCalls);- const setNudgeToolCalls = useChatRuntimeStore((s) => s.setNudgeToolCalls);- const permissionMode = useChatRuntimeStore((s) => s.permissionMode);- const setConfirmToolCalls = useChatRuntimeStore((s) => s.setConfirmToolCalls);-- const toolsEnabled = useChatRuntimeStore((s) => s.toolsEnabled);- const setToolsEnabled = useChatRuntimeStore((s) => s.setToolsEnabled);-- const set = (key: keyof typeof params) => (value: number) =>- setParams({ ...params, [key]: value });-- // Slider 0-41; 41 maps to 9999 ("Max"), mirroring the chat page.- const toolCallsSliderValue =- maxToolCalls >= 9999 ? 41 : Math.min(maxToolCalls, 40);- // Slider 1-31; 31 maps to 9999 ("Max").- const timeoutSliderValue =- toolCallTimeout >= 9999 ? 31 : Math.min(Math.max(toolCallTimeout, 1), 30);-- return (- <>- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- aria-label="Inference settings"- onClick={(e) => {- e.stopPropagation();- setOpen(true);- }}- className={cn(- "inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",- className,- )}- >- <HugeiconsIcon- icon={Settings02Icon}- strokeWidth={1.75}- className="size-4"- />- </button>- </TooltipTrigger>- <TooltipContent side="bottom" className="tooltip-compact">- Inference settings- </TooltipContent>- </Tooltip>- <Dialog open={open} onOpenChange={setOpen}>- <DialogContent- className="flex max-h-[85dvh] flex-col gap-5 sm:max-w-[580px]"- onClick={(e) => e.stopPropagation()}- >- <DialogHeader>- <DialogTitle>Inference settings</DialogTitle>- <DialogDescription>- Applies to chats with local models.- </DialogDescription>- </DialogHeader>- <div className="-mr-2 flex min-h-0 flex-col overflow-y-auto overflow-x-hidden pr-2 [scrollbar-width:thin]">- {checkpoint && activeModelConfig && !modelLoading && (- <SettingsSection label="Model">- <SidebarModelConfig- modelId={checkpoint}- ggufVariant={activeGgufVariant ?? null}- isGguf={activeModelIsGguf}- isDiffusion={activeModelIsDiffusion}- nativeContextLength={ggufNativeContextLength}- loadedContextLength={ggufContextLength}- loadedConfig={activeModelConfig}- onReload={handleReloadActiveModel}- />- </SettingsSection>- )}-- <SettingsSection label="System Prompt">- <Textarea- value={params.systemPrompt}- onChange={(e) =>- setParams({ ...params, systemPrompt: e.target.value })- }- placeholder="Instructions sent before every conversation."- aria-label="System prompt"- className="min-h-[84px] resize-y text-ui-13"- />- </SettingsSection>-- <SettingsSection label="Reasoning" labelClassName="pb-5">- <ToggleRow- label="Enable reasoning"- checked={reasoningAlwaysOn || reasoningEnabled}- disabled={reasoningAlwaysOn}- onCheckedChange={setReasoningEnabled}- />- {reasoningEffortLevels.length > 0 && (- <div className="flex items-center justify-between gap-3">- <span className="text-ui-13 font-medium text-nav-fg">- Reasoning effort- </span>- <HubOptionMenu- value={reasoningEffort}- options={reasoningEffortLevels.map((level) => ({- value: level,- label: level.charAt(0).toUpperCase() + level.slice(1),- }))}- onValueChange={setReasoningEffort}- ariaLabel="Reasoning effort"- align="end"- className="h-8 text-ui-11p5"- />- </div>- )}- {supportsPreserveThinking && (- <ToggleRow- label="Preserve thinking"- info="Keep earlier turns' reasoning in context so the model can build on it. Uses more context."- checked={preserveThinking}- onCheckedChange={setPreserveThinking}- />- )}- </SettingsSection>-- <SettingsSection label="Sampling">- <ParamSlider- label="Temperature"- value={params.temperature}- min={0}- max={2}- step={0.01}- onChange={set("temperature")}- info="Controls randomness. Lower values make output focused and deterministic; higher values increase variety and creativity."- />- <ParamSlider- label="Top P"- value={params.topP}- min={0}- max={1}- step={0.05}- onChange={set("topP")}- displayValue={params.topP === 1 ? "Off" : undefined}- info="Nucleus sampling. Restricts choices to the smallest set of tokens whose cumulative probability reaches this threshold. 1.0 = off."- />- <ParamSlider- label="Top K"- value={params.topK}- min={0}- max={100}- step={1}- onChange={set("topK")}- displayValue={params.topK === 0 ? "Off" : undefined}- info="Limits sampling to the K most likely tokens at each step. 0 = off."- />- <ParamSlider- label="Min P"- value={params.minP}- min={0}- max={1}- step={0.01}- onChange={set("minP")}- info="Drops tokens whose probability is below this fraction of the top token's probability. Filters unlikely candidates."- />- <ParamSlider- label="Repetition Penalty"- value={params.repetitionPenalty}- min={1}- max={2}- step={0.05}- onChange={set("repetitionPenalty")}- displayValue={- params.repetitionPenalty === 1 ? "Off" : undefined- }- info="Down-weights tokens that have already appeared, reducing repetition. 1.0 = off; higher values penalize more strongly."- />- <ParamSlider- label="Presence Penalty"- value={params.presencePenalty}- min={0}- max={2}- step={0.1}- onChange={set("presencePenalty")}- displayValue={params.presencePenalty === 0 ? "Off" : undefined}- info="Penalizes any token that has already appeared at least once, encouraging the model to introduce new topics. 0 = off."- />- <ParamSlider- label="Max Tokens"- value={params.maxTokens}- min={64}- max={131072}- step={64}- onChange={set("maxTokens")}- valueSize={6}- info="Maximum number of tokens to generate per response. Generation stops at this limit or when the model emits an end-of-sequence token."- />- </SettingsSection>-- <SettingsSection label="Tools">- <ToggleRow- label="Enable tools"- info="Master switch for tool use in chat. When off, the model answers without calling any tools."- checked={toolsEnabled}- onCheckedChange={setToolsEnabled}- />- <ToggleRow- label="Auto-healing tool calls"- info="Unsloth auto-fixes broken tool calls so inference output is never broken."- checked={autoHealToolCalls}- onCheckedChange={setAutoHealToolCalls}- />- <ToggleRow- label="Nudge tool calls"- info="When a tool call cannot be repaired, re-ask the model once so the intended tool still runs."- checked={nudgeToolCalls}- onCheckedChange={setNudgeToolCalls}- />- <ToggleRow- label="Confirm tool calls"- info="Pause every local tool call for your approval before it runs. Overridden by Full access."- checked={permissionMode === "ask"}- disabled={permissionMode === "full"}- onCheckedChange={setConfirmToolCalls}- />- <ParamSlider- label="Max Tool Calls Per Message"- value={toolCallsSliderValue}- min={0}- max={41}- step={1}- onChange={(v) => setMaxToolCalls(v >= 41 ? 9999 : v)}- displayValue={- toolCallsSliderValue >= 41- ? "Max"- : toolCallsSliderValue === 0- ? "Off"- : undefined- }- info="Cap on tool/function calls the model may invoke within a single response. 0 disables tool use; Max removes the cap."- />- <ParamSlider- label="Max Tool Call Duration"- value={timeoutSliderValue}- min={1}- max={31}- step={1}- onChange={(v) => setToolCallTimeout(v >= 31 ? 9999 : v)}- displayValue={- timeoutSliderValue >= 31- ? "Max"- : timeoutSliderValue === 1- ? "1 minute"- : `${timeoutSliderValue} minutes`- }- valueSize={10}- info="Per-call wall-clock limit. Long-running tool executions are terminated when this elapses; the model continues with what completed."- />- </SettingsSection>-- <SettingsSection label="Retrieval">- <RetrievalSettingsSection />- </SettingsSection>- </div>- </DialogContent>- </Dialog>- </>- );-}diff --git a/studio/frontend/src/features/hub/download-manager/api.ts b/studio/frontend/src/features/hub/download-manager/api.tsindex d49ab31e910..035df8094dd 100644--- a/studio/frontend/src/features/hub/download-manager/api.ts+++ b/studio/frontend/src/features/hub/download-manager/api.ts@@ -211,11 +211,6 @@ export async function getDownloadTransportCapabilities(options: {return request;}-export function __resetDownloadTransportCapabilitiesForTests(): void {- downloadTransportCapabilitiesCache = null;- downloadTransportCapabilitiesInFlight = null;-}-export async function startModelDownload(payload: {repo_id: string;gguf_variant?: string | null;diff --git a/studio/frontend/src/features/hub/hooks/use-is-hub-desktop.ts b/studio/frontend/src/features/hub/hooks/use-is-hub-desktop.tsdeleted file mode 100644index cfbf7c1e4e6..00000000000--- a/studio/frontend/src/features/hub/hooks/use-is-hub-desktop.ts+++ /dev/null@@ -1,22 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { useSyncExternalStore } from "react";--const HUB_DESKTOP_QUERY = "(min-width: 1024px)";--function getSnapshot(): boolean {- if (typeof window === "undefined") return true;- return window.matchMedia(HUB_DESKTOP_QUERY).matches;-}--function subscribe(callback: () => void): () => void {- if (typeof window === "undefined") return () => {};- const mql = window.matchMedia(HUB_DESKTOP_QUERY);- mql.addEventListener("change", callback);- return () => mql.removeEventListener("change", callback);-}--export function useIsHubDesktop(): boolean {- return useSyncExternalStore(subscribe, getSnapshot, () => true);-}diff --git a/studio/frontend/src/features/hub/index.ts b/studio/frontend/src/features/hub/index.tsindex d5308b96f81..0ca85599107 100644--- a/studio/frontend/src/features/hub/index.ts+++ b/studio/frontend/src/features/hub/index.ts@@ -27,7 +27,6 @@ export {LOCAL_MODEL_SOURCE,LOCAL_MODEL_SOURCES,type BaseModelSource,- type BrowseFoldersResponse,type CachedDatasetRepo,type CachedGgufRepo,type CachedInventoryRow,@@ -54,7 +53,6 @@ export {type ResolvedInventoryResource,type ScanFolderInfo,addScanFolder,- browseFolders,buildCachedInventoryRow,buildLocalInventoryRows,dedupeSameSourceHubCacheRows,diff --git a/studio/frontend/src/features/hub/inventory/api.ts b/studio/frontend/src/features/hub/inventory/api.tsindex f03483028f1..a86579e9b52 100644--- a/studio/frontend/src/features/hub/inventory/api.ts+++ b/studio/frontend/src/features/hub/inventory/api.ts@@ -148,21 +148,6 @@ export interface ScanFolderInfo {created_at: string;}-export interface BrowseEntry {- name: string;- has_models: boolean;- hidden: boolean;-}--export interface BrowseFoldersResponse {- current: string;- parent: string | null;- entries: BrowseEntry[];- suggestions: string[];- truncated?: boolean;- model_files_here?: number;-}-export interface GgufVariantDetail {filename: string;quant: string;@@ -394,26 +379,6 @@ export async function removeScanFolder(id: number): Promise<void> {bumpInventoryVersion();}-export async function browseFolders(- path?: string,- showHidden = false,- signal?: AbortSignal,-): Promise<BrowseFoldersResponse> {- const params = new URLSearchParams();- if (path !== undefined && path !== null) {- params.set("path", path);- }- if (showHidden) {- params.set("show_hidden", "true");- }- const qs = params.toString();- const response = await authFetch(- `/api/hub/browse-folders${qs ? `?${qs}` : ""}`,- signal ? { signal } : undefined,- );- return parseJsonOrThrow<BrowseFoldersResponse>(response);-}-const GGUF_VARIANTS_TTL_MS = 30 * 1000;const GGUF_VARIANTS_LOCAL_TTL_MS = 10 * 60 * 1000;const GGUF_VARIANTS_TIMEOUT_MS = 30_000;diff --git a/studio/frontend/src/features/hub/inventory/index.ts b/studio/frontend/src/features/hub/inventory/index.tsindex efee78c74a6..bd2fe09a643 100644--- a/studio/frontend/src/features/hub/inventory/index.ts+++ b/studio/frontend/src/features/hub/inventory/index.ts@@ -11,7 +11,6 @@ export {} from "./constants";export {addScanFolder,- browseFolders,listCachedDatasets,listCachedGguf,listCachedModels,@@ -25,7 +24,6 @@ export {listLocalModels,listScanFolders,removeScanFolder,- type BrowseFoldersResponse,type CachedDatasetRepo,type CachedGgufRepo,type CachedModelRepo,diff --git a/studio/frontend/src/features/hub/lib/abort-signals.ts b/studio/frontend/src/features/hub/lib/abort-signals.tsindex fbd00990a7d..e320f70ff29 100644--- a/studio/frontend/src/features/hub/lib/abort-signals.ts+++ b/studio/frontend/src/features/hub/lib/abort-signals.ts@@ -28,10 +28,6 @@ export function disposableTimeoutSignal(ms: number): PollSignal {return { signal: controller.signal, dispose: () => clearTimeout(timer) };}-export function timeoutSignal(ms: number): AbortSignal {- return disposableTimeoutSignal(ms).signal;-}-// Callers MUST dispose() once the request settles so abort listeners don't pile up.export function combineAbortSignals(signals: AbortSignal[]): PollSignal {if (typeof AbortSignal.any === "function") {diff --git a/studio/frontend/src/features/hub/lib/channels.ts b/studio/frontend/src/features/hub/lib/channels.tsindex 944a42362e6..883b79a7b2c 100644--- a/studio/frontend/src/features/hub/lib/channels.ts+++ b/studio/frontend/src/features/hub/lib/channels.ts@@ -71,12 +71,6 @@ export function findChannel(id: ChannelId | null): ChannelPreset | null {export type HubSection = "trending" | "latest" | "finetune";-export const HUB_SECTION_ORDER: readonly HubSection[] = [- "trending",- "latest",- "finetune",-];-export const SECTION_TO_CHANNEL: Record<HubSection, ChannelId> = {trending: "unsloth-trending",latest: "unsloth-latest",@@ -94,7 +88,3 @@ export const HUB_SECTION_TITLE: Record<HubSection, string> = {latest: "Latest Unsloth Models",finetune: "Fine-tune Ready",};--export function isHubSection(value: unknown): value is HubSection {- return value === "trending" || value === "latest" || value === "finetune";-}diff --git a/studio/frontend/src/features/hub/lib/network.ts b/studio/frontend/src/features/hub/lib/network.tsindex 003f33871fe..10a03f8bdd2 100644--- a/studio/frontend/src/features/hub/lib/network.ts+++ b/studio/frontend/src/features/hub/lib/network.ts@@ -1,10 +1,6 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-export function isBrowserOffline(): boolean {- return isNavigatorOffline();-}-const NETWORK_STATUS_EVENT = "unsloth-network-status";const REMOTE_OFFLINE_TTL_MS = 30_000;const HUGGING_FACE_ORIGIN = "https://huggingface.co";diff --git a/studio/frontend/src/features/hub/stores/hub-feed-store.ts b/studio/frontend/src/features/hub/stores/hub-feed-store.tsindex 9e7a103a041..1a57c09b7c5 100644--- a/studio/frontend/src/features/hub/stores/hub-feed-store.ts+++ b/studio/frontend/src/features/hub/stores/hub-feed-store.ts@@ -48,11 +48,6 @@ export function isChannelEntryFresh(return now - entry.fetchedAt < FEED_TTL_MS[id];}-export const selectChannelEntry =- (id: ChannelId) =>- (state: HubFeedState): ChannelFeedEntry | undefined =>- state.channels[id];-function isRecord(value: unknown): value is Record<string, unknown> {return value !== null && typeof value === "object" && !Array.isArray(value);}diff --git a/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx b/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsxindex fa7a67dc544..1da35bcbad9 100644--- a/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx+++ b/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx@@ -61,14 +61,9 @@ const KIND_ICONS: Record<LoadedModelKind, typeof SparkleIcon> = {stt: Mic01Icon,};-// Nothing to report on the auth and onboarding screens. Desktop auto-authenticates,-// so only the browser needs the token check: polling before one exists is all 401s.-const HIDDEN_ROUTES = new Set([- "/login",- "/signup",- "/change-password",- "/onboarding",-]);+// Nothing to report on auth screens. Desktop auto-authenticates, so only the+// browser needs the token check: polling before one exists is all 401s.+const HIDDEN_ROUTES = new Set(["/login", "/signup", "/change-password"]);function canShowIndicator(pathname: string): boolean {if (HIDDEN_ROUTES.has(pathname)) return false;diff --git a/studio/frontend/src/features/model-picker/components/model-selector.tsx b/studio/frontend/src/features/model-picker/components/model-selector.tsxindex 8a5c0dd9ce3..feb17054592 100644--- a/studio/frontend/src/features/model-picker/components/model-selector.tsx+++ b/studio/frontend/src/features/model-picker/components/model-selector.tsx@@ -3,15 +3,15 @@"use client";-import { Input } from "@/components/ui/input";import {Popover,PopoverContent,PopoverTrigger,} from "@/components/ui/popover";import { TooltipProvider } from "@/components/ui/tooltip";-import { usePlatformStore } from "@/config/env";import { isCustomProviderType } from "@/features/chat";++import type { HfTaskFilter } from "@/features/hub/hooks/use-hub-model-search";import { useT } from "@/i18n";import { ChevronDownStandardIcon } from "@/lib/chevron-icons";import { cn } from "@/lib/utils";@@ -22,7 +22,6 @@ import {Download01Icon,FolderSearchIcon,RemoveCircleIcon,- Search01Icon,StarIcon,} from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";@@ -35,7 +34,6 @@ import {useRef,useState,} from "react";-import type { HfTaskFilter } from "@/features/hub/hooks/use-hub-model-search";import {isOllamaLinkPath,modelDisplayName,@@ -45,14 +43,11 @@ import {resolveInitialConfig,} from "../model-config/per-model-config";import { ModelConfigPage } from "./model-config-page";-import { HubModelPicker, hasDownloadedModels } from "./model-selector/pickers";import type { CommunityModelPolicy } from "./model-selector/audio-picker-policy";import type { CatalogGroup } from "./model-selector/model-catalog";+import { HubModelPicker, hasDownloadedModels } from "./model-selector/pickers";import { PillTabs } from "./model-selector/pill-tabs";-import {- buildSourceTabs,- isFineTunedSource,-} from "./model-selector/source-tabs";+import { isFineTunedSource } from "./model-selector/source-tabs";import type {DeletedModelRef,ExternalModelOption,@@ -295,7 +290,7 @@ function ModelSelectorTrigger({);}-type HubSection = "downloaded" | "recommended" | "custom" | "connected";+type HubSection = "downloaded" | "recommended" | "connected";// The user's most recently clicked Hub section, restored on every open.const HUB_SECTION_KEY = "unsloth_model_selector_section";@@ -394,28 +389,13 @@ function ModelSelectorContent({}) {const t = useT();const hasSelection = Boolean(value);- const chatOnly = usePlatformStore((s) => s.isChatOnly());const hasExternal = externalModels.length > 0;// The Fine-tuned tab is for fine-tuned models only; local models (LM Studio, Ollama, custom folders) live in Hub.const fineTunedModels = useMemo(() => loraModels.filter((model) => isFineTunedSource(model.source)),[loraModels],- );- const chatOnlyTabsDefault = useMemo(- () =>- value && externalModels.some((model) => model.id === value)- ? "external"- : "hub",- [externalModels, value],- );- const studioTabsDefault = useMemo((): "hub" | "external" => {- if (value && externalModels.some((model) => model.id === value)) {- return "external";- }- return "hub";- }, [externalModels, value]);- const tabs = useMemo(() => buildSourceTabs(), []);+ );// Connected sits in the section toggle, shown only with external providers.const hubSectionTabs = useMemo(() =>@@ -432,18 +412,11 @@ function ModelSelectorContent({]: HUB_SECTION_TABS,[hasExternal],- );- const [activeTab, setActiveTab] = useState<string>(() =>- chatOnly ? chatOnlyTabsDefault : studioTabsDefault,);- // Fall back to the first tab if the active one disappears.- const effectiveTab = tabs.some((tab) => tab.value === activeTab)- ? activeTab- : tabs[0].value;- // Open on Connected when the active model comes from a connected provider.- const wantsConnectedDefault =- (chatOnly ? chatOnlyTabsDefault : studioTabsDefault) === "external";+ const wantsConnectedDefault = Boolean(+ value && externalModels.some((model) => model.id === value),+ );const hasAdditionalOnDeviceModels =(additionalOnDeviceModels?.length ?? 0) > 0;const [hubSection, setHubSection] = useState<HubSection>(() =>@@ -459,13 +432,11 @@ function ModelSelectorContent({null,);- // The picker remounts on each open but this tab state does not, so re-derive the default tab- // on the open edge, else a lora/external selection reopens on Hub.+ // The picker remounts on each open but this section state does not, so+ // re-derive the default section on the open edge.const wasOpen = useRef(open);useEffect(() => {if (open && !wasOpen.current) {- setActiveTab(chatOnly ? chatOnlyTabsDefault : studioTabsDefault);- // Connected when an external model is active, else On Device with downloads, else their last section.setHubSection(wantsConnectedDefault? "connected"@@ -476,14 +447,7 @@ function ModelSelectorContent({setConfigTarget(null);}wasOpen.current = open;- }, [- open,- chatOnly,- chatOnlyTabsDefault,- studioTabsDefault,- wantsConnectedDefault,- hasAdditionalOnDeviceModels,- ]);+ }, [open, wantsConnectedDefault, hasAdditionalOnDeviceModels]);function focusActiveModelOption(root: HTMLElement): boolean {const option =@@ -619,60 +583,39 @@ function ModelSelectorContent({/>) : (<>- {tabs.length > 1 ? (- <PillTabs- ariaLabel={t("picker.modelSourceAriaLabel")}- tabs={tabs}- value={effectiveTab}- onValueChange={setActiveTab}- fit={true}- className="mb-2"- />- ) : null}-- {effectiveTab === "hub" ? (- <HubModelPicker- models={models}- additionalOnDeviceModels={additionalOnDeviceModels}- loadedModelIdOverride={loadedModelIdOverride}- loraModels={fineTunedModels}- externalModels={externalModels}- value={value}- onSelect={handlePick}- resolveDownloadFootprint={resolveDownloadFootprint}- onFoldersChange={onFoldersChange}- onBrowseHub={onBrowseHub}- onModelsChange={onModelsChange}- onConfigure={openConfigPage}- deleteDisabled={deleteDisabled}- onEject={hasSelection && onEject ? onEject : undefined}- task={task}- catalog={catalog}- communityModelPolicy={communityModelPolicy}- section={effectiveHubSection}- sectionToggle={- <PillTabs- ariaLabel={t("picker.hubSectionAriaLabel")}- tabs={hubSectionTabs}- value={effectiveHubSection}- onValueChange={(next) => {- const section = next as HubSection;- setHubSection(section);- saveLastHubSection(section);- }}- fit={true}- />- }- />- ) : null}-- {effectiveTab === "external" ? (- <ExternalModelPicker- externalModels={externalModels}- value={value}- onSelect={onSelect}- />- ) : null}+ <HubModelPicker+ models={models}+ additionalOnDeviceModels={additionalOnDeviceModels}+ loadedModelIdOverride={loadedModelIdOverride}+ loraModels={fineTunedModels}+ externalModels={externalModels}+ value={value}+ onSelect={handlePick}+ resolveDownloadFootprint={resolveDownloadFootprint}+ onFoldersChange={onFoldersChange}+ onBrowseHub={onBrowseHub}+ onModelsChange={onModelsChange}+ onConfigure={openConfigPage}+ deleteDisabled={deleteDisabled}+ onEject={hasSelection && onEject ? onEject : undefined}+ task={task}+ catalog={catalog}+ communityModelPolicy={communityModelPolicy}+ section={effectiveHubSection}+ sectionToggle={+ <PillTabs+ ariaLabel={t("picker.hubSectionAriaLabel")}+ tabs={hubSectionTabs}+ value={effectiveHubSection}+ onValueChange={(next) => {+ const section = next as HubSection;+ setHubSection(section);+ saveLastHubSection(section);+ }}+ fit={true}+ />+ }+ />{onPickLocalModel ? (<div className="mt-1.5 border-t border-border/70 pt-1.5">@@ -687,19 +630,6 @@ function ModelSelectorContent({</button></div>) : null}- {effectiveTab !== "hub" && hasSelection && onEject ? (- <div className="mt-1.5 border-t border-border/70 pt-1.5 pb-2">- <button- type="button"- onClick={onEject}- className="flex w-full items-center justify-center gap-1.5 rounded-md px-2 py-1.5 text-xs text-destructive transition-colors hover:bg-destructive/10"- title={t("picker.ejectLoadedModel")}- >- <HugeiconsIcon icon={RemoveCircleIcon} className="size-3.5" />- {t("picker.ejectLoadedModel")}- </button>- </div>- ) : null}</>)}</TooltipProvider>@@ -892,112 +822,3 @@ export function ModelSelector({ModelSelector.Trigger = ModelSelectorTrigger;ModelSelector.Content = ModelSelectorContent;--function normalizeForSearch(value: string): string {- return value.toLowerCase().replace(/[\s_.-]/g, "");-}--function ExternalModelPicker({- externalModels,- value,- onSelect,-}: {- externalModels: ExternalModelOption[];- value?: string;- onSelect: (id: string, meta: ModelSelectorChangeMeta) => void;-}) {- const [query, setQuery] = useState("");- const grouped = useMemo(() => {- const needle = normalizeForSearch(query.trim());- const byProvider = new Map<- string,- { providerName: string; models: ExternalModelOption[] }- >();- for (const model of externalModels) {- const searchText = normalizeForSearch(- `${model.name} ${model.providerName} ${model.id}`,- );- if (needle && !searchText.includes(needle)) continue;- const prev = byProvider.get(model.providerId);- if (prev) {- prev.models.push(model);- } else {- byProvider.set(model.providerId, {- providerName: model.providerName,- models: [model],- });- }- }- return [...byProvider.entries()]- .map(([providerId, group]) => ({- providerId,- providerName: group.providerName,- models: group.models.sort((a, b) => a.name.localeCompare(b.name)),- }))- .sort((a, b) => a.providerName.localeCompare(b.providerName));- }, [externalModels, query]);-- return (- <div className="space-y-2">- <div className="relative">- <HugeiconsIcon- icon={Search01Icon}- className="pointer-events-none absolute left-2.5 top-1/2 size-4 -translate-y-1/2 text-muted-foreground"- />- <Input- value={query}- onChange={(event) => setQuery(event.target.value)}- placeholder="Search models"- className="h-(--picker-control-h) pl-8"- />- </div>- <div className="-mr-1.5 max-h-72 overflow-y-auto pr-1.5">- <div className="space-y-2 p-1">- {grouped.length === 0 ? (- <div className="px-2.5 py-2 text-xs leading-relaxed text-muted-foreground">- {externalModels.length === 0 ? (- <>- No models from your connections. Set up in Settings →- Connections.- </>- ) : (- "No models match your search."- )}- </div>- ) : (- grouped.map((group) => (- <div key={group.providerId}>- <div className="flex items-center gap-2 px-2.5 py-1.5 text-ui-10 font-semibold uppercase tracking-wider text-muted-foreground">- <ExternalProviderLogo- providerType={group.models[0]?.providerType}- className="size-3.5"- title={group.providerName}- />- <span className="min-w-0 truncate">{group.providerName}</span>- </div>- {group.models.map((model) => (- <button- key={model.id}- type="button"- onClick={() =>- onSelect(model.id, {- source: "external",- isLora: false,- })- }- className={cn(- "flex w-full items-center rounded-md px-2.5 py-1.5 text-left text-sm transition-colors hover:bg-accent",- value === model.id && "bg-accent/60",- )}- >- <span className="min-w-0 truncate">{model.name}</span>- </button>- ))}- </div>- ))- )}- </div>- </div>- </div>- );-}diff --git a/studio/frontend/src/features/model-picker/components/model-selector/model-catalog.ts b/studio/frontend/src/features/model-picker/components/model-selector/model-catalog.tsindex b4f56c7619f..fca1462b4c2 100644--- a/studio/frontend/src/features/model-picker/components/model-selector/model-catalog.ts+++ b/studio/frontend/src/features/model-picker/components/model-selector/model-catalog.ts@@ -83,19 +83,6 @@ const bnb4bit = (...extra,});-const fp8Single = (- repoId: string,- filename: string,- approxSizeGb: number,-): ModelArtifact => ({- repoId,- format: "fp8",- loadKind: "single_file",- filename,- label: "FP8",- approxSizeGb,- keywords: ["fp8", "float8"],-});const fp8Pipeline = (repoId: string,diff --git a/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx b/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsxindex 8f06ffd429c..2354248d40a 100644--- a/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx+++ b/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx@@ -53,7 +53,7 @@ interface ModelRowMenuPin {interface ModelRowMenuUpdate {title: string;description: ReactNode;- /** Repo + variant the update targets (see ModelUpdateAction). */+ /** Repo + variant the update targets. */repoId: string;variant?: string | null;disabled?: boolean;@@ -116,8 +116,7 @@ export function ModelRowMenu({);const [updateOpen, setUpdateOpen] = useState(false);- // Refresh the caller when this repo+variant's managed update completes- // (mirrors ModelUpdateAction).+ // Refresh the caller when this repo+variant's managed update completes.const onUpdatedRef = useRef(update?.onUpdated);useEffect(() => {onUpdatedRef.current = update?.onUpdated;diff --git a/studio/frontend/src/features/model-picker/components/model-selector/model-update-action.tsx b/studio/frontend/src/features/model-picker/components/model-selector/model-update-action.tsxdeleted file mode 100644index b13ed33d040..00000000000--- a/studio/frontend/src/features/model-picker/components/model-selector/model-update-action.tsx+++ /dev/null@@ -1,112 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import {- UpdateConfirmDialog,- ggufVariantsMatch,- subscribeJobListeners,-} from "@/features/hub";-import { cn } from "@/lib/utils";-import { RefreshCw } from "lucide-react";-import {- type ReactNode,- useCallback,- useEffect,- useRef,- useState,-} from "react";-import { toast } from "sonner";--interface ModelUpdateActionProps {- ariaLabel: string;- title: string;- description: ReactNode;- /** Repo + variant the update targets, so this action can refresh its caller- * (clearing the "update available" cue) when the matching managed download- * completes. `variant` is null for full-model (safetensors / MLX) rows. */- repoId: string;- variant?: string | null;- buttonClassName?: string;- iconClassName?: string;- disabled?: boolean;- /** Starts the update — which now runs as a managed download. Resolves once the- * download has been handed to the download manager, NOT when it finishes. */- onConfirm: () => Promise<void> | void;- /** Fired when THIS repo+variant's managed update actually completes. */- onUpdated?: () => void;-}--export function ModelUpdateAction({- ariaLabel,- title,- description,- repoId,- variant = null,- buttonClassName,- iconClassName,- disabled = false,- onConfirm,- onUpdated,-}: ModelUpdateActionProps) {- const [open, setOpen] = useState(false);-- const onUpdatedRef = useRef(onUpdated);- useEffect(() => {- onUpdatedRef.current = onUpdated;- }, [onUpdated]);- useEffect(() => {- return subscribeJobListeners("model", repoId, {- onComplete: (completedVariant) => {- const matches = variant- ? ggufVariantsMatch(completedVariant, variant)- : !completedVariant;- if (matches) onUpdatedRef.current?.();- },- });- }, [repoId, variant]);-- const handleConfirm = useCallback(() => {- // Start the re-download and close the dialog; the Downloads panel owns progress + cancel.- // Only a failure to START toasts (a failed download shows in the panel).- void Promise.resolve()- .then(onConfirm)- .catch((err) => {- toast.error(- err instanceof Error ? err.message : "Failed to start update",- );- });- setOpen(false);- }, [onConfirm]);-- return (- <>- <button- type="button"- onClick={(e) => {- e.stopPropagation();- if (disabled) return;- setOpen(true);- }}- aria-label={ariaLabel}- disabled={disabled}- className={cn(- "shrink-0 rounded-md p-1.5 text-muted-foreground/60 transition-colors hover:bg-amber-500/10 hover:text-amber-700 dark:hover:bg-amber-500/15 dark:hover:text-amber-300",- disabled &&- "cursor-not-allowed opacity-40 hover:bg-transparent hover:text-muted-foreground/60",- buttonClassName,- )}- >- <RefreshCw className={cn("size-3.5", iconClassName)} />- </button>-- <UpdateConfirmDialog- open={open}- onOpenChange={setOpen}- title={title}- description={description}- updating={false}- onConfirm={handleConfirm}- />- </>- );-}diff --git a/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsx b/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsxindex ae8eece5967..999afab61b3 100644--- a/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsx+++ b/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsx@@ -2064,7 +2064,7 @@ const RECOMMENDED_SORT_OPTIONS: HubOption<RecommendedSortKey>[] = [{ value: "lastModified", label: "Recent" },];-// Sort for the On Device / Custom (local) lists. "recent" = last loaded;+// Sort for the On Device lists. "recent" = last loaded;// "downloaded" = file download date.type LocalSortKey = "recent" | "downloaded" | "size" | "name";@@ -2262,7 +2262,7 @@ export function HubModelPicker({onConfigure?: (id: string, meta: ModelSelectorChangeMeta) => void;deleteDisabled?: boolean;/** Section shown when not searching. Search spans all sections. */- section?: "downloaded" | "recommended" | "custom" | "connected";+ section?: "downloaded" | "recommended" | "connected";/** Section toggle rendered under the search bar. */sectionToggle?: ReactNode;onEject?: () => void;@@ -4315,7 +4315,7 @@ export function HubModelPicker({<span className="truncate">{label}</span></span>);- // On Device / Custom rows are already on disk, so the device-fit filter+ // On Device rows are already on disk, so the device-fit filter// only applies to the Unsloth listing.const sectionSortDropdown =section === "recommended" ? (diff --git a/studio/frontend/src/features/model-picker/components/model-selector/recommended-fit.ts b/studio/frontend/src/features/model-picker/components/model-selector/recommended-fit.tsindex 7b6c78bc6e1..3a53f05b402 100644--- a/studio/frontend/src/features/model-picker/components/model-selector/recommended-fit.ts+++ b/studio/frontend/src/features/model-picker/components/model-selector/recommended-fit.ts@@ -24,14 +24,6 @@ export function isMobileVariant(id: string): boolean {return MOBILE_RE.test(id);}-/** Recommended only surfaces ready-to-run local formats (GGUF / MLX). */-export function isRunnableRecommendedFormat(- id: string,- hintedIsGguf?: boolean,-): boolean {- return isGgufId(id, hintedIsGguf) || isMlxId(id);-}-/** What Recommended is allowed to suggest: GGUF anywhere; on Mac also MLX and* safetensors (both now run locally there). GPU keeps GGUF-only recommendations. */export function isRecommendableFormat(diff --git a/studio/frontend/src/features/model-picker/components/model-selector/source-tabs.ts b/studio/frontend/src/features/model-picker/components/model-selector/source-tabs.tsindex 8330dbca2ec..92c2d47ed21 100644--- a/studio/frontend/src/features/model-picker/components/model-selector/source-tabs.ts+++ b/studio/frontend/src/features/model-picker/components/model-selector/source-tabs.ts@@ -1,18 +1,8 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-// Pure rules for the source toggle (Hub models / Fine-tuned / Connected).--export type SourceTab = { value: string; label: string };--/** Local models (LM Studio, Ollama, custom folders) are not fine-tuned; they- * live in the Hub tab's Downloaded / Custom sections. */+/** Local models (LM Studio, Ollama, custom folders) are not fine-tuned;+ * they live in the Hub picker's On Device section. */export function isFineTunedSource(source?: string): boolean {return source !== "local";}--/** Build the source tabs. Fine-tuned and Connected models live as sections in- * the Hub tab's toggle, so Hub is the only source and its strip stays hidden. */-export function buildSourceTabs(): SourceTab[] {- return [{ value: "hub", label: "Hub models" }];-}diff --git a/studio/frontend/src/features/onboarding/components/hf-token-field.tsx b/studio/frontend/src/features/onboarding/components/hf-token-field.tsxdeleted file mode 100644index 114844e30ea..00000000000--- a/studio/frontend/src/features/onboarding/components/hf-token-field.tsx+++ /dev/null@@ -1,70 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Field, FieldDescription, FieldLabel } from "@/components/ui/field";-import {- InputGroup,- InputGroupAddon,- InputGroupInput,-} from "@/components/ui/input-group";-import { useHfTokenStore } from "@/features/hub";-import { useHfTokenValidation } from "@/hooks";-import { useT } from "@/i18n";-import { Key01Icon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";--export function HfTokenField() {- const t = useT();- const token = useHfTokenStore((state) => state.token);- const setToken = useHfTokenStore((state) => state.setToken);-- const persistenceError = useHfTokenStore(- (state) => state.persistenceError,- );- const validation = useHfTokenValidation(token);-- return (- <Field>- <FieldLabel>- {t("studio.wizard.hfTokenLabel")}{" "}- <span className="font-normal text-muted-foreground">- ({t("studio.params.optional")})- </span>- </FieldLabel>- <FieldDescription>- {t("studio.wizard.hfTokenDescription")}{" "}- <a- href="https://huggingface.co/settings/tokens"- target="_blank"- rel="noopener noreferrer"- className="text-primary hover:underline"- >- {t("studio.wizard.hfTokenGet")}- </a>- </FieldDescription>- <InputGroup>- <InputGroupAddon>- <HugeiconsIcon icon={Key01Icon} className="size-4" />- </InputGroupAddon>- <InputGroupInput- type="password"- autoComplete="new-password"- spellCheck={false}- name="hf-token"- placeholder="hf_..."- value={token}- onChange={(event) => setToken(event.target.value)}- />- </InputGroup>- {persistenceError ? (- <p className="text-xs text-destructive">{persistenceError}</p>- ) : validation.isChecking ? (- <p className="text-xs text-muted-foreground">- {t("studio.wizard.hfTokenChecking")}- </p>- ) : validation.error ? (- <p className="text-xs text-destructive">{validation.error}</p>- ) : null}- </Field>- );-}diff --git a/studio/frontend/src/features/onboarding/components/splash-screen.tsx b/studio/frontend/src/features/onboarding/components/splash-screen.tsxdeleted file mode 100644index 2532316add1..00000000000--- a/studio/frontend/src/features/onboarding/components/splash-screen.tsx+++ /dev/null@@ -1,75 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Button } from "@/components/ui/button";-import { Card } from "@/components/ui/card";-import { MascotImg } from "@/components/mascot-img";-import { motion } from "motion/react";--interface SplashScreenProps {- onStartOnboarding: () => void;- onSkipOnboarding: () => void;-}--export function SplashScreen({- onStartOnboarding,- onSkipOnboarding,-}: SplashScreenProps) {- return (- <div className="fixed inset-0 z-50 flex items-center justify-center bg-gradient-to-b from-background via-background to-primary/5 p-6">- <Card className="w-full max-w-md px-8 py-8 shadow-border ring-1 ring-border">- {/* Mascot */}- <div className="flex justify-center">- <motion.div- initial={{ opacity: 0, y: 40, scale: 0.95 }}- animate={{ opacity: 1, y: 0, scale: 1 }}- transition={{- type: "spring",- duration: 0.7,- bounce: 0.3,- delay: 0.1,- }}- >- <MascotImg src="Sloth emojis/Sloth loca pc.png" className="size-30" />- </motion.div>- </div>-- {/* Brand text */}- <motion.div- className="mt-4 flex flex-col items-center gap-1"- initial={{ opacity: 0, y: 10 }}- animate={{ opacity: 1, y: 0 }}- transition={{- duration: 0.4,- ease: [0.165, 0.84, 0.44, 1],- delay: 0.4,- }}- >- <h1 className="text-2xl font-semibold tracking-tight">- Unsloth- </h1>- <p className="text-sm text-muted-foreground">Train and run LLMs locally</p>- </motion.div>-- {/* Buttons */}- <motion.div- className="mt-8 flex flex-col gap-3"- initial={{ opacity: 0, y: 10 }}- animate={{ opacity: 1, y: 0 }}- transition={{- duration: 0.4,- ease: [0.165, 0.84, 0.44, 1],- delay: 0.8,- }}- >- <Button size="lg" onClick={onStartOnboarding}>- Start Onboarding- </Button>- <Button size="lg" variant="outline" onClick={onSkipOnboarding}>- Skip Onboarding- </Button>- </motion.div>- </Card>- </div>- );-}diff --git a/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx b/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsxdeleted file mode 100644index fdf812c2702..00000000000--- a/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx+++ /dev/null@@ -1,279 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";-import {- Field,- FieldDescription,- FieldGroup,- FieldLabel,-} from "@/components/ui/field";-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from "@/components/ui/select";-import { Spinner } from "@/components/ui/spinner";-import {- Tooltip,- TooltipContent,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { DatasetSelector, datasetDisplayName } from "@/features/dataset-picker";-import {- bumpInventoryVersion,- hfApiToken,- useHfTokenStore,- useOnlineStatus,-} from "@/features/hub";-import {- formatUploadSize,- getCachedUploadLimitBytes,- getCachedUploadLimitLabel,- loadUploadLimitSettings,-} from "@/features/settings";-import {- HfDatasetSubsetSplitSelectors,- TRAINING_DATASET_UPLOAD_EXTENSIONS,- uploadTrainingDataset,- useTrainingConfigStore,-} from "@/features/training";-import { useT } from "@/i18n";-import { toast } from "@/lib/toast";-import type { DatasetFormat } from "@/types/training";-import {- InformationCircleIcon,- SparklesIcon,- Upload04Icon,-} from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { useRef, useState } from "react";-import { useShallow } from "zustand/react/shallow";-import { HfTokenField } from "../hf-token-field";--const FORMAT_OPTIONS: { value: DatasetFormat; label: string }[] = [- { value: "auto", label: "Auto Detect" },- { value: "alpaca", label: "Alpaca" },- { value: "chatml", label: "ChatML" },- { value: "sharegpt", label: "ShareGPT" },- { value: "raw", label: "Raw Text" },-];--export function DatasetStep() {- const t = useT();- const hfToken = useHfTokenStore((state) => state.token);- const online = useOnlineStatus();- const fileInputRef = useRef<HTMLInputElement>(null);- const [isUploading, setIsUploading] = useState(false);- const {- datasetSource,- datasetFormat,- setDatasetFormat,- dataset,- datasetKnownCached,- datasetLocalPath,- datasetStreaming,- datasetSubset,- setDatasetSubset,- datasetSplit,- setDatasetSplit,- datasetEvalSplit,- setDatasetEvalSplit,- setManualDatasetOptionsValid,- markManualDatasetOptionsEdited,- uploadedFile,- selectLocalDataset,- } = useTrainingConfigStore(- useShallow((state) => ({- datasetSource: state.datasetSource,- datasetFormat: state.datasetFormat,- setDatasetFormat: state.setDatasetFormat,- dataset: state.dataset,- datasetKnownCached: state.datasetKnownCached,- datasetLocalPath: state.datasetLocalPath,- datasetStreaming: state.datasetStreaming,- datasetSubset: state.datasetSubset,- setDatasetSubset: state.setDatasetSubset,- datasetSplit: state.datasetSplit,- setDatasetSplit: state.setDatasetSplit,- datasetEvalSplit: state.datasetEvalSplit,- setDatasetEvalSplit: state.setDatasetEvalSplit,- setManualDatasetOptionsValid: state.setManualDatasetOptionsValid,- markManualDatasetOptionsEdited: state.markManualDatasetOptionsEdited,- uploadedFile: state.uploadedFile,- selectLocalDataset: state.selectLocalDataset,- })),- );-- const uploadFile = async (file: File) => {- setIsUploading(true);- try {- const uploadLimit = await loadUploadLimitSettings().catch(() => ({- maxUploadSizeBytes: getCachedUploadLimitBytes(),- maxUploadSizeLabel: getCachedUploadLimitLabel(),- }));- if (file.size > uploadLimit.maxUploadSizeBytes) {- toast.error(t("studio.dataset.fileTooLarge"), {- description: t("studio.dataset.fileTooLargeDescription", {- file: file.name,- size: formatUploadSize(file.size),- limit: uploadLimit.maxUploadSizeLabel,- }),- });- return;- }- const uploaded = await uploadTrainingDataset(file);- bumpInventoryVersion();- selectLocalDataset(uploaded.stored_path);- toast.success(t("studio.dataset.datasetUploaded"), {- description: uploaded.filename,- });- } catch (error) {- toast.error(t("studio.dataset.uploadFailed"), {- description:- error instanceof Error- ? error.message- : t("studio.dataset.unknownError"),- });- } finally {- setIsUploading(false);- }- };-- return (- <FieldGroup>- <HfTokenField />-- <Field>- <FieldLabel>{t("studio.training.chooseDataset")}</FieldLabel>- <FieldDescription>- {t("studio.wizard.datasetPickerDescription")}- </FieldDescription>- <DatasetSelector />- </Field>-- {datasetSource === "huggingface" && (- <HfDatasetSubsetSplitSelectors- variant="wizard"- enabled={true}- datasetName={dataset}- accessToken={hfApiToken(hfToken)}- localPath={datasetLocalPath}- online={online}- preferLocalCache={datasetKnownCached && !datasetStreaming}- datasetSubset={datasetSubset}- setDatasetSubset={setDatasetSubset}- datasetSplit={datasetSplit}- setDatasetSplit={setDatasetSplit}- datasetEvalSplit={datasetEvalSplit}- setDatasetEvalSplit={setDatasetEvalSplit}- datasetStreaming={datasetStreaming}- setManualDatasetOptionsValid={setManualDatasetOptionsValid}- markManualDatasetOptionsEdited={markManualDatasetOptionsEdited}- />- )}-- <Field>- <FieldLabel>{t("studio.wizard.uploadDataset")}</FieldLabel>- <FieldDescription>- {t("studio.wizard.uploadDatasetDescription")}- </FieldDescription>- <input- ref={fileInputRef}- type="file"- accept={TRAINING_DATASET_UPLOAD_EXTENSIONS.join(",")}- className="hidden"- onChange={(event) => {- const file = event.target.files?.[0];- event.target.value = "";- if (file) {- uploadFile(file).catch(() => undefined);- }- }}- />- <Button- type="button"- variant="outline"- className="w-full"- disabled={isUploading}- onClick={() => fileInputRef.current?.click()}- >- {isUploading ? (- <Spinner className="size-4" />- ) : (- <HugeiconsIcon icon={Upload04Icon} data-icon="inline-start" />- )}- {isUploading- ? t("studio.dataset.uploading")- : t("studio.wizard.chooseFile")}- </Button>- {datasetSource === "upload" && uploadedFile && (- <Badge variant="secondary" className="w-fit max-w-full truncate">- {datasetDisplayName(uploadedFile)}- </Badge>- )}- </Field>-- <Field>- <div className="flex items-center justify-between gap-4">- <FieldLabel className="flex items-center gap-1.5">- {t("studio.wizard.format")}- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- aria-label={t("studio.wizard.format")}- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent className="max-w-xs">- {t("studio.dataset.targetFormatTooltip")}{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/datasets-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- {t("studio.params.readMore")}- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <Select- value={datasetFormat}- onValueChange={(value) => setDatasetFormat(value as DatasetFormat)}- >- <SelectTrigger className="w-44 shrink-0">- <SelectValue />- </SelectTrigger>- <SelectContent>- {FORMAT_OPTIONS.map((option) => (- <SelectItem key={option.value} value={option.value}>- {option.value === "auto" && (- <HugeiconsIcon- icon={SparklesIcon}- className="mr-1.5 inline size-3.5 align-text-bottom"- />- )}- {option.value === "auto"- ? t("studio.wizard.autoDetect")- : option.value === "raw"- ? t("studio.dataset.rawText")- : option.label}- </SelectItem>- ))}- </SelectContent>- </Select>- </div>- </Field>- </FieldGroup>- );-}diff --git a/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsx b/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsxdeleted file mode 100644index 1c0a7dcb3fc..00000000000--- a/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsx+++ /dev/null@@ -1,491 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import {- FieldGroup,- FieldLabel,- FieldLegend,- FieldSet,-} from "@/components/ui/field";-import { Input } from "@/components/ui/input";-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from "@/components/ui/select";-import { Separator } from "@/components/ui/separator";-import { Slider } from "@/components/ui/slider";-import {- Tooltip,- TooltipContent,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { CONTEXT_LENGTHS } from "@/config/training";-import { useMaxStepsEpochsToggle, useTrainingConfigStore } from "@/features/training";-import { InformationCircleIcon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { useMemo } from "react";-import { useShallow } from "zustand/react/shallow";--/** Format a number in scientific notation like 2e-4, 5e-3, etc. */-function formatLR(value: number): string {- if (value <= 0) return "0";- const exp = Math.floor(Math.log10(value));- const mantissa = value / 10 ** exp;- const rounded = Math.round(mantissa * 10) / 10;- if (rounded === 10) return `1e${exp + 1}`;- if (rounded === Math.round(rounded)) return `${Math.round(rounded)}e${exp}`;- return `${rounded}e${exp}`;-}--/** Step the LR in a scientific sequence: 1e-4 -> 2e-4 -> ... -> 9e-4 -> 1e-3 -> ... */-function stepLR(value: number, direction: 1 | -1): number {- if (value <= 0) return 1e-5;- const exp = Math.floor(Math.log10(value) + 1e-9);- const mantissa = Math.round(value / 10 ** exp);- let newMantissa = mantissa + direction;- let newExp = exp;- if (newMantissa > 9) {- newMantissa = 1;- newExp = exp + 1;- } else if (newMantissa < 1) {- newMantissa = 9;- newExp = exp - 1;- }- return newMantissa * 10 ** newExp;-}--export function HyperparametersStep() {- const {- trainingMethod,- projectName,- setProjectName,- maxSteps,- setMaxSteps,- epochs,- setEpochs,- saveSteps,- setSaveSteps,- contextLength,- setContextLength,- learningRate,- setLearningRate,- loraRank,- setLoraRank,- loraAlpha,- setLoraAlpha,- loraDropout,- setLoraDropout,- maxPositionEmbeddings,- } = useTrainingConfigStore(- useShallow((s) => ({- trainingMethod: s.trainingMethod,- projectName: s.projectName,- setProjectName: s.setProjectName,- maxSteps: s.maxSteps,- setMaxSteps: s.setMaxSteps,- epochs: s.epochs,- setEpochs: s.setEpochs,- saveSteps: s.saveSteps,- setSaveSteps: s.setSaveSteps,- contextLength: s.contextLength,- setContextLength: s.setContextLength,- learningRate: s.learningRate,- setLearningRate: s.setLearningRate,- loraRank: s.loraRank,- setLoraRank: s.setLoraRank,- loraAlpha: s.loraAlpha,- setLoraAlpha: s.setLoraAlpha,- loraDropout: s.loraDropout,- setLoraDropout: s.setLoraDropout,- maxPositionEmbeddings: s.maxPositionEmbeddings,- })),- );-- const showLoraParams =- trainingMethod === "lora" || trainingMethod === "qlora";- const { useEpochs, toggleUseEpochs } = useMaxStepsEpochsToggle({- maxSteps,- epochs,- saveSteps,- setMaxSteps,- setEpochs,- setSaveSteps,- });-- const maxStepsSliderMax = Math.max(500, maxSteps, 30);- const epochsSliderMax = Math.max(10, epochs, 1);-- // Cap context length by model's max_position_embeddings; fall back to 64K.- const maxCtx = maxPositionEmbeddings ?? 65536;- const contextLengthOptions = useMemo(- () => CONTEXT_LENGTHS.filter((len) => len <= maxCtx),- [maxCtx],- );-- return (- <FieldGroup>- <FieldSet>- <FieldLegend variant="label">Choose your training parameters</FieldLegend>- <div className="flex flex-col gap-4">- <div className="flex flex-col gap-2">- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- Project Name- <span className="text-xs font-normal text-muted-foreground/70">- Optional- </span>- </FieldLabel>- </div>- <Input- value={projectName || ""}- onChange={(e) => setProjectName(e.target.value)}- placeholder="customer-support-lora"- maxLength={80}- />- <p className="text-xs text-muted-foreground">- Used in training output folder names, export defaults, and history.- </p>- </div>-- <div- key={useEpochs ? "epochs" : "steps"}- className="flex flex-col gap-2 animate-in fade-in-1 slide-in-from-bottom-1 duration-200"- >- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- {useEpochs ? "Epochs" : "Max Steps"}- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- {useEpochs- ? "Number of full passes over the dataset."- : "Override total optimizer steps."}{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- Read more- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <div className="flex items-center gap-3">- <button- type="button"- onClick={toggleUseEpochs}- className="text-xs text-primary underline cursor-pointer"- >- {useEpochs ? "Use Max Steps" : "Use Epochs"}- </button>- <Slider- value={[- useEpochs- ? Math.min(epochsSliderMax, Math.max(1, epochs))- : Math.min(maxStepsSliderMax, Math.max(1, maxSteps)),- ]}- onValueChange={([v]) =>- useEpochs ? setEpochs(v) : setMaxSteps(v)- }- min={1}- max={useEpochs ? epochsSliderMax : maxStepsSliderMax}- step={1}- className="w-40"- />- <input- type="number"- value={useEpochs ? epochs : maxSteps}- onChange={(e) => {- const raw = e.target.value;- if (raw === "") return;-- const value = Number(raw);- if (!Number.isFinite(value) || value < 1) return;-- if (useEpochs) {- setEpochs(value);- } else {- setMaxSteps(value);- }- }}- min={1}- max={useEpochs ? epochsSliderMax : maxStepsSliderMax}- step={1}- className="w-16 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-lg px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"- />- </div>- </div>- </div>-- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- Context Length- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- Maximum number of tokens per training sample.{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- Read more- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <Select- value={String(contextLength)}- onValueChange={(v) => setContextLength(Number(v))}- >- <SelectTrigger className="w-32 font-mono">- <SelectValue />- </SelectTrigger>- <SelectContent>- {contextLengthOptions.map((len) => (- <SelectItem key={len} value={String(len)}>- {len.toLocaleString()}- </SelectItem>- ))}- </SelectContent>- </Select>- </div>-- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- Learning Rate- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- Step size for weight updates. Lower = slower but more stable.{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- Read more- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <div className="flex items-center gap-1">- <button- type="button"- className="flex size-7 items-center justify-center rounded-md border border-border text-muted-foreground hover:bg-muted cursor-pointer"- onClick={() => setLearningRate(stepLR(learningRate, -1))}- >- -- </button>- <span className="w-16 text-center font-mono text-sm">- {formatLR(learningRate)}- </span>- <button- type="button"- className="flex size-7 items-center justify-center rounded-md border border-border text-muted-foreground hover:bg-muted cursor-pointer"- onClick={() => setLearningRate(stepLR(learningRate, 1))}- >- +- </button>- </div>- </div>-- </div>- </FieldSet>-- {showLoraParams && (- <>- <Separator />- <FieldSet>- <FieldLegend variant="label">LoRA Parameters</FieldLegend>- <div className="flex flex-col gap-4">- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- Rank- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- Dimension of the low-rank matrices. Higher = more- capacity.{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- Read more- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <div className="flex items-center gap-3">- <Slider- value={[loraRank]}- onValueChange={([v]) => setLoraRank(v)}- min={4}- max={128}- step={4}- className="w-40"- />- <input- type="number"- value={loraRank}- onChange={(e) => setLoraRank(Number(e.target.value))}- min={4}- max={128}- step={4}- className="w-12 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-lg px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"- />- </div>- </div>-- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- Alpha- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- Scaling factor. Typically set to 2x the rank value.{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- Read more- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <div className="flex items-center gap-3">- <Slider- value={[loraAlpha]}- onValueChange={([v]) => setLoraAlpha(v)}- min={8}- max={256}- step={8}- className="w-40"- />- <input- type="number"- value={loraAlpha}- onChange={(e) => setLoraAlpha(Number(e.target.value))}- min={8}- max={256}- step={8}- className="w-12 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-lg px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"- />- </div>- </div>-- <div className="flex items-center justify-between">- <FieldLabel className="flex items-center gap-1.5 !text-sm text-muted-foreground">- Dropout- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- Probability of dropping neurons during training for- regularization.{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- Read more- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <div className="flex items-center gap-3">- <Slider- value={[loraDropout]}- onValueChange={([v]) => setLoraDropout(v)}- min={0}- max={0.5}- step={0.01}- className="w-40"- />- <input- type="number"- value={loraDropout}- onChange={(e) => setLoraDropout(Number(e.target.value))}- min={0}- max={0.5}- step={0.01}- className="w-12 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-lg px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"- />- </div>- </div>- </div>- </FieldSet>- </>- )}- </FieldGroup>- );-}diff --git a/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx b/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsxdeleted file mode 100644index 46fcea2bbc5..00000000000--- a/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx+++ /dev/null@@ -1,150 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import {- Field,- FieldDescription,- FieldGroup,- FieldLabel,-} from "@/components/ui/field";-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from "@/components/ui/select";-import {- Tooltip,- TooltipContent,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { usePlatformStore } from "@/config/env";-import { TrainModelSelector } from "@/features/train-model-picker";-import {- TRAINING_METHOD_META,- TRAINING_METHOD_ORDER,- isTrainingMethodSupportedOnDevice,- useTrainingConfigStore,-} from "@/features/training";-import { useT } from "@/i18n";-import type { TrainingMethod } from "@/types/training";-import { InformationCircleIcon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { useEffect } from "react";-import { useShallow } from "zustand/react/shallow";-import { HfTokenField } from "../hf-token-field";--export function ModelSelectionStep() {- const t = useT();- const deviceType = usePlatformStore((state) => state.deviceType);- const {- ensureModelDefaultsLoaded,- modelType,- selectedModel,- trainingMethod,- setTrainingMethod,- } = useTrainingConfigStore(- useShallow((state) => ({- ensureModelDefaultsLoaded: state.ensureModelDefaultsLoaded,- modelType: state.modelType,- selectedModel: state.selectedModel,- trainingMethod: state.trainingMethod,- setTrainingMethod: state.setTrainingMethod,- })),- );-- useEffect(() => {- if (selectedModel) {- ensureModelDefaultsLoaded();- }- }, [ensureModelDefaultsLoaded, selectedModel]);-- return (- <FieldGroup>- <HfTokenField />-- <Field>- <FieldLabel>{t("studio.training.chooseModel")}</FieldLabel>- <FieldDescription>- {t("studio.wizard.modelPickerDescription")}- </FieldDescription>- <TrainModelSelector requiredModelType={modelType ?? undefined} />- </Field>-- {selectedModel && (- <Field>- <div className="flex items-center justify-between gap-4">- <div>- <FieldLabel className="flex items-center gap-1.5">- {t("studio.wizard.trainingMethod")}- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- aria-label={t("studio.wizard.trainingMethod")}- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent className="max-w-xs">- {t("studio.wizard.trainingMethodTooltip")}{" "}- <a- href="https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide"- target="_blank"- rel="noopener noreferrer"- className="text-primary underline"- >- {t("studio.params.readMore")}- </a>- </TooltipContent>- </Tooltip>- </FieldLabel>- <FieldDescription>- {t("studio.wizard.trainingMethodDescription", {- model: selectedModel,- })}- </FieldDescription>- </div>- <Select- value={trainingMethod}- onValueChange={(value) =>- setTrainingMethod(value as TrainingMethod)- }- >- <SelectTrigger className="w-44 shrink-0">- <SelectValue />- </SelectTrigger>- <SelectContent>- {TRAINING_METHOD_ORDER.map((method) => {- const meta = TRAINING_METHOD_META[method];- const unsupportedOnDevice =- !isTrainingMethodSupportedOnDevice(method, deviceType);- const note = unsupportedOnDevice- ? t("studio.params.notSupportedAppleSilicon")- : method === "qlora" || method === "lora"- ? t(meta.noteKey)- : null;- return (- <SelectItem- key={method}- value={method}- disabled={unsupportedOnDevice}- >- {t(meta.labelKey)}- {note ? ` (${note})` : null}- </SelectItem>- );- })}- </SelectContent>- </Select>- </div>- </Field>- )}- </FieldGroup>- );-}diff --git a/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsx b/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsxdeleted file mode 100644index 07bd47cd268..00000000000--- a/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsx+++ /dev/null@@ -1,272 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Badge } from "@/components/ui/badge";-import { Card, CardContent } from "@/components/ui/card";-import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";-import {- Tooltip,- TooltipContent,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { usePlatformStore } from "@/config/env";-import { MODEL_TYPES } from "@/config/training";-import {- isTrainingModelTypeSupportedOnDevice,- useTrainingConfigStore,-} from "@/features/training";-import { useT } from "@/i18n";-import { cn } from "@/lib/utils";-import type { ModelType } from "@/types/training";-import {- BubbleChatIcon,- Database02Icon,- ImageIcon,- InformationCircleIcon,- TextIcon,- VoiceIcon,-} from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { type ReactElement, useState } from "react";-import { useShallow } from "zustand/react/shallow";--const TYPE_ICONS: Record<ModelType, typeof ImageIcon> = {- vision: ImageIcon,- audio: VoiceIcon,- embeddings: Database02Icon,- text: TextIcon,-};--const TYPE_TOOLTIPS: Record<ModelType, string> = {- vision: "Fine-tune models that understand images and text together",- audio: "Fine-tune text-to-speech and audio models",- embeddings: "Fine-tune models for semantic search and similarity",- text: "Fine-tune large language models for text generation",-};--const COMING_SOON: ModelType[] = [];--function getDisabledLabel(- modelType: ModelType,- deviceType: string,- unsupportedOnDeviceLabel: string,-): string | null {- if (COMING_SOON.includes(modelType)) {- return "Coming Soon";- }- if (!isTrainingModelTypeSupportedOnDevice(modelType, deviceType)) {- return unsupportedOnDeviceLabel;- }- return null;-}--export function ModelTypeStep(): ReactElement {- const t = useT();- const deviceType = usePlatformStore((state) => state.deviceType);- const { modelType, setModelType } = useTrainingConfigStore(- useShallow((s) => ({- modelType: s.modelType,- setModelType: s.setModelType,- })),- );- const [chatOnlySelected, setChatOnlySelected] = useState(false);- const selectedModelType = chatOnlySelected ? null : modelType;- const selectChatOnly = () => {- setChatOnlySelected(true);- setModelType("text");- sessionStorage.setItem("unsloth_chat_only", "1");- };-- return (- <div className="flex flex-col gap-6">- <div>- <h2 className="text-lg font-semibold">Welcome to Unsloth</h2>- <p className="text-sm text-muted-foreground">- Choose a path - fine-tune LLMs, vision, embedding, audio models or- just chat.{" "}- <a- href="https://unsloth.ai/docs/new/studio/start"- target="_blank"- rel="noreferrer"- className="text-primary underline"- >- Get started with our guide- </a>- </p>- </div>- <RadioGroup- value={selectedModelType ?? ""}- onValueChange={(v) => {- if (!COMING_SOON.includes(v as ModelType)) {- setChatOnlySelected(false);- sessionStorage.removeItem("unsloth_chat_only");- setModelType(v as ModelType);- }- }}- className="grid grid-cols-1 gap-4 sm:grid-cols-2"- >- {MODEL_TYPES.map((type) => {- const Icon = TYPE_ICONS[type.value];- const isSelected = selectedModelType === type.value;- const disabledLabel = getDisabledLabel(- type.value,- deviceType,- t("studio.params.notSupportedAppleSilicon"),- );- const isDisabled = disabledLabel !== null;- const isActive = isSelected && !isDisabled;- const inputId = `model-type-${type.value}`;-- return (- <label- key={type.value}- htmlFor={inputId}- className={cn(- isDisabled ? "cursor-not-allowed" : "cursor-pointer",- )}- >- <Card- size="sm"- className={cn(- "relative shadow-primary/30 transition-all duration-150 ease-out",- isDisabled && "opacity-50 bg-muted/50",- !isDisabled &&- "hover:ring-ring hover:-translate-y-0.5 hover:shadow-sm",- isActive &&- "ring-1 ring-ring-strong -translate-y-0.5 shadow-sm",- )}- >- {isDisabled && (- <Badge- variant="secondary"- className="absolute top-2 right-2 text-ui-10"- >- {disabledLabel}- </Badge>- )}- <CardContent className="flex items-center gap-4 py-4">- <RadioGroupItem- id={inputId}- value={type.value}- className="sr-only"- disabled={isDisabled}- />- <div- className={cn(- "size-10 rounded-xl corner-squircle flex items-center justify-center shrink-0",- "transition-all duration-100 ease-out",- isDisabled && "bg-muted/50 text-muted-foreground/50",- isActive && "bg-primary/10 text-primary scale-105",- !(isDisabled || isSelected) &&- "bg-muted text-muted-foreground",- )}- >- <HugeiconsIcon- icon={Icon}- className={cn(- "size-5 transition-transform duration-100 ease-out",- isActive && "scale-110",- )}- strokeWidth={isActive ? 2.5 : 2}- />- </div>- <div className="flex flex-col gap-0.5 flex-1">- <div className="flex items-center gap-1.5">- <span- className={cn(- "font-medium",- isDisabled && "text-muted-foreground",- )}- >- {type.label}- </span>- <Tooltip>- <TooltipTrigger asChild={true}>- <button- type="button"- className="text-muted-foreground/50 hover:text-muted-foreground"- >- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </button>- </TooltipTrigger>- <TooltipContent>- {TYPE_TOOLTIPS[type.value]}- </TooltipContent>- </Tooltip>- </div>- <span className="text-xs text-muted-foreground">- {type.description}- </span>- </div>- </CardContent>- </Card>- </label>- );- })}- <button- type="button"- className="cursor-pointer text-left"- onClick={selectChatOnly}- >- <Card- size="sm"- className={cn(- "relative shadow-primary/30 transition-all duration-150 ease-out",- "hover:ring-ring hover:-translate-y-0.5 hover:shadow-sm",- chatOnlySelected &&- "ring-1 ring-ring-strong -translate-y-0.5 shadow-sm",- )}- >- <CardContent className="flex items-center gap-4 py-4">- {/* Spacer matching RadioGroupItem in the other cards */}- <div className="size-4 shrink-0" aria-hidden="true" />- <div- className={cn(- "size-10 rounded-xl corner-squircle flex items-center justify-center shrink-0",- "transition-all duration-100 ease-out",- chatOnlySelected- ? "bg-primary/10 text-primary scale-105"- : "bg-muted text-muted-foreground",- )}- >- <HugeiconsIcon- icon={BubbleChatIcon}- className={cn(- "size-5 transition-transform duration-100 ease-out",- chatOnlySelected && "scale-110",- )}- strokeWidth={chatOnlySelected ? 2.5 : 2}- />- </div>- <div className="flex flex-col gap-0.5 flex-1">- <div className="flex items-center gap-1.5">- <span className="font-medium">Chat</span>- <Tooltip>- <TooltipTrigger asChild={true}>- <span className="text-muted-foreground/50 hover:text-muted-foreground">- <HugeiconsIcon- icon={InformationCircleIcon}- className="size-3.5"- />- </span>- </TooltipTrigger>- <TooltipContent>- Chat with any model. Has tool calling, web search and- more.- </TooltipContent>- </Tooltip>- </div>- <span className="text-xs text-muted-foreground">- Chat with LLMs & vision models + audio generation.- </span>- </div>- </CardContent>- </Card>- </button>- </RadioGroup>- </div>- );-}diff --git a/studio/frontend/src/features/onboarding/components/steps/summary-step.tsx b/studio/frontend/src/features/onboarding/components/steps/summary-step.tsxdeleted file mode 100644index cdca5a5fdcf..00000000000--- a/studio/frontend/src/features/onboarding/components/steps/summary-step.tsx+++ /dev/null@@ -1,231 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Badge } from "@/components/ui/badge";-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";-import { Separator } from "@/components/ui/separator";-import {- getTrainingMethodLabel,- useTrainingConfigStore,-} from "@/features/training";-import { useHardwareInfo } from "@/hooks";-import { isAdapterMethod } from "@/types/training";-import { ChipIcon, Database02Icon, GpuIcon, Settings04Icon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { useShallow } from "zustand/react/shallow";--function Row({- label,- value,- mono,- capitalize,- uppercase,-}: {- label: string;- value: React.ReactNode;- mono?: boolean;- capitalize?: boolean;- uppercase?: boolean;-}) {- return (- <div className="flex items-center justify-between">- <span className="text-muted-foreground">{label}</span>- <span- className={- mono- ? "font-mono text-xs"- : capitalize- ? "capitalize"- : uppercase- ? "uppercase"- : undefined- }- >- {value}- </span>- </div>- );-}--export function SummaryStep() {- const hw = useHardwareInfo();- const {- modelType,- selectedModel,- projectName,- trainingMethod,- datasetSource,- datasetFormat,- dataset,- datasetSubset,- datasetSplit,- uploadedFile,- epochs,- contextLength,- learningRate,- loraRank,- loraAlpha,- loraDropout,- } = useTrainingConfigStore(- useShallow(- ({- modelType,- selectedModel,- projectName,- trainingMethod,- datasetSource,- datasetFormat,- dataset,- datasetSubset,- datasetSplit,- uploadedFile,- epochs,- contextLength,- learningRate,- loraRank,- loraAlpha,- loraDropout,- }) => ({- modelType,- selectedModel,- projectName,- trainingMethod,- datasetSource,- datasetFormat,- dataset,- datasetSubset,- datasetSplit,- uploadedFile,- epochs,- contextLength,- learningRate,- loraRank,- loraAlpha,- loraDropout,- }),- ),- );-- const showLoraParams = isAdapterMethod(trainingMethod);- const datasetName = datasetSource === "upload" ? uploadedFile : dataset;- const trainingMethodLabel = getTrainingMethodLabel(trainingMethod);-- return (- <div className="grid grid-cols-1 gap-3 sm:grid-cols-2">- <Card size="sm" className="flex flex-col rounded-2xl">- <CardHeader className="pb-2">- <CardTitle className="text-sm text-muted-foreground">- System- </CardTitle>- </CardHeader>- <CardContent className="flex flex-1 flex-col">- <div className="flex items-start gap-3">- <div className="mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-control-accent/10">- <HugeiconsIcon icon={GpuIcon} className="size-4 text-control-accent" />- </div>- <div className="flex flex-1 flex-col">- <span className="text-xs text-muted-foreground">GPU</span>- <div className="flex items-center gap-2">- <span className="text-sm font-medium">{hw.gpuName ?? "---"}</span>- <Badge variant="secondary">{hw.vramTotalGb != null ? `${hw.vramTotalGb} GiB` : "---"}</Badge>- </div>- </div>- </div>- <Separator className="my-2" />- <div className="space-y-1 text-sm">- <Row label="unsloth" value={hw.unsloth ?? "---"} mono />- <Row label="torch" value={hw.torch ?? "---"} mono />- <Row label="transformers" value={hw.transformers ?? "---"} mono />- </div>- </CardContent>- </Card>-- <Card size="sm" className="flex flex-col rounded-2xl">- <CardHeader className="pb-2">- <CardTitle className="text-sm text-muted-foreground">Model</CardTitle>- </CardHeader>- <CardContent className="flex flex-1 flex-col">- <div className="flex items-start gap-3">- <div className="mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-control-accent/10">- <HugeiconsIcon icon={ChipIcon} className="size-4 text-control-accent" />- </div>- <div className="flex flex-1 flex-col overflow-hidden">- <span className="text-xs text-muted-foreground">Model</span>- <span className="truncate text-sm font-medium">{selectedModel ?? "---"}</span>- </div>- </div>- <Separator className="my-2" />- <div className="space-y-1 text-sm">- <Row label="Type" value={modelType} capitalize />- <Row label="Project" value={projectName || "--"} />- <Row label="Method" value={trainingMethodLabel} />- </div>- </CardContent>- </Card>-- <Card size="sm" className="flex flex-col rounded-2xl">- <CardHeader className="pb-2">- <CardTitle className="text-sm text-muted-foreground">- Dataset- </CardTitle>- </CardHeader>- <CardContent className="flex flex-1 flex-col">- <div className="flex items-start gap-3">- <div className="mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-indigo-500/10">- <HugeiconsIcon icon={Database02Icon} className="size-4 text-indigo-600" />- </div>- <div className="flex flex-1 flex-col overflow-hidden">- <span className="text-xs text-muted-foreground">Dataset</span>- <span className="truncate text-sm font-medium">{datasetName ?? "---"}</span>- </div>- </div>- <Separator className="my-2" />- <div className="space-y-1 text-sm">- <Row label="Source" value={datasetSource} capitalize />- {datasetSubset && (- <Row label="Subset" value={datasetSubset} mono />- )}- {datasetSplit && (- <Row label="Split" value={datasetSplit} mono />- )}- <Row label="Format" value={datasetFormat} capitalize />- </div>- </CardContent>- </Card>-- <Card size="sm" className="flex flex-col rounded-2xl">- <CardHeader className="pb-2">- <CardTitle className="text-sm text-muted-foreground">- Hyperparameters- </CardTitle>- </CardHeader>- <CardContent className="flex flex-1 flex-col">- <div className="flex items-start gap-3">- <div className="mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-orange-500/10">- <HugeiconsIcon icon={Settings04Icon} className="size-4 text-orange-600" />- </div>- <div className="flex flex-1 flex-col">- <span className="text-xs text-muted-foreground">Training</span>- <span className="text-sm font-medium">- {trainingMethodLabel}- </span>- </div>- </div>- <Separator className="my-2" />- <div className="grid grid-cols-1 gap-x-6 gap-y-1 text-sm sm:grid-cols-2">- <Row label="Epochs" value={epochs} mono />- <Row label="Context" value={contextLength.toLocaleString()} mono />- <Row label="LR" value={learningRate.toExponential()} mono />- {showLoraParams && (- <>- <Row label="Rank" value={loraRank} mono />- <Row label="Alpha" value={loraAlpha} mono />- <Row label="Dropout" value={loraDropout} mono />- </>- )}- </div>- </CardContent>- </Card>- </div>- );-}diff --git a/studio/frontend/src/features/onboarding/components/wizard-content.tsx b/studio/frontend/src/features/onboarding/components/wizard-content.tsxdeleted file mode 100644index 40d290a73e7..00000000000--- a/studio/frontend/src/features/onboarding/components/wizard-content.tsx+++ /dev/null@@ -1,55 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { MascotImg } from "@/components/mascot-img";-import { STEPS } from "@/config/training";-import { useTrainingConfigStore } from "@/features/training";-import type { StepNumber } from "@/types/training";-import { DatasetStep } from "./steps/dataset-step";-import { HyperparametersStep } from "./steps/hyperparameters-step";-import { ModelSelectionStep } from "./steps/model-selection-step";-import { ModelTypeStep } from "./steps/model-type-step";-import { SummaryStep } from "./steps/summary-step";--const STEP_COMPONENTS = {- 1: ModelTypeStep,- 2: ModelSelectionStep,- 3: DatasetStep,- 4: HyperparametersStep,- 5: SummaryStep,-} as const;--const STEP_MASCOTS: Record<StepNumber, string> = {- 1: "Sloth emojis/large sloth wave.png",- 2: "Sloth emojis/sloth magnify final.png",- 3: "Sloth emojis/sloth huglove large.png",- 4: "Sloth emojis/large sloth glasses.png",- 5: "Sloth emojis/large sloth yay.png",-};--export function WizardContent() {- const currentStep = useTrainingConfigStore((s) => s.currentStep);- const stepConfig = STEPS[currentStep - 1];- const StepComponent = STEP_COMPONENTS[currentStep];- const mascotSrc = STEP_MASCOTS[currentStep];-- return (- <main className="flex-1 flex flex-col overflow-y-auto">- <header className="flex flex-wrap items-start gap-3 p-4 pb-3 sm:p-6 sm:pb-4">- <MascotImg src={mascotSrc} className="size-12 sm:size-14" />- <div className="flex flex-col min-w-0">- <h1 className="text-lg font-semibold sm:text-xl">{stepConfig.title}</h1>- <p className="text-sm text-muted-foreground">- {stepConfig.description}- </p>- </div>- <p className="ml-auto hidden shrink-0 text-xs text-muted-foreground uppercase tracking-wider md:block">- Step {currentStep} of {STEPS.length}- </p>- </header>- <div className="flex-1 p-4 pt-1.5 sm:p-6 sm:pt-2">- <StepComponent />- </div>- </main>- );-}diff --git a/studio/frontend/src/features/onboarding/components/wizard-footer.tsx b/studio/frontend/src/features/onboarding/components/wizard-footer.tsxdeleted file mode 100644index 74bdd1d0d6c..00000000000--- a/studio/frontend/src/features/onboarding/components/wizard-footer.tsx+++ /dev/null@@ -1,135 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Button } from "@/components/ui/button";-import { usePlatformStore } from "@/config/env";-import { STEPS } from "@/config/training";-import { markOnboardingDone } from "@/features/auth";-import { waitForHfTokenPersistence } from "@/features/hub/stores/hf-token-store";-import {- isTrainingLoraVariantSupportedOnDevice,- isTrainingMethodSupportedOnDevice,- isTrainingModelTypeSupportedOnDevice,- useTrainingConfigStore,-} from "@/features/training";-import { ArrowLeft02Icon, ArrowRight02Icon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { useShallow } from "zustand/react/shallow";--export function WizardFooter({- returnTo,- onBackToSplash,-}: {- returnTo: string;- onBackToSplash: () => void;-}) {- const deviceType = usePlatformStore((state) => state.deviceType);- const {- currentStep,- prevStep,- nextStep,- loraVariant,- modelType,- trainingMethod,- canProceedForStep,- } = useTrainingConfigStore(- useShallow((s) => ({- currentStep: s.currentStep,- prevStep: s.prevStep,- nextStep: s.nextStep,- loraVariant: s.loraVariant,- modelType: s.modelType,- trainingMethod: s.trainingMethod,- canProceedForStep: s.canProceed(),- })),- );- const canProceed =- canProceedForStep &&- isTrainingModelTypeSupportedOnDevice(modelType, deviceType) &&- isTrainingLoraVariantSupportedOnDevice(- loraVariant,- trainingMethod,- deviceType,- ) &&- (currentStep === 1 ||- isTrainingMethodSupportedOnDevice(trainingMethod, deviceType));- const isFirst = currentStep === 1;- const isLast = currentStep === STEPS.length;-- return (- <footer>- <div className="flex items-center justify-between p-6">- <Button- variant="outline"- className="px-4 !pl-4"- onClick={isFirst ? onBackToSplash : prevStep}- >- <HugeiconsIcon icon={ArrowLeft02Icon} data-icon="inline-start" />- Back- </Button>- <div className="flex items-center gap-2">- {!isLast && (- <Button- variant="outline"- className="px-4"- onClick={async () => {- try {- await waitForHfTokenPersistence();- } catch {- return;- }- markOnboardingDone();- window.location.assign(returnTo);- }}- >- Skip- </Button>- )}- {isLast ? (- <Button- onClick={async () => {- try {- await waitForHfTokenPersistence();- } catch {- return;- }- markOnboardingDone();- window.location.assign(returnTo);- }}- disabled={!canProceed}- className="px-4 !pr-4"- >- Finish onboarding- <HugeiconsIcon icon={ArrowRight02Icon} data-icon="inline-end" />- </Button>- ) : (- <Button- onClick={async () => {- if (- currentStep === 1 &&- sessionStorage.getItem("unsloth_chat_only") === "1"- ) {- try {- await waitForHfTokenPersistence();- } catch {- return;- }- sessionStorage.removeItem("unsloth_chat_only");- markOnboardingDone();- window.location.assign("/chat");- } else {- nextStep();- }- }}- className="px-4 !pl-4"- disabled={!canProceed}- >- Continue- <HugeiconsIcon icon={ArrowRight02Icon} data-icon="inline-end" />- </Button>- )}- </div>- </div>- </footer>- );-}diff --git a/studio/frontend/src/features/onboarding/components/wizard-layout.tsx b/studio/frontend/src/features/onboarding/components/wizard-layout.tsxdeleted file mode 100644index 8f043265101..00000000000--- a/studio/frontend/src/features/onboarding/components/wizard-layout.tsx+++ /dev/null@@ -1,126 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Card } from "@/components/ui/card";-import { Route as OnboardingRoute } from "@/app/routes/onboarding";-import { motion } from "motion/react";-import { Suspense, lazy, useEffect, useRef, useState } from "react";--import type { ConfettiRef } from "@/components/ui/confetti";-import { STEPS } from "@/config/training";-import { isOnboardingDone, markOnboardingDone } from "@/features/auth";-import { waitForHfTokenPersistence } from "@/features/hub/stores/hf-token-store";-import { prefersReducedMotion } from "@/features/settings";-import { useTrainingConfigStore } from "@/features/training";-import { SplashScreen } from "./splash-screen";-import { WizardContent } from "./wizard-content";-import { WizardFooter } from "./wizard-footer";-import { WizardSidebar } from "./wizard-sidebar";--const Confetti = lazy(() =>- import("@/components/ui/confetti").then((m) => ({ default: m.Confetti })),-);--function sanitizeRedirectTarget(value: string | undefined): string {- if (!value) return "/chat";- if (!value.startsWith("/")) return "/chat";- if (value.startsWith("//")) return "/chat";- if (value.includes("\\")) return "/chat";- return value;-}--export function WizardLayout() {- const search = OnboardingRoute.useSearch();- const [showSplash, setShowSplash] = useState(true);- const currentStep = useTrainingConfigStore((s) => s.currentStep);- const confettiRef = useRef<ConfettiRef>(null);- const hasFiredRef = useRef(false);- const isFinalStep = currentStep === STEPS.length;- const returnTo = sanitizeRedirectTarget(search.redirectTo);- const exitToReturnTo = () => window.location.assign(returnTo);-- // Only redirect on initial mount — not on re-renders after markOnboardingDone()- // which would override explicit /chat navigation from skip buttons.- const checkedRef = useRef(false);- useEffect(() => {- if (!checkedRef.current) {- checkedRef.current = true;- if (isOnboardingDone()) {- exitToReturnTo();- }- }- }, [returnTo]);-- useEffect(() => {- if (isFinalStep && !hasFiredRef.current) {- hasFiredRef.current = true;- // Honor Appearance > Reduce motion; skip the celebration when reduced.- if (!prefersReducedMotion()) {- confettiRef.current?.fire({- particleCount: 80,- angle: 60,- spread: 55,- origin: { x: 0, y: 0.6 },- colors: ["#34b482", "#26ccff", "#a25afd", "#88ff5a"],- });- confettiRef.current?.fire({- particleCount: 80,- angle: 120,- spread: 55,- origin: { x: 1, y: 0.6 },- colors: ["#34b482", "#26ccff", "#a25afd", "#88ff5a"],- });- }- }- if (!isFinalStep) {- hasFiredRef.current = false;- }- }, [isFinalStep]);-- return (- // a bounded height, not just a minimum, or the container grows to the card and never scrolls- <div className="relative flex h-[calc(100dvh-var(--studio-titlebar-height,0px))] justify-center overflow-y-auto overflow-x-hidden bg-gradient-to-br from-primary/5 via-background to-primary/3 p-4 sm:p-6 md:p-8">- {showSplash && (- <SplashScreen- onStartOnboarding={() => setShowSplash(false)}- onSkipOnboarding={async () => {- try {- await waitForHfTokenPersistence();- } catch {- return;- }- markOnboardingDone();- exitToReturnTo();- }}- />- )}- <Suspense fallback={null}>- <Confetti- ref={confettiRef}- manualstart={true}- className="pointer-events-none fixed inset-0 z-50 size-full"- />- </Suspense>- {!showSplash && (- <motion.div- // my-auto centers the card when it fits and lets it scroll from the top when it does not- className="my-auto w-full max-w-5xl"- initial={{ opacity: 0, scale: 0.98, y: 10 }}- animate={{ opacity: 1, scale: 1, y: 0 }}- transition={{- duration: 0.4,- ease: [0.165, 0.84, 0.44, 1],- }}- >- <Card className="relative z-10 w-full !gap-0 !m-0 !p-0 flex min-h-[560px] flex-col overflow-hidden shadow-border ring-1 ring-border md:min-h-[620px] md:flex-row lg:h-[660px]">- <WizardSidebar returnTo={returnTo} />- <div className="flex-1 flex flex-col">- <WizardContent />- <WizardFooter returnTo={returnTo} onBackToSplash={() => setShowSplash(true)} />- </div>- </Card>- </motion.div>- )}- </div>- );-}diff --git a/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsx b/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsxdeleted file mode 100644index 5adc15fe509..00000000000--- a/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsx+++ /dev/null@@ -1,78 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { Button } from "@/components/ui/button";-import { Progress } from "@/components/ui/progress";-import { STEPS } from "@/config/training";-import { markOnboardingDone } from "@/features/auth";-import { waitForHfTokenPersistence } from "@/features/hub/stores/hf-token-store";-import { useTrainingConfigStore } from "@/features/training";-import { ArrowRight02Icon } from "@hugeicons/core-free-icons";-import { HugeiconsIcon } from "@hugeicons/react";-import { WizardStepItem } from "./wizard-step-item";--export function WizardSidebar({ returnTo }: { returnTo: string }) {- const currentStep = useTrainingConfigStore((s) => s.currentStep);- const progress = ((currentStep - 1) / (STEPS.length - 1)) * 100;-- return (- <aside className="w-full shrink-0 bg-muted/70 p-4 md:w-64 md:p-6">- <div className="flex items-center gap-3 py-1 md:py-2">- {/* Logo lockup follows the UI font size at half rate:- base + (root scale - 1) * 8px. Exact base sizes at 16px. */}- <img- src={`${import.meta.env.BASE_URL}sticker.png`}- alt="Unsloth"- className="size-[calc(40px+0.5rem*var(--ui-font-scale,1))]"- />- <div className="flex flex-col">- <span className="font-semibold text-[calc(10px+0.5rem*var(--ui-font-scale,1))] leading-tight">Unsloth</span>- <span className="text-[calc(4px+0.5rem*var(--ui-font-scale,1))] text-muted-foreground">Studio</span>- </div>- </div>- <div className="mt-3 md:mt-0">- <Progress value={progress} className="h-1.5" />- </div>- <p className="mt-2 text-xs text-muted-foreground md:hidden">- Step {currentStep} of {STEPS.length}- </p>- <Button- size="sm"- className="mt-2 w-full md:hidden"- onClick={async () => {- try {- await waitForHfTokenPersistence();- } catch {- return;- }- markOnboardingDone();- window.location.assign(returnTo);- }}- >- Skip onboarding- <HugeiconsIcon icon={ArrowRight02Icon} data-icon="inline-end" />- </Button>- <nav className="mt-3 hidden flex-col gap-1 md:flex">- {STEPS.map((step) => (- <WizardStepItem key={step.number} step={step} />- ))}- </nav>- <Button- size="sm"- className="mt-3 hidden w-full md:flex"- onClick={async () => {- try {- await waitForHfTokenPersistence();- } catch {- return;- }- markOnboardingDone();- window.location.assign(returnTo);- }}- >- Skip onboarding- <HugeiconsIcon icon={ArrowRight02Icon} data-icon="inline-end" />- </Button>- </aside>- );-}diff --git a/studio/frontend/src/features/onboarding/components/wizard-step-item.tsx b/studio/frontend/src/features/onboarding/components/wizard-step-item.tsxdeleted file mode 100644index 2b725c7058e..00000000000--- a/studio/frontend/src/features/onboarding/components/wizard-step-item.tsx+++ /dev/null@@ -1,56 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--import { cn } from "@/lib/utils";-import { useTrainingConfigStore } from "@/features/training";-import type { StepConfig, StepNumber } from "@/types/training";-import { useShallow } from "zustand/react/shallow";--interface WizardStepItemProps {- step: StepConfig;-}--export function WizardStepItem({ step }: WizardStepItemProps) {- const { currentStep, setStep } = useTrainingConfigStore(- useShallow((s) => ({ currentStep: s.currentStep, setStep: s.setStep })),- );- const isActive = currentStep === step.number;- const isCompleted = currentStep > step.number;- const canClick = isCompleted;-- return (- <button- type="button"- onClick={() => canClick && setStep(step.number as StepNumber)}- disabled={!canClick}- className={cn(- "flex items-start gap-3 text-left w-full py-2 transition-colors",- canClick && "cursor-pointer hover:opacity-80",- !(canClick || isActive) && "opacity-50",- )}- >- <div- className={cn(- "size-5 rounded-full flex items-center justify-center text-xs font-medium shrink-0 mt-0.5 transition-colors",- isActive && "bg-primary text-primary-foreground",- isCompleted && "bg-primary/20 text-primary",- !(isActive || isCompleted) && "bg-muted text-muted-foreground",- )}- >- {isCompleted ? "✓" : step.number}- </div>- <div className="flex flex-col gap-1">- <span- className={cn(- "text-sm font-medium",- isActive && "text-foreground",- !isActive && "text-muted-foreground",- )}- >- {step.title}- </span>- <span className="text-xs text-muted-foreground">{step.subtitle}</span>- </div>- </button>- );-}diff --git a/studio/frontend/src/features/onboarding/index.ts b/studio/frontend/src/features/onboarding/index.tsdeleted file mode 100644index 8d3723f8502..00000000000--- a/studio/frontend/src/features/onboarding/index.ts+++ /dev/null@@ -1,4 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--export { WizardLayout } from "./components/wizard-layout";diff --git a/studio/frontend/src/features/settings/settings-search.ts b/studio/frontend/src/features/settings/settings-search.tsindex 9a0d82e5d4c..b57c22e2eb6 100644--- a/studio/frontend/src/features/settings/settings-search.ts+++ b/studio/frontend/src/features/settings/settings-search.ts@@ -14,8 +14,6 @@ export const SETTINGS_SEARCH_INDEX: Record<SettingsTab, TranslationKey[]> = {"settings.general.account","settings.general.password","settings.general.huggingFaceToken",- "settings.general.gettingStarted",- "settings.general.startOnboarding","settings.appearance.language.title","settings.appearance.language.label","settings.general.notifications.sectionTitle",diff --git a/studio/frontend/src/features/settings/tabs/general-tab.tsx b/studio/frontend/src/features/settings/tabs/general-tab.tsxindex 17f7af8b8c3..5a963895d20 100644--- a/studio/frontend/src/features/settings/tabs/general-tab.tsx+++ b/studio/frontend/src/features/settings/tabs/general-tab.tsx@@ -12,8 +12,6 @@ import {} from "@/components/ui/dialog";import { Input } from "@/components/ui/input";import { Switch } from "@/components/ui/switch";-import { usePlatformStore } from "@/config/env";-import { resetOnboardingDone } from "@/features/auth";import { PermissionModeDropdown, useChatRuntimeStore } from "@/features/chat";import {LOADED_MODELS_PREFERENCE_KEYS,@@ -35,7 +33,6 @@ import { LOCALE_STORAGE_KEY, useT } from "@/i18n";import { isTauri } from "@/lib/api-base";import { toast } from "@/lib/toast";import { cn } from "@/lib/utils";-import { useNavigate, useRouterState } from "@tanstack/react-router";import { Check, Eye, EyeOff } from "lucide-react";import { useEffect, useRef, useState } from "react";import {@@ -74,12 +71,11 @@ import { LanguageSelect } from "../components/language-select";import { SettingsRow } from "../components/settings-row";import { SettingsSection } from "../components/settings-section";import { StudioVersionSection } from "../components/studio-version-section";-import { useSettingsDialogStore } from "../stores/settings-dialog-store";import { SETTINGS_PANEL_PREFS_STORAGE_KEY } from "../stores/settings-panel-prefs-store";// Keys cleared by "Reset all local preferences". NEVER include auth/session keys here -- that-// would log the user out or force re-onboarding (unsloth_auth_token, unsloth_auth_refresh_token,-// unsloth_auth_must_change_password, unsloth_onboarding_done are excluded).+// would log the user out (unsloth_auth_token, unsloth_auth_refresh_token, and+// unsloth_auth_must_change_password are excluded).const PREFS_KEYS: string[] = [// Appearance"theme",@@ -138,6 +134,9 @@ const PREFS_KEYS: string[] = [LOADED_MODELS_PREFERENCE_KEYS.dismissed,// Voice settings"unsloth_voice_settings",+ // Retired keys. The onboarding wizard is gone, but installs that ran it still+ // carry its flag, so a reset has to clear it or the orphan outlives the app.+ "unsloth_onboarding_done",];// Set by resetAllPrefs so the unmount-commit effect skips writing back the in-memory draft.@@ -157,29 +156,14 @@ function resetAllPrefs() {export function GeneralTab() {const t = useT();- const navigate = useNavigate();- const closeDialog = useSettingsDialogStore((s) => s.closeDialog);- const { pathname, search } = useRouterState({- select: (s) => ({- pathname: s.location.pathname,- search:- "searchStr" in s.location- ? ((s.location as { searchStr?: string }).searchStr ?? "")- : typeof window !== "undefined"- ? window.location.search- : "",- }),- });const hfToken = useChatRuntimeStore((s) => s.hfToken);const setHfToken = useChatRuntimeStore((s) => s.setHfToken);const hfTokenPersistenceError = useHfTokenStore((s) => s.persistenceError,);- const chatOnly = usePlatformStore((s) => s.chatOnly);const showLlamaUpdates = useShowLlamaUpdateBanner();const showLoadedModels = useShowLoadedModels();- const redirectTo = `${pathname}${search}`;const [draftToken, setDraftToken] = useState(hfToken ?? "");const [showToken, setShowToken] = useState(false);@@ -841,26 +825,6 @@ export function GeneralTab() {</SettingsRow></SettingsSection>- {!chatOnly && (- <SettingsSection title={t("settings.general.gettingStarted")}>- <SettingsRow- label={t("settings.general.startOnboarding")}- description={t("settings.general.startOnboardingDescription")}- >- <Button- variant="outline"- size="sm"- onClick={() => {- resetOnboardingDone();- closeDialog();- navigate({ to: "/onboarding", search: { redirectTo } });- }}- >- {t("settings.general.startOnboardingAction")}- </Button>- </SettingsRow>- </SettingsSection>- )}<SettingsSection title={t("settings.general.helperLlm.sectionTitle")}><SettingsRowdiff --git a/studio/frontend/src/features/studio/index.ts b/studio/frontend/src/features/studio/index.tsdeleted file mode 100644index b184c6f7796..00000000000--- a/studio/frontend/src/features/studio/index.ts+++ /dev/null@@ -1,4 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-only-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0--export { StudioPage } from "./studio-page";diff --git a/studio/frontend/src/features/studio/sections/charts/utils.ts b/studio/frontend/src/features/studio/sections/charts/utils.tsindex 4a4a1f3b48d..d3b2ff3ed32 100644--- a/studio/frontend/src/features/studio/sections/charts/utils.ts+++ b/studio/frontend/src/features/studio/sections/charts/utils.ts@@ -5,7 +5,6 @@ import type { LossHistoryItem, OutlierMode, SmoothedLossItem } from "./types";export const CHART_SYNC_ID = "train-metrics-sync";export const MAX_RENDER_POINTS = 800;-export const DEFAULT_VISIBLE_POINTS = 160;export const CHART_CONTAINER_CLASS = "h-[220px] w-full";export const DEFAULT_CHART_MARGIN = { top: 4, right: 8, bottom: 0, left: 4 };export const DEFAULT_Y_AXIS_WIDTH = 45;diff --git a/studio/frontend/src/features/training/stores/training-config-persistence.ts b/studio/frontend/src/features/training/stores/training-config-persistence.tsindex 283729e2600..1db380371cb 100644--- a/studio/frontend/src/features/training/stores/training-config-persistence.ts+++ b/studio/frontend/src/features/training/stores/training-config-persistence.ts@@ -24,7 +24,7 @@ import {} from "./training-config-policy";export const TRAINING_CONFIG_PERSISTENCE_NAME = "unsloth_training_config_v1";-export const TRAINING_CONFIG_PERSISTENCE_VERSION = 20;+export const TRAINING_CONFIG_PERSISTENCE_VERSION = 21;const NON_PERSISTED_STATE_KEYS: ReadonlySet<keyof TrainingConfigState> =new Set([@@ -226,6 +226,17 @@ function migrateThroughVersion19(}}+function migrateThroughVersion21(+ state: PersistedTrainingConfig,+ version: number,+): void {+ if (version < 21) {+ // currentStep belonged to the onboarding wizard and was persisted, so without+ // this it survives every rehydrate and partialize writes it straight back.+ Reflect.deleteProperty(state, "currentStep");+ }+}+function isDatasetFormat(value: unknown): value is DatasetFormat {return (value === "auto" ||@@ -277,6 +288,7 @@ export function migrateTrainingConfig(migrateThroughVersion17(state, version);migrateThroughVersion18(state, version);migrateThroughVersion19(state, version);+ migrateThroughVersion21(state, version);return state as unknown as TrainingConfigStore;}diff --git a/studio/frontend/src/features/training/stores/training-config-policy.ts b/studio/frontend/src/features/training/stores/training-config-policy.tsindex 12304d7e60d..6732b4b77b5 100644--- a/studio/frontend/src/features/training/stores/training-config-policy.ts+++ b/studio/frontend/src/features/training/stores/training-config-policy.ts@@ -1,21 +1,15 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-import { DEFAULT_HYPERPARAMS, STEPS } from "@/config/training";+import { DEFAULT_HYPERPARAMS } from "@/config/training";import { getLocale, translate } from "@/i18n";-import type { DatasetFormat, StepNumber } from "@/types/training";-import { requiresExplicitCachedDatasetSplit } from "../lib/dataset-split-policy";+import type { DatasetFormat } from "@/types/training";import { isRawTextDatasetFormat } from "../lib/training-methods";-import { validateS3Source } from "../lib/validation";import type {BrowseDatasetSelection,DatasetCacheReferenceOptions,TrainingConfigState,} from "../types/config";--const MIN_STEP: StepNumber = 1;-const MAX_STEP: StepNumber = STEPS.length as StepNumber;-export function emptyManualMapping(): TrainingConfigState["datasetManualMapping"] {return {};}@@ -60,7 +54,6 @@ export function createUploadBrowseDatasetSelection(export const initialTrainingConfigState: TrainingConfigState = {userEditRevision: 0,- currentStep: MIN_STEP,modelType: null,selectedModel: null,modelKnownCached: false,@@ -109,38 +102,6 @@ export const initialTrainingConfigState: TrainingConfigState = {maxPositionEmbeddings: null,...DEFAULT_HYPERPARAMS,};--export function clampTrainingStep(step: number): StepNumber {- return Math.min(MAX_STEP, Math.max(MIN_STEP, step)) as StepNumber;-}--export function canProceedForTrainingStep(state: TrainingConfigState): boolean {- switch (state.currentStep) {- case 1:- return state.modelType !== null;- case 2:- return state.selectedModel !== null;- case 3: {- if (state.datasetSource === "upload") {- return state.uploadedFile !== null;- }- if (state.datasetSource === "s3") {- return validateS3Source(state).ok;- }- return (- state.dataset !== null &&- state.manualDatasetOptionsValid &&- !requiresExplicitCachedDatasetSplit(state)- );- }- case 4:- case 5:- return true;- default:- return false;- }-}-export function hasSeparateStreamingEvalSplit(state: Pick<TrainingConfigState,diff --git a/studio/frontend/src/features/training/stores/training-config-store.ts b/studio/frontend/src/features/training/stores/training-config-store.tsindex 84b1f3a68f0..d7a7bc9b104 100644--- a/studio/frontend/src/features/training/stores/training-config-store.ts+++ b/studio/frontend/src/features/training/stores/training-config-store.ts@@ -50,8 +50,6 @@ import {partializeTrainingConfig,} from "./training-config-persistence";import {- canProceedForTrainingStep,- clampTrainingStep,createHfBrowseDatasetSelection,createUploadBrowseDatasetSelection,datasetSelectionStreamingPatch,@@ -815,34 +813,6 @@ export const useTrainingConfigStore = create<TrainingConfigStore>()(return {...initialTrainingConfigState,- setStep: (step) => set({ currentStep: step }),- nextStep: () =>- set({ currentStep: clampTrainingStep(get().currentStep + 1) }),- prevStep: () =>- set({ currentStep: clampTrainingStep(get().currentStep - 1) }),- setModelType: (modelType) => {- _modelConfigController?.abort();- _modelConfigController = null;-- setUserEdit({- modelType,- selectedModel: null,- modelKnownCached: false,- modelLocalPath: null,- modelFormat: null,- isCheckingVision: false,- isVisionModel: false,- isEmbeddingModel: false,- isAudioModel: false,- audioCapabilityUnknown: false,- isDatasetAudio: false,- isLoadingModelDefaults: false,- modelDefaultsError: null,- modelDefaultsAppliedFor: null,- advancedSettingsBaseline: null,- trainOnCompletionsDefaultPendingFor: null,- });- },setSelectedModel: (selectedModel) => {selectModelInternal(selectedModel, null);},@@ -964,32 +934,6 @@ export const useTrainingConfigStore = create<TrainingConfigStore>()(: {}),});},- setDatasetSource: (datasetSource) => {- const state = get();- if (datasetSource === state.datasetSource) {- const invariantPatch = datasetSourceInvariantPatch(state);- if (invariantPatch.datasetStreaming !== undefined) {- set(invariantPatch);- }- return;- }- if (datasetSource === "s3") {- selectS3SourceInternal();- return;- }- if (- state.datasetSource === "s3" &&- state.browseDatasetSelection.source === datasetSource- ) {- restoreBrowseDatasetSourceInternal();- return;- }- if (datasetSource === "upload") {- selectLocalDatasetInternal(null);- return;- }- selectHfDatasetInternal(null);- },selectHfDataset: selectHfDatasetInternal,selectLocalDataset: selectLocalDatasetInternal,selectS3Source: selectS3SourceInternal,@@ -1236,32 +1180,6 @@ export const useTrainingConfigStore = create<TrainingConfigStore>()(setUserEdit({ datasetSliceStart }),setDatasetSliceEnd: (datasetSliceEnd) =>setUserEdit({ datasetSliceEnd }),- setUploadedFile: (uploadedFile) => {- _datasetCheckController?.abort();- _datasetCheckController = null;- _trainOnCompletionsManuallySet = false;- setUserEdit((state) => ({- uploadedFile,- datasetKnownCached: false,- datasetLocalPath: null,- browseDatasetSelection:- state.datasetSource === "upload"- ? createUploadBrowseDatasetSelection(uploadedFile)- : state.browseDatasetSelection,- datasetCheckFailed: false,- datasetSubset: null,- datasetSplit: null,- datasetEvalSplit: null,- manualDatasetOptionsValid: true,- datasetManualMapping: emptyManualMapping(),- datasetSliceStart: null,- datasetSliceEnd: null,- uploadedEvalFile: null,- isDatasetImage: null,- isDatasetAudio: false,- isCheckingDataset: false,- }));- },setUploadedEvalFile: (uploadedEvalFile) =>setUserEdit({uploadedEvalFile,@@ -1348,7 +1266,6 @@ export const useTrainingConfigStore = create<TrainingConfigStore>()(setUserEdit({ finetuneMLPModules }),setTargetModules: (targetModules) => setUserEdit({ targetModules }),setS3Config: (s3Config) => setUserEdit({ s3Config }),- canProceed: () => canProceedForTrainingStep(get()),reset: () => {trainingDatasetCacheRejections.reset();_trainOnCompletionsManuallySet = false;diff --git a/studio/frontend/src/features/training/types/config.ts b/studio/frontend/src/features/training/types/config.tsindex 9c9292045e3..f55ac2d4b21 100644--- a/studio/frontend/src/features/training/types/config.ts+++ b/studio/frontend/src/features/training/types/config.ts@@ -8,7 +8,6 @@ import type {GradientCheckpointing,ModelType,S3Config,- StepNumber,TrainingMethod,} from "@/types/training";import type { BackendModelConfig } from "../api/models-api";@@ -57,7 +56,6 @@ export type DatasetManualMapping = Record<string, string>;export interface TrainingConfigState {userEditRevision: number;- currentStep: StepNumber;modelType: ModelType | null;selectedModel: string | null;modelKnownCached: boolean;@@ -165,10 +163,6 @@ export type AdvancedSettingsBaseline = Partial<>;export interface TrainingConfigActions {- setStep: (step: StepNumber) => void;- nextStep: () => void;- prevStep: () => void;- setModelType: (type: ModelType) => void;setSelectedModel: (model: string | null) => void;selectTrainingModel: (model: string | null,@@ -198,7 +192,6 @@ export interface TrainingConfigActions {ensureModelDefaultsLoaded: () => void;ensureDatasetChecked: () => void;setTrainingMethod: (method: TrainingMethod) => void;- setDatasetSource: (source: DatasetSource) => void;selectHfDataset: (dataset: string | null,options?: DatasetCacheReferenceOptions,@@ -222,7 +215,6 @@ export interface TrainingConfigActions {}) => void;setDatasetSliceStart: (value: string | null) => void;setDatasetSliceEnd: (value: string | null) => void;- setUploadedFile: (file: string | null) => void;setUploadedEvalFile: (file: string | null) => void;setEpochs: (epochs: number) => void;setContextLength: (length: number) => void;@@ -258,7 +250,6 @@ export interface TrainingConfigActions {setFinetuneMLPModules: (value: boolean) => void;setTargetModules: (value: string[]) => void;setS3Config: (value: S3Config | null) => void;- canProceed: () => boolean;reset: () => void;resetToModelDefaults: () => void;applyConfigPatch: (config: BackendModelConfig) => void;diff --git a/studio/frontend/src/i18n/locales/ar.ts b/studio/frontend/src/i18n/locales/ar.tsindex a3b57cc98cd..7d848f853ef 100644--- a/studio/frontend/src/i18n/locales/ar.ts+++ b/studio/frontend/src/i18n/locales/ar.ts@@ -18,7 +18,6 @@ export const ar = {modelSourceAriaLabel: "مصدر النموذج",hubSectionAriaLabel: "قسم Hub",pickModelFile: "اختيار ملف نموذج من القرص",- ejectLoadedModel: "إخراج النموذج المحمّل",multipleMatches:"توجد عدة نتائج مطابقة ضمن {noun}. اختر نتيجة من القائمة.",rateLimitedTitle: "تم بلوغ حد طلبات Hugging Face",@@ -419,11 +418,6 @@ export const ar = {loadError: "تعذر تحميل إعداد التشغيل عند تسجيل الدخول.",saveError: "تعذر تحديث إعداد التشغيل عند تسجيل الدخول.",},- gettingStarted: "البدء",- startOnboarding: "بدء الإعداد التمهيدي",- startOnboardingDescription:- "إعادة فتح معالج الإعداد دون تغيير حسابك.",- startOnboardingAction: "بدء الإعداد التمهيدي",uploads: {sectionTitle: "عمليات الرفع",maxUploadSize: "الحد الأقصى لحجم رفع مجموعة بيانات التدريب",@@ -1200,24 +1194,8 @@ export const ar = {modelTooltip: "النموذج الأساسي الذي تريد ضبطه.",methodTooltip: "طريقة تدريب النموذج. يحدّث LoRA وQLoRA محوّلات صغيرة بدلاً من جميع الأوزان.",datasetTooltip: "بيانات التدريب المستخدمة لضبط النموذج.",- hfTokenLabel: "رمز Hugging Face",hfTokenDescription:"مطلوب للنماذج ومجموعات البيانات المقيّدة أو الخاصة.",- hfTokenGet: "الحصول على رمز",- hfTokenChecking: "جارٍ التحقق من الرمز…",- modelPickerDescription:- "ابحث في Hugging Face أو اختر نموذجًا قابلًا للتدريب موجودًا على هذا الجهاز.",- trainingMethod: "طريقة التدريب",- trainingMethodDescription: "اختر كيفية الضبط الدقيق لـ {model}",- trainingMethodTooltip:- "يستخدم QLoRA تكميم 4 بت لتقليل استخدام VRAM إلى الحد الأدنى. يستخدم LoRA أوزان 16 بت، بينما يحدّث الضبط الدقيق الكامل جميع الأوزان.",- datasetPickerDescription:- "ابحث في Hugging Face أو اختر مجموعة بيانات موجودة على هذا الجهاز.",- uploadDataset: "تحميل مجموعة بيانات",- uploadDatasetDescription: "يدعم CSV وJSONL وJSON وParquet.",- chooseFile: "اختيار ملف",- format: "التنسيق",- autoDetect: "اكتشاف تلقائي",uploadLocalLabel: "أو حمّل ملفًا محليًا",sourceBrowse: "استعراض",releaseToUpload: "أفلت للتحميل",@@ -1383,23 +1361,6 @@ export const ar = {loadingRuntime: "جارٍ تحميل بيئة تشغيل التدريب...",checkingSupport: "جارٍ التحقق من دعم هذا الجهاز للتدريب...",backToHistory: "العودة إلى السجل",- sections: {- model: "النموذج",- dataset: "مجموعة البيانات",- params: "المعلمات",- training: "التدريب",- charts: "الرسوم البيانية",- progress: "تقدم التدريب",- },- configure: {- title: "الإعداد",- description: "اختر نموذجًا ومجموعة بيانات وإعدادات التدريب.",- startTraining: "بدء التدريب",- starting: "جارٍ البدء...",- loadingModel: "جارٍ تحميل النموذج...",- checkingDataset: "جارٍ التحقق من مجموعة البيانات...",- trainingConfig: "تكوين التدريب",- },dataset: {selectors: {subset: "المجموعة الفرعية",@@ -1422,7 +1383,6 @@ export const ar = {manualTooLong: "استخدم 128 حرفًا أو أقل.",manualInvalid: "تحتوي هذه القيمة على أحرف غير مدعومة.",},- source: "مصدر مجموعة البيانات",sourceAriaLabel: "مصدر مجموعة البيانات",localDataset: "مجموعة بيانات محلية",localDatasetRows: " / عدد الصفوف: {count}",@@ -1439,8 +1399,6 @@ export const ar = {fileTooLarge: "الملف كبير جدًا",fileTooLargeDescription:"حجم {file} هو {size}. تدعم عمليات تحميل بيانات التدريب حجمًا يصل إلى {limit}.",- uploadLimitsHint:- "CSV وJSONL وJSON وParquet · بحد أقصى {limit}؛ PDF/DOCX/TXT ← Learning Recipes",documentRedirect: {title: "يجب تحويل هذا الملف أولًا",genericFile: "هذا الملف",@@ -1525,7 +1483,6 @@ export const ar = {uploadOneFileAtATime: "ارفع ملفًا واحدًا في كل مرة",uploadSingleFileDescription:"لا يمكن رفع أكثر من ملف واحد لمجموعة بيانات التدريب.",- preview: "معاينة مجموعة البيانات",previewLoadingHuggingFace:"جارٍ جلب معاينة مجموعة البيانات من Hugging Face...",previewLoading: "جارٍ تحميل المعاينة...",@@ -1547,8 +1504,6 @@ export const ar = {requiredDescription:"عيّن أدوارًا للأعمدة باستخدام القوائم المنسدلة في الرؤوس. يجب تعيين {required} على الأقل.",},- split: "التقسيم",- subset: "المجموعة الفرعية",s3: {title: "تكوين S3",description:@@ -1559,20 +1514,11 @@ export const ar = {regionPlaceholder: "us-east-1",prefix: "بادئة المسار",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "مسار اختياري داخل الحاوية إلى ملفات مجموعة البيانات",accessKeyId: "معرّف مفتاح الوصول",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "مفتاح الوصول السري",secretAccessKeyPlaceholder: "مفتاح الوصول السري لـ AWS الخاص بك",useIamRole: "استخدام دور IAM",- useIamRoleTooltip:- "استخدم بيانات اعتماد دور IAM بدلاً من مفاتيح الوصول (موصى به لـ EC2/SageMaker)",- testConnection: "اختبار الاتصال",- connectionSuccess: "تم الاتصال بحاوية S3 بنجاح",- connectionFailed: "فشل الاتصال بحاوية S3",- comingSoon: "تكامل S3 قريبًا",- comingSoonDescription:- "يتطلب تحميل مجموعات بيانات S3 مكتبة boto3. هذه الميزة قيد التطوير.",},},params: {@@ -1769,7 +1715,6 @@ export const ar = {"تم حذف العملية، لكن تعذّرت إزالة ملفاتها.",deleteArtifactsRetainedError:"تعذّرت إزالة ملفات المحوّل، لذلك تم الاحتفاظ بعملية التدريب في السجل.",- emptyTitle: "لا توجد عمليات تدريب بعد",emptyDescription:"لا توجد عمليات تدريب بعد. ابدأ أول عملية تدريب في علامة تبويب الإعداد.",loadError: "فشل تحميل عمليات التدريب",@@ -1782,9 +1727,6 @@ export const ar = {deleteTitle: "حذف عملية التدريب؟",deleteDescription:"سيؤدي هذا إلى حذف عملية التدريب هذه وجميع مقاييسها نهائيًا. لا يمكن التراجع عن هذا الإجراء.",- runCount: "{count} عملية",- oneRun: "عملية واحدة",- resume: "استئناف",resumeTraining: "استئناف التدريب",resuming: "جارٍ الاستئناف...",deleteRun: "حذف العملية",@@ -1918,8 +1860,5 @@ export const ar = {datasetStreaming: "مجموعة البيانات: تُقرأ بالتدفّق (من دون تنزيل كامل)",modelWeights: "أوزان النموذج",},- tour: {- guidedTour: "جولة إرشادية",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/de.ts b/studio/frontend/src/i18n/locales/de.tsindex 6c2fa08ab1b..eca29b61705 100644--- a/studio/frontend/src/i18n/locales/de.ts+++ b/studio/frontend/src/i18n/locales/de.ts@@ -18,7 +18,6 @@ export const de = {modelSourceAriaLabel: "Modellquelle",hubSectionAriaLabel: "Hub-Bereich",pickModelFile: "Modelldatei vom Datenträger auswählen",- ejectLoadedModel: "Geladenes Modell auswerfen",multipleMatches:"Mehrere passende {noun} gefunden. Wählen Sie einen Eintrag aus der Liste aus.",rateLimitedTitle: "Hugging Face-Ratenlimit erreicht",@@ -437,11 +436,6 @@ export const de = {saveError:"Die Autostart-Einstellung konnte nicht aktualisiert werden.",},- gettingStarted: "Erste Schritte",- startOnboarding: "Einrichtung starten",- startOnboardingDescription:- "Öffnet den Einrichtungsassistenten erneut, ohne Ihr Konto zu ändern.",- startOnboardingAction: "Einrichtung starten",uploads: {sectionTitle: "Uploads",maxUploadSize: "Upload-Limit für Trainingsdatensätze",@@ -1242,25 +1236,8 @@ export const de = {modelTooltip: "Das Basismodell, das du feinabstimmen möchtest.",methodTooltip: "Wie das Modell trainiert wird. LoRA und QLoRA aktualisieren kleine Adapter statt aller Gewichte.",datasetTooltip: "Die Trainingsdaten für die Feinabstimmung des Modells.",- hfTokenLabel: "Hugging Face-Token",hfTokenDescription:"Erforderlich für zugriffsbeschränkte oder private Modelle und Datensätze.",- hfTokenGet: "Token abrufen",- hfTokenChecking: "Token wird überprüft…",- modelPickerDescription:- "Durchsuche Hugging Face oder wähle ein trainierbares Modell aus, das bereits auf diesem Gerät vorhanden ist.",- trainingMethod: "Trainingsmethode",- trainingMethodDescription: "Wähle aus, wie {model} feinabgestimmt wird",- trainingMethodTooltip:- "QLoRA verwendet 4-Bit-Quantisierung für den niedrigsten VRAM-Verbrauch. LoRA verwendet 16-Bit-Gewichte, während beim vollständigen Fine-Tuning alle Gewichte aktualisiert werden.",- datasetPickerDescription:- "Durchsuche Hugging Face oder wähle einen Datensatz aus, der bereits auf diesem Gerät vorhanden ist.",- uploadDataset: "Datensatz hochladen",- uploadDatasetDescription:- "Unterstützt CSV, JSONL, JSON und Parquet.",- chooseFile: "Datei auswählen",- format: "Format",- autoDetect: "Automatisch erkennen",uploadLocalLabel: "Oder eine lokale Datei hochladen",sourceBrowse: "Durchsuchen",releaseToUpload: "Zum Hochladen loslassen",@@ -1430,24 +1407,6 @@ export const de = {loadingRuntime: "Trainingsumgebung wird geladen...",checkingSupport: "Dieser Rechner wird auf Trainingsunterstützung geprüft...",backToHistory: "Zurück zum Verlauf",- sections: {- model: "Modell",- dataset: "Datensatz",- params: "Parameter",- training: "Training",- charts: "Diagramme",- progress: "Trainingsfortschritt",- },- configure: {- title: "Konfigurieren",- description:- "Wählen Sie ein Modell, einen Datensatz und Trainingseinstellungen.",- startTraining: "Training starten",- starting: "Wird gestartet...",- loadingModel: "Modell wird geladen...",- checkingDataset: "Datensatz wird geprüft...",- trainingConfig: "Trainingskonfiguration",- },dataset: {selectors: {subset: "Teilmenge",@@ -1471,7 +1430,6 @@ export const de = {manualTooLong: "Verwende höchstens 128 Zeichen.",manualInvalid: "Dieser Wert enthält nicht unterstützte Zeichen.",},- source: "Datensatzquelle",sourceAriaLabel: "Datensatzquelle",localDataset: "Lokaler Datensatz",localDatasetRows: " / {count} Zeilen",@@ -1488,8 +1446,6 @@ export const de = {fileTooLarge: "Datei ist zu groß",fileTooLargeDescription:"{file} ist {size} groß. Trainings-Uploads unterstützen bis zu {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · bis zu {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "Diese Datei muss zuerst konvertiert werden",genericFile: "Diese Datei",@@ -1575,7 +1531,6 @@ export const de = {uploadOneFileAtATime: "Laden Sie jeweils eine Datei hoch",uploadSingleFileDescription:"Der Trainingsdatensatz-Upload akzeptiert eine einzelne Datei.",- preview: "Datensatz-Vorschau",previewLoadingHuggingFace:"Datensatzvorschau wird von Hugging Face abgerufen...",previewLoading: "Vorschau wird geladen...",@@ -1597,8 +1552,6 @@ export const de = {requiredDescription:"Weisen Sie den Spalten über die Dropdown-Menüs in den Überschriften Rollen zu. Weisen Sie mindestens {required} zu.",},- split: "Split",- subset: "Teilmenge",s3: {title: "S3-Konfiguration",description:@@ -1609,21 +1562,11 @@ export const de = {regionPlaceholder: "us-east-1",prefix: "Pfad-Präfix",prefixPlaceholder: "datasets/whisper/",- prefixTooltip:- "Optionaler Pfad innerhalb des Buckets zu Ihren Datensatzdateien",accessKeyId: "Access Key ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Secret Access Key",secretAccessKeyPlaceholder: "Ihr AWS Secret Access Key",useIamRole: "IAM-Rolle verwenden",- useIamRoleTooltip:- "Verwenden Sie IAM-Rollen-Anmeldedaten statt Access Keys (empfohlen für EC2/SageMaker)",- testConnection: "Verbindung testen",- connectionSuccess: "Erfolgreich mit S3-Bucket verbunden",- connectionFailed: "Verbindung zum S3-Bucket fehlgeschlagen",- comingSoon: "S3-Integration folgt bald",- comingSoonDescription:- "Das Laden von S3-Datensätzen erfordert boto3. Diese Funktion befindet sich in Entwicklung.",},},params: {@@ -1830,7 +1773,6 @@ export const de = {"Der Lauf wurde gelöscht, seine Dateien konnten jedoch nicht entfernt werden.",deleteArtifactsRetainedError:"Die Adapterdateien konnten nicht entfernt werden. Der Trainingslauf wurde daher im Verlauf beibehalten.",- emptyTitle: "Noch keine Trainingsläufe",emptyDescription:"Noch keine Trainingsläufe. Starten Sie Ihren ersten Trainingslauf im Tab „Konfigurieren“.",loadError: "Trainingsläufe konnten nicht geladen werden",@@ -1844,9 +1786,6 @@ export const de = {deleteTitle: "Trainingslauf löschen?",deleteDescription:"Dadurch werden dieser Trainingslauf und alle seine Metriken dauerhaft gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.",- runCount: "{count} Läufe",- oneRun: "1 Lauf",- resume: "Fortsetzen",resumeTraining: "Training fortsetzen",resuming: "Wird fortgesetzt...",deleteRun: "Lauf löschen",@@ -1985,8 +1924,5 @@ export const de = {datasetStreaming: "Datensatz: Streaming (kein vollständiger Download)",modelWeights: "Modellgewichte",},- tour: {- guidedTour: "Geführte Tour",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/en.ts b/studio/frontend/src/i18n/locales/en.tsindex 1fe7522c86c..dd191d869d4 100644--- a/studio/frontend/src/i18n/locales/en.ts+++ b/studio/frontend/src/i18n/locales/en.ts@@ -14,7 +14,6 @@ export const en = {modelSourceAriaLabel: "Model source",hubSectionAriaLabel: "Hub section",pickModelFile: "Pick a model file from disk",- ejectLoadedModel: "Eject loaded model",multipleMatches: "Multiple matching {noun}. Choose one from the list.",rateLimitedTitle: "Hugging Face rate limit reached",rateLimitedBody: "Wait a moment, then retry searching {noun}.",@@ -419,11 +418,6 @@ export const en = {loadError: "Failed to load the launch at login setting.",saveError: "Failed to update the launch at login setting.",},- gettingStarted: "Getting started",- startOnboarding: "Start onboarding",- startOnboardingDescription:- "Reopen the setup wizard without changing your account.",- startOnboardingAction: "Start onboarding",uploads: {sectionTitle: "Uploads",maxUploadSize: "Training dataset upload cap",@@ -1192,23 +1186,7 @@ export const en = {"How the model is trained. LoRA and QLoRA update small adapters instead of every weight.",datasetLabel: "Dataset",datasetTooltip: "The training data used to fine-tune the model.",- hfTokenLabel: "Hugging Face token",hfTokenDescription: "Required for gated or private models and datasets.",- hfTokenGet: "Get token",- hfTokenChecking: "Checking token…",- modelPickerDescription:- "Search Hugging Face or choose a trainable model already on this device.",- trainingMethod: "Training method",- trainingMethodDescription: "Choose how to fine-tune {model}",- trainingMethodTooltip:- "QLoRA uses 4-bit quantization for the lowest VRAM use. LoRA uses 16-bit weights, while full fine-tuning updates every weight.",- datasetPickerDescription:- "Search Hugging Face or choose a dataset already on this device.",- uploadDataset: "Upload a dataset",- uploadDatasetDescription: "Supports CSV, JSONL, JSON, and Parquet.",- chooseFile: "Choose a file",- format: "Format",- autoDetect: "Auto Detect",uploadLocalLabel: "Or upload a local file",sourceBrowse: "Browse",releaseToUpload: "Release to upload",@@ -1371,23 +1349,6 @@ export const en = {loadingRuntime: "Loading training runtime...",checkingSupport: "Checking this machine for training support...",backToHistory: "Back to history",- sections: {- model: "Model",- dataset: "Dataset",- params: "Parameters",- training: "Training",- charts: "Charts",- progress: "Training Progress",- },- configure: {- title: "Configure",- description: "Choose a model, dataset, and training settings.",- startTraining: "Start Training",- starting: "Starting...",- loadingModel: "Loading model...",- checkingDataset: "Checking dataset...",- trainingConfig: "Training Config",- },dataset: {selectors: {subset: "Subset",@@ -1409,7 +1370,6 @@ export const en = {manualTooLong: "Use 128 characters or fewer.",manualInvalid: "This value contains unsupported characters.",},- source: "Dataset source",sourceAriaLabel: "Dataset source",localDataset: "Local dataset",localDatasetRows: " / {count} rows",@@ -1426,8 +1386,6 @@ export const en = {fileTooLarge: "File too large",fileTooLargeDescription:"{file} is {size}. Training uploads support up to {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · up to {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "This file needs conversion first",genericFile: "This file",@@ -1509,7 +1467,6 @@ export const en = {uploadOneFileAtATime: "Upload one file at a time",uploadSingleFileDescription:"Training dataset upload accepts a single file.",- preview: "Preview dataset",previewLoadingHuggingFace:"Fetching dataset preview from Hugging Face...",previewLoading: "Loading preview...",@@ -1531,8 +1488,6 @@ export const en = {requiredDescription:"Assign roles to columns using the dropdowns in the headers. At minimum, assign {required}.",},- split: "Split",- subset: "Subset",s3: {title: "S3 Configuration",description:@@ -1543,20 +1498,11 @@ export const en = {regionPlaceholder: "us-east-1",prefix: "Path Prefix",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "Optional path within the bucket to your dataset files",accessKeyId: "Access Key ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Secret Access Key",secretAccessKeyPlaceholder: "Your AWS secret access key",useIamRole: "Use IAM Role",- useIamRoleTooltip:- "Use IAM role credentials instead of access keys (recommended for EC2/SageMaker)",- testConnection: "Test Connection",- connectionSuccess: "Successfully connected to S3 bucket",- connectionFailed: "Failed to connect to S3 bucket",- comingSoon: "S3 integration coming soon",- comingSoonDescription:- "S3 dataset loading requires boto3. This feature is under development.",},},params: {@@ -1752,7 +1698,6 @@ export const en = {"The run was deleted but its files could not be removed.",deleteArtifactsRetainedError:"The adapter files could not be removed, so the training run was kept in history.",- emptyTitle: "No training runs yet",emptyDescription:"No training runs yet. Start your first training run in the Configure tab.",loadError: "Failed to load training runs",@@ -1765,9 +1710,6 @@ export const en = {deleteTitle: "Delete training run?",deleteDescription:"This will permanently delete this training run and all its metrics. This action cannot be undone.",- runCount: "{count} runs",- oneRun: "1 run",- resume: "Resume",resumeTraining: "Resume training",resuming: "Resuming...",deleteRun: "Delete run",@@ -1901,8 +1843,5 @@ export const en = {datasetStreaming: "Dataset: streaming (no full download)",modelWeights: "Model weights",},- tour: {- guidedTour: "Guided Tour",- },},} as const;diff --git a/studio/frontend/src/i18n/locales/es.ts b/studio/frontend/src/i18n/locales/es.tsindex fdf917fbccc..5183275b583 100644--- a/studio/frontend/src/i18n/locales/es.ts+++ b/studio/frontend/src/i18n/locales/es.ts@@ -18,7 +18,6 @@ export const es = {modelSourceAriaLabel: "Origen del modelo",hubSectionAriaLabel: "Sección del Hub",pickModelFile: "Elegir un archivo de modelo del disco",- ejectLoadedModel: "Expulsar el modelo cargado",multipleMatches:"Hay varios {noun} coincidentes. Elige uno de la lista.",rateLimitedTitle: "Se alcanzó el límite de solicitudes de Hugging Face",@@ -432,11 +431,6 @@ export const es = {loadError: "No se pudo cargar el ajuste de inicio automático.",saveError: "No se pudo actualizar el ajuste de inicio automático.",},- gettingStarted: "Primeros pasos",- startOnboarding: "Iniciar la configuración inicial",- startOnboardingDescription:- "Reabre el asistente de configuración sin cambiar tu cuenta.",- startOnboardingAction: "Iniciar la configuración inicial",uploads: {sectionTitle: "Subidas",maxUploadSize: "Límite de subida del conjunto de datos de entrenamiento",@@ -1234,25 +1228,8 @@ export const es = {modelTooltip: "El modelo base que quieres ajustar.",methodTooltip: "Cómo se entrena el modelo. LoRA y QLoRA actualizan adaptadores pequeños en lugar de todos los pesos.",datasetTooltip: "Los datos de entrenamiento usados para ajustar el modelo.",- hfTokenLabel: "Token de Hugging Face",hfTokenDescription:"Necesario para modelos y conjuntos de datos restringidos o privados.",- hfTokenGet: "Obtener token",- hfTokenChecking: "Comprobando token…",- modelPickerDescription:- "Busca en Hugging Face o elige un modelo entrenable que ya esté en este dispositivo.",- trainingMethod: "Método de entrenamiento",- trainingMethodDescription: "Elige cómo ajustar {model}",- trainingMethodTooltip:- "QLoRA utiliza cuantización de 4 bits para minimizar el uso de VRAM. LoRA utiliza pesos de 16 bits, mientras que el ajuste completo actualiza todos los pesos.",- datasetPickerDescription:- "Busca en Hugging Face o elige un conjunto de datos que ya esté en este dispositivo.",- uploadDataset: "Subir un conjunto de datos",- uploadDatasetDescription:- "Compatible con CSV, JSONL, JSON y Parquet.",- chooseFile: "Elegir un archivo",- format: "Formato",- autoDetect: "Detección automática",uploadLocalLabel: "O sube un archivo local",sourceBrowse: "Explorar",releaseToUpload: "Suelta para subir",@@ -1421,24 +1398,6 @@ export const es = {loadingRuntime: "Cargando entorno de entrenamiento...",checkingSupport: "Comprobando si este equipo admite entrenamiento...",backToHistory: "Volver al historial",- sections: {- model: "Modelo",- dataset: "Conjunto de datos",- params: "Parámetros",- training: "Entrenamiento",- charts: "Gráficas",- progress: "Progreso del entrenamiento",- },- configure: {- title: "Configurar",- description:- "Elige un modelo, un conjunto de datos y la configuración de entrenamiento.",- startTraining: "Iniciar entrenamiento",- starting: "Iniciando...",- loadingModel: "Cargando modelo...",- checkingDataset: "Comprobando conjunto de datos...",- trainingConfig: "Configuración de entrenamiento",- },dataset: {selectors: {subset: "Subconjunto",@@ -1463,7 +1422,6 @@ export const es = {manualTooLong: "Usa 128 caracteres o menos.",manualInvalid: "Este valor contiene caracteres no compatibles.",},- source: "Origen del conjunto de datos",sourceAriaLabel: "Origen del conjunto de datos",localDataset: "Conjunto de datos local",localDatasetRows: " / {count} filas",@@ -1480,8 +1438,6 @@ export const es = {fileTooLarge: "El archivo es demasiado grande",fileTooLargeDescription:"{file} ocupa {size}. Las cargas de entrenamiento admiten hasta {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · hasta {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "Este archivo debe convertirse primero",genericFile: "Este archivo",@@ -1569,7 +1525,6 @@ export const es = {uploadOneFileAtATime: "Sube un archivo a la vez",uploadSingleFileDescription:"La subida del conjunto de datos de entrenamiento acepta un solo archivo.",- preview: "Vista previa del conjunto de datos",previewLoadingHuggingFace:"Obteniendo la vista previa del conjunto de datos desde Hugging Face...",previewLoading: "Cargando vista previa...",@@ -1591,8 +1546,6 @@ export const es = {requiredDescription:"Asigna roles a las columnas con los menús desplegables de los encabezados. Como mínimo, asigna {required}.",},- split: "Partición",- subset: "Subconjunto",s3: {title: "Configuración de S3",description:@@ -1603,21 +1556,11 @@ export const es = {regionPlaceholder: "us-east-1",prefix: "Prefijo de ruta",prefixPlaceholder: "datasets/whisper/",- prefixTooltip:- "Ruta opcional dentro del bucket hacia los archivos de tu conjunto de datos",accessKeyId: "ID de clave de acceso",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Clave de acceso secreta",secretAccessKeyPlaceholder: "Tu clave de acceso secreta de AWS",useIamRole: "Usar rol de IAM",- useIamRoleTooltip:- "Usa credenciales de rol de IAM en lugar de claves de acceso (recomendado para EC2/SageMaker)",- testConnection: "Probar conexión",- connectionSuccess: "Conexión al bucket de S3 exitosa",- connectionFailed: "No se pudo conectar al bucket de S3",- comingSoon: "Integración con S3 próximamente",- comingSoonDescription:- "La carga de conjuntos de datos desde S3 requiere boto3. Esta función está en desarrollo.",},},params: {@@ -1825,7 +1768,6 @@ export const es = {"Se eliminó la ejecución, pero no se pudieron borrar sus archivos.",deleteArtifactsRetainedError:"No se pudieron eliminar los archivos del adaptador, por lo que la ejecución se conservó en el historial.",- emptyTitle: "Aún no hay ejecuciones de entrenamiento",emptyDescription:"Aún no hay ejecuciones de entrenamiento. Inicia tu primera ejecución en la pestaña Configurar.",loadError: "No se pudieron cargar las ejecuciones de entrenamiento",@@ -1839,9 +1781,6 @@ export const es = {deleteTitle: "¿Eliminar ejecución de entrenamiento?",deleteDescription:"Esto eliminará permanentemente esta ejecución de entrenamiento y todas sus métricas. Esta acción no se puede deshacer.",- runCount: "{count} ejecuciones",- oneRun: "1 ejecución",- resume: "Reanudar",resumeTraining: "Reanudar entrenamiento",resuming: "Reanudando...",deleteRun: "Eliminar ejecución",@@ -1982,8 +1921,5 @@ export const es = {"Conjunto de datos: streaming (sin descarga completa)",modelWeights: "Pesos del modelo",},- tour: {- guidedTour: "Recorrido guiado",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/fr.ts b/studio/frontend/src/i18n/locales/fr.tsindex db6963ee3c1..b9cb954171d 100644--- a/studio/frontend/src/i18n/locales/fr.ts+++ b/studio/frontend/src/i18n/locales/fr.ts@@ -18,7 +18,6 @@ export const fr = {modelSourceAriaLabel: "Source du modèle",hubSectionAriaLabel: "Section du Hub",pickModelFile: "Choisir un fichier de modèle sur le disque",- ejectLoadedModel: "Éjecter le modèle chargé",multipleMatches:"Plusieurs {noun} correspondent. Choisissez-en un dans la liste.",rateLimitedTitle: "Limite de requêtes Hugging Face atteinte",@@ -436,11 +435,6 @@ export const fr = {saveError:"Impossible de mettre à jour le réglage de lancement à la connexion.",},- gettingStarted: "Prise en main",- startOnboarding: "Démarrer la prise en main",- startOnboardingDescription:- "Rouvrir l'assistant de configuration sans modifier votre compte.",- startOnboardingAction: "Démarrer la prise en main",uploads: {sectionTitle: "Téléversements",maxUploadSize: "Limite de téléversement du jeu de données d'entraînement",@@ -1244,25 +1238,8 @@ export const fr = {modelTooltip: "Le modèle de base que vous souhaitez affiner.",methodTooltip: "Comment le modèle est entraîné. LoRA et QLoRA mettent à jour de petits adaptateurs au lieu de tous les poids.",datasetTooltip: "Les données d'entraînement utilisées pour affiner le modèle.",- hfTokenLabel: "Jeton Hugging Face",hfTokenDescription:"Nécessaire pour les modèles et jeux de données restreints ou privés.",- hfTokenGet: "Obtenir un jeton",- hfTokenChecking: "Vérification du jeton…",- modelPickerDescription:- "Recherchez sur Hugging Face ou choisissez un modèle entraînable déjà présent sur cet appareil.",- trainingMethod: "Méthode d'entraînement",- trainingMethodDescription: "Choisissez comment affiner {model}",- trainingMethodTooltip:- "QLoRA utilise une quantification 4 bits pour réduire au minimum l'utilisation de la VRAM. LoRA utilise des poids 16 bits, tandis que l'affinage complet met à jour tous les poids.",- datasetPickerDescription:- "Recherchez sur Hugging Face ou choisissez un jeu de données déjà présent sur cet appareil.",- uploadDataset: "Téléverser un jeu de données",- uploadDatasetDescription:- "Prend en charge CSV, JSONL, JSON et Parquet.",- chooseFile: "Choisir un fichier",- format: "Format",- autoDetect: "Détection automatique",uploadLocalLabel: "Ou téléverser un fichier local",sourceBrowse: "Parcourir",releaseToUpload: "Relâchez pour téléverser",@@ -1432,24 +1409,6 @@ export const fr = {loadingRuntime: "Chargement de l'environnement d'entraînement...",checkingSupport: "Vérification de la prise en charge de l'entraînement sur cette machine...",backToHistory: "Retour à l'historique",- sections: {- model: "Modèle",- dataset: "Jeu de données",- params: "Paramètres",- training: "Entraînement",- charts: "Graphiques",- progress: "Progression de l'entraînement",- },- configure: {- title: "Configurer",- description:- "Choisissez un modèle, un jeu de données et les paramètres d'entraînement.",- startTraining: "Démarrer l'entraînement",- starting: "Démarrage...",- loadingModel: "Chargement du modèle...",- checkingDataset: "Vérification du jeu de données...",- trainingConfig: "Configuration d'entraînement",- },dataset: {selectors: {subset: "Sous-ensemble",@@ -1474,7 +1433,6 @@ export const fr = {manualTooLong: "Utilisez au maximum 128 caractères.",manualInvalid: "Cette valeur contient des caractères non pris en charge.",},- source: "Source du jeu de données",sourceAriaLabel: "Source du jeu de données",localDataset: "Jeu de données local",localDatasetRows: " / {count} lignes",@@ -1491,8 +1449,6 @@ export const fr = {fileTooLarge: "Fichier trop volumineux",fileTooLargeDescription:"{file} fait {size}. Les téléversements d’entraînement sont limités à {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · jusqu’à {limit} ; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "Ce fichier doit d’abord être converti",genericFile: "Ce fichier",@@ -1582,7 +1538,6 @@ export const fr = {uploadOneFileAtATime: "Téléversez un fichier à la fois",uploadSingleFileDescription:"Le téléversement du jeu de données d'entraînement accepte un seul fichier.",- preview: "Aperçu du jeu de données",previewLoadingHuggingFace:"Récupération de l’aperçu du jeu de données depuis Hugging Face...",previewLoading: "Chargement de l’aperçu...",@@ -1604,8 +1559,6 @@ export const fr = {requiredDescription:"Attribuez des rôles aux colonnes à l’aide des menus des en-têtes. Attribuez au minimum {required}.",},- split: "Split",- subset: "Sous-ensemble",s3: {title: "Configuration S3",description:@@ -1616,21 +1569,11 @@ export const fr = {regionPlaceholder: "us-east-1",prefix: "Préfixe de chemin",prefixPlaceholder: "datasets/whisper/",- prefixTooltip:- "Chemin facultatif dans le bucket vers vos fichiers de jeu de données",accessKeyId: "ID de clé d'accès",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Clé d'accès secrète",secretAccessKeyPlaceholder: "Votre clé d'accès secrète AWS",useIamRole: "Utiliser un rôle IAM",- useIamRoleTooltip:- "Utiliser les identifiants d'un rôle IAM au lieu de clés d'accès (recommandé pour EC2/SageMaker)",- testConnection: "Tester la connexion",- connectionSuccess: "Connexion au bucket S3 réussie",- connectionFailed: "Échec de la connexion au bucket S3",- comingSoon: "Intégration S3 bientôt disponible",- comingSoonDescription:- "Le chargement de jeux de données S3 nécessite boto3. Cette fonctionnalité est en cours de développement.",},},params: {@@ -1824,7 +1767,6 @@ export const fr = {},history: {title: "Historique",- emptyTitle: "Aucun entraînement pour le moment",emptyDescription:"Aucun entraînement pour le moment. Démarrez votre premier entraînement dans l'onglet Configurer.",loadError: "Échec du chargement des entraînements",@@ -1853,9 +1795,6 @@ export const fr = {"L'exécution a été supprimée, mais ses fichiers n'ont pas pu être effacés.",deleteArtifactsRetainedError:"Les fichiers d’adaptateur n’ont pas pu être supprimés. L’entraînement a donc été conservé dans l’historique.",- runCount: "{count} entraînements",- oneRun: "1 entraînement",- resume: "Reprendre",resumeTraining: "Reprendre l'entraînement",resuming: "Reprise...",deleteRun: "Supprimer l'entraînement",@@ -1994,8 +1933,5 @@ export const fr = {datasetStreaming: "Jeu de données : streaming (pas de téléchargement complet)",modelWeights: "Poids du modèle",},- tour: {- guidedTour: "Visite guidée",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/hi.ts b/studio/frontend/src/i18n/locales/hi.tsindex dda49846b66..9cfec815fbc 100644--- a/studio/frontend/src/i18n/locales/hi.ts+++ b/studio/frontend/src/i18n/locales/hi.ts@@ -18,7 +18,6 @@ export const hi = {modelSourceAriaLabel: "मॉडल स्रोत",hubSectionAriaLabel: "Hub सेक्शन",pickModelFile: "डिस्क से मॉडल फ़ाइल चुनें",- ejectLoadedModel: "लोड किया गया मॉडल इजेक्ट करें",multipleMatches:"एक से अधिक मेल खाते {noun} मिले। सूची में से एक चुनें।",rateLimitedTitle: "Hugging Face की अनुरोध सीमा पूरी हो गई",@@ -422,11 +421,6 @@ export const hi = {loadError: "लॉगिन पर चलाने की सेटिंग लोड नहीं हो सकी।",saveError: "लॉगिन पर चलाने की सेटिंग अपडेट नहीं हो सकी।",},- gettingStarted: "शुरुआत करें",- startOnboarding: "ऑनबोर्डिंग शुरू करें",- startOnboardingDescription:- "अपना खाता बदले बिना सेटअप विज़ार्ड फिर से खोलें।",- startOnboardingAction: "ऑनबोर्डिंग शुरू करें",uploads: {sectionTitle: "अपलोड",maxUploadSize: "ट्रेनिंग डेटासेट अपलोड सीमा",@@ -1208,24 +1202,8 @@ export const hi = {modelTooltip: "वह बेस मॉडल जिसे आप फ़ाइन-ट्यून करना चाहते हैं।",methodTooltip: "मॉडल को कैसे ट्रेन किया जाता है। LoRA और QLoRA सभी वेट्स के बजाय छोटे अडैप्टर अपडेट करते हैं।",datasetTooltip: "मॉडल को फ़ाइन-ट्यून करने के लिए उपयोग किया जाने वाला ट्रेनिंग डेटा।",- hfTokenLabel: "Hugging Face टोकन",hfTokenDescription:"गेटेड या निजी मॉडल और डेटासेट के लिए आवश्यक।",- hfTokenGet: "टोकन प्राप्त करें",- hfTokenChecking: "टोकन की जाँच हो रही है…",- modelPickerDescription:- "Hugging Face पर खोजें या इस डिवाइस पर पहले से मौजूद ट्रेनिंग योग्य मॉडल चुनें।",- trainingMethod: "ट्रेनिंग विधि",- trainingMethodDescription: "{model} को फ़ाइन-ट्यून करने का तरीका चुनें",- trainingMethodTooltip:- "QLoRA न्यूनतम VRAM उपयोग के लिए 4-बिट क्वांटाइज़ेशन का उपयोग करता है। LoRA 16-बिट वेट का उपयोग करता है, जबकि पूर्ण फ़ाइन-ट्यूनिंग हर वेट को अपडेट करती है।",- datasetPickerDescription:- "Hugging Face पर खोजें या इस डिवाइस पर पहले से मौजूद डेटासेट चुनें।",- uploadDataset: "डेटासेट अपलोड करें",- uploadDatasetDescription: "CSV, JSONL, JSON और Parquet समर्थित हैं।",- chooseFile: "फ़ाइल चुनें",- format: "फ़ॉर्मैट",- autoDetect: "स्वतः पहचान",uploadLocalLabel: "या कोई स्थानीय फ़ाइल अपलोड करें",sourceBrowse: "ब्राउज़ करें",releaseToUpload: "अपलोड करने के लिए छोड़ें",@@ -1392,23 +1370,6 @@ export const hi = {loadingRuntime: "ट्रेनिंग रनटाइम लोड हो रहा है...",checkingSupport: "इस मशीन पर ट्रेनिंग सपोर्ट की जाँच हो रही है...",backToHistory: "इतिहास पर वापस जाएं",- sections: {- model: "मॉडल",- dataset: "डेटासेट",- params: "पैरामीटर",- training: "ट्रेनिंग",- charts: "चार्ट",- progress: "ट्रेनिंग प्रगति",- },- configure: {- title: "कॉन्फ़िगर करें",- description: "एक मॉडल, डेटासेट, और ट्रेनिंग सेटिंग्स चुनें।",- startTraining: "ट्रेनिंग शुरू करें",- starting: "शुरू हो रहा है...",- loadingModel: "मॉडल लोड हो रहा है...",- checkingDataset: "डेटासेट जांचा जा रहा है...",- trainingConfig: "ट्रेनिंग कॉन्फ़िग",- },dataset: {selectors: {subset: "सबसेट",@@ -1430,7 +1391,6 @@ export const hi = {manualTooLong: "128 या उससे कम वर्णों का उपयोग करें।",manualInvalid: "इस मान में असमर्थित वर्ण हैं।",},- source: "डेटासेट स्रोत",sourceAriaLabel: "डेटासेट स्रोत",localDataset: "स्थानीय डेटासेट",localDatasetRows: " / {count} पंक्तियां",@@ -1447,8 +1407,6 @@ export const hi = {fileTooLarge: "फ़ाइल बहुत बड़ी है",fileTooLargeDescription:"{file} का आकार {size} है। ट्रेनिंग अपलोड की अधिकतम सीमा {limit} है।",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · अधिकतम {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "इस फ़ाइल को पहले रूपांतरित करना होगा",genericFile: "यह फ़ाइल",@@ -1533,7 +1491,6 @@ export const hi = {uploadOneFileAtATime: "एक बार में एक फ़ाइल अपलोड करें",uploadSingleFileDescription:"ट्रेनिंग डेटासेट अपलोड एक ही फ़ाइल स्वीकार करता है।",- preview: "डेटासेट का पूर्वावलोकन करें",previewLoadingHuggingFace:"Hugging Face से डेटासेट पूर्वावलोकन प्राप्त किया जा रहा है...",previewLoading: "पूर्वावलोकन लोड हो रहा है...",@@ -1554,8 +1511,6 @@ export const hi = {requiredDescription:"हेडर के ड्रॉपडाउन का उपयोग करके कॉलम को भूमिकाएँ दें। कम से कम {required} असाइन करें।",},- split: "स्प्लिट",- subset: "उपसमूह",s3: {title: "S3 कॉन्फ़िगरेशन",description:@@ -1566,20 +1521,11 @@ export const hi = {regionPlaceholder: "us-east-1",prefix: "पथ प्रीफ़िक्स",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "बकेट में आपकी डेटासेट फ़ाइलों का वैकल्पिक पथ",accessKeyId: "एक्सेस Key ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "सीक्रेट एक्सेस Key",secretAccessKeyPlaceholder: "आपकी AWS सीक्रेट एक्सेस key",useIamRole: "IAM Role का उपयोग करें",- useIamRoleTooltip:- "एक्सेस keys के बजाय IAM role क्रेडेंशियल का उपयोग करें (EC2/SageMaker के लिए अनुशंसित)",- testConnection: "कनेक्शन जांचें",- connectionSuccess: "S3 बकेट से सफलतापूर्वक कनेक्ट हुआ",- connectionFailed: "S3 बकेट से कनेक्ट करने में विफल",- comingSoon: "S3 एकीकरण जल्द आ रहा है",- comingSoonDescription:- "S3 डेटासेट लोडिंग के लिए boto3 आवश्यक है। यह सुविधा विकासाधीन है।",},},params: {@@ -1776,7 +1722,6 @@ export const hi = {"रन हटा दिया गया, लेकिन उसकी फ़ाइलें नहीं हटाई जा सकीं।",deleteArtifactsRetainedError:"अडैप्टर फ़ाइलें नहीं हटाई जा सकीं, इसलिए ट्रेनिंग रन को इतिहास में रखा गया है।",- emptyTitle: "अभी तक कोई ट्रेनिंग रन नहीं",emptyDescription:"अभी तक कोई ट्रेनिंग रन नहीं। कॉन्फ़िगर टैब में अपना पहला ट्रेनिंग रन शुरू करें।",loadError: "ट्रेनिंग रन लोड करने में विफल",@@ -1789,9 +1734,6 @@ export const hi = {deleteTitle: "ट्रेनिंग रन हटाएं?",deleteDescription:"यह इस ट्रेनिंग रन और इसके सभी मेट्रिक्स को स्थायी रूप से हटा देगा। इस कार्रवाई को पूर्ववत नहीं किया जा सकता।",- runCount: "{count} रन",- oneRun: "1 रन",- resume: "फिर से शुरू करें",resumeTraining: "ट्रेनिंग फिर से शुरू करें",resuming: "फिर से शुरू हो रहा है...",deleteRun: "रन हटाएं",@@ -1925,8 +1867,5 @@ export const hi = {datasetStreaming: "डेटासेट: स्ट्रीमिंग (कोई पूर्ण डाउनलोड नहीं)",modelWeights: "मॉडल वेट्स",},- tour: {- guidedTour: "गाइडेड टूर",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/it.ts b/studio/frontend/src/i18n/locales/it.tsindex ddb11e3a67b..9d3221d6bcd 100644--- a/studio/frontend/src/i18n/locales/it.ts+++ b/studio/frontend/src/i18n/locales/it.ts@@ -410,11 +410,6 @@ export const it = {saveError:"Impossibile aggiornare l'impostazione di avvio all'accesso.",},- gettingStarted: "Per iniziare",- startOnboarding: "Avvia la configurazione guidata",- startOnboardingDescription:- "Riapri la procedura di configurazione senza modificare il tuo account.",- startOnboardingAction: "Avvia la configurazione guidata",uploads: {sectionTitle: "Caricamenti",maxUploadSize: "Limite di caricamento del dataset di addestramento",@@ -1205,7 +1200,6 @@ export const it = {modelSourceAriaLabel: "Origine del modello",hubSectionAriaLabel: "Sezione Hub",pickModelFile: "Scegli un file del modello dal disco",- ejectLoadedModel: "Espelli il modello caricato",multipleMatches:"Sono stati trovati più {noun} corrispondenti. Scegline uno dall'elenco.",rateLimitedTitle: "Limite di richieste di Hugging Face raggiunto",@@ -1243,25 +1237,8 @@ export const it = {datasetLabel: "Dataset",datasetTooltip:"I dati di addestramento usati per il fine-tuning del modello.",- hfTokenLabel: "Token Hugging Face",hfTokenDescription:"Necessario per modelli e dataset privati o con accesso limitato.",- hfTokenGet: "Ottieni un token",- hfTokenChecking: "Verifica del token…",- modelPickerDescription:- "Cerca su Hugging Face o scegli un modello addestrabile già presente su questo dispositivo.",- trainingMethod: "Metodo di addestramento",- trainingMethodDescription:- "Scegli come eseguire il fine-tuning di {model}",- trainingMethodTooltip:- "QLoRA usa la quantizzazione a 4 bit per ridurre al minimo l'uso della VRAM. LoRA usa pesi a 16 bit, mentre il fine-tuning completo aggiorna tutti i pesi.",- datasetPickerDescription:- "Cerca su Hugging Face o scegli un dataset già presente su questo dispositivo.",- uploadDataset: "Carica un dataset",- uploadDatasetDescription: "Supporta CSV, JSONL, JSON e Parquet.",- chooseFile: "Scegli un file",- format: "Formato",- autoDetect: "Rilevamento automatico",uploadLocalLabel: "Oppure carica un file locale",sourceBrowse: "Sfoglia",releaseToUpload: "Rilascia per caricare",@@ -1431,23 +1408,6 @@ export const it = {loadingRuntime: "Caricamento del runtime di addestramento...",checkingSupport: "Verifica del supporto all'addestramento su questa macchina...",backToHistory: "Torna alla cronologia",- sections: {- model: "Modello",- dataset: "Dataset",- params: "Parametri",- training: "Addestramento",- charts: "Grafici",- progress: "Avanzamento dell'addestramento",- },- configure: {- title: "Configura",- description: "Scegli modello, dataset e impostazioni di addestramento.",- startTraining: "Avvia l'addestramento",- starting: "Avvio...",- loadingModel: "Caricamento del modello...",- checkingDataset: "Verifica del dataset...",- trainingConfig: "Configurazione di addestramento",- },dataset: {selectors: {subset: "Sottoinsieme",@@ -1471,7 +1431,6 @@ export const it = {manualTooLong: "Usa al massimo 128 caratteri.",manualInvalid: "Questo valore contiene caratteri non supportati.",},- source: "Origine del dataset",sourceAriaLabel: "Origine del dataset",streamingInfoAriaLabel: "Informazioni sullo streaming del dataset",uploadDetails: "Dettagli del caricamento",@@ -1480,8 +1439,6 @@ export const it = {fileTooLarge: "File troppo grande",fileTooLargeDescription:"{file} occupa {size}. I caricamenti per l'addestramento supportano fino a {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · fino a {limit}; PDF/DOCX/TXT → Ricette di apprendimento",documentRedirect: {title: "Questo file deve prima essere convertito",genericFile: "Questo file",@@ -1552,9 +1509,6 @@ export const it = {uploadOneFileAtATime: "Carica un file alla volta",uploadSingleFileDescription:"Puoi caricare un solo file come dataset di addestramento.",- preview: "Anteprima del dataset",- split: "Split",- subset: "Sottoinsieme",streaming: {label: "Attiva lo streaming",description:@@ -1609,21 +1563,11 @@ export const it = {regionPlaceholder: "us-east-1",prefix: "Prefisso del percorso",prefixPlaceholder: "datasets/whisper/",- prefixTooltip:- "Percorso facoltativo dei file del dataset all'interno del bucket",accessKeyId: "ID chiave di accesso",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Chiave di accesso segreta",secretAccessKeyPlaceholder: "La tua chiave di accesso segreta AWS",useIamRole: "Usa un ruolo IAM",- useIamRoleTooltip:- "Usa le credenziali di un ruolo IAM invece delle chiavi di accesso (consigliato su EC2/SageMaker)",- testConnection: "Prova la connessione",- connectionSuccess: "Connessione al bucket S3 riuscita",- connectionFailed: "Connessione al bucket S3 non riuscita",- comingSoon: "Integrazione S3 in arrivo",- comingSoonDescription:- "Il caricamento dei dataset da S3 richiede boto3. La funzione è in fase di sviluppo.",},},params: {@@ -1828,7 +1772,6 @@ export const it = {deleteArtifactsRetainedError:"Non è stato possibile rimuovere i file dell’adattatore, quindi il run è stato mantenuto nella cronologia.",title: "Cronologia",- emptyTitle: "Nessun run di addestramento",emptyDescription:"Nessun run di addestramento. Avvia il tuo primo run nella scheda Configura.",loadError: "Impossibile caricare i run di addestramento",@@ -1841,9 +1784,6 @@ export const it = {deleteTitle: "Eliminare il run di addestramento?",deleteDescription:"Questo run di addestramento e tutte le sue metriche verranno eliminati definitivamente. L'operazione è irreversibile.",- runCount: "{count} run",- oneRun: "1 run",- resume: "Riprendi",resumeTraining: "Riprendi l'addestramento",resuming: "Ripresa in corso...",deleteRun: "Elimina il run",@@ -1982,8 +1922,5 @@ export const it = {datasetStreaming: "Dataset: in streaming (nessun download completo)",modelWeights: "Pesi del modello",},- tour: {- guidedTour: "Tour guidato",- },},} as const;diff --git a/studio/frontend/src/i18n/locales/ja.ts b/studio/frontend/src/i18n/locales/ja.tsindex 9a27112d532..38838f86be4 100644--- a/studio/frontend/src/i18n/locales/ja.ts+++ b/studio/frontend/src/i18n/locales/ja.ts@@ -19,7 +19,6 @@ export const ja = {modelSourceAriaLabel: "モデルのソース",hubSectionAriaLabel: "Hub セクション",pickModelFile: "ディスクからモデルファイルを選択",- ejectLoadedModel: "読み込み済みモデルをアンロード",multipleMatches:"一致する{noun}が複数あります。リストから1つ選択してください。",rateLimitedTitle: "Hugging Face のレート制限に達しました",@@ -409,10 +408,6 @@ export const ja = {loadError: "ログイン時起動の設定を読み込めませんでした。",saveError: "ログイン時起動の設定を更新できませんでした。",},- gettingStarted: "はじめに",- startOnboarding: "オンボーディングを開始",- startOnboardingDescription: "アカウントを変更せずにセットアップウィザードを再開します。",- startOnboardingAction: "オンボーディングを開始",uploads: {sectionTitle: "アップロード",maxUploadSize: "トレーニングデータセットのアップロード容量制限",@@ -1172,25 +1167,8 @@ export const ja = {modelTooltip: "ファインチューニングするベースモデルです。",methodTooltip: "モデルの学習方法です。LoRA と QLoRA はすべての重みではなく小さなアダプターを更新します。",datasetTooltip: "モデルのファインチューニングに使う学習データです。",- hfTokenLabel: "Hugging Face トークン",hfTokenDescription:"アクセス制限付きまたは非公開のモデルとデータセットに必要です。",- hfTokenGet: "トークンを取得",- hfTokenChecking: "トークンを確認中…",- modelPickerDescription:- "Hugging Face を検索するか、このデバイス上のトレーニング可能なモデルを選択します。",- trainingMethod: "トレーニング方法",- trainingMethodDescription: "{model} のファインチューニング方法を選択",- trainingMethodTooltip:- "QLoRA は 4 ビット量子化により VRAM 使用量を最小限に抑えます。LoRA は 16 ビットの重みを使用し、フルファインチューニングはすべての重みを更新します。",- datasetPickerDescription:- "Hugging Face を検索するか、このデバイス上のデータセットを選択します。",- uploadDataset: "データセットをアップロード",- uploadDatasetDescription:- "CSV、JSONL、JSON、Parquet に対応しています。",- chooseFile: "ファイルを選択",- format: "形式",- autoDetect: "自動検出",uploadLocalLabel: "またはローカルファイルをアップロード",sourceBrowse: "参照",releaseToUpload: "ドロップしてアップロード",@@ -1359,23 +1337,6 @@ export const ja = {loadingRuntime: "トレーニングランタイムを読み込み中...",checkingSupport: "このマシンのトレーニング対応を確認しています...",backToHistory: "履歴に戻る",- sections: {- model: "モデル",- dataset: "データセット",- params: "パラメーター",- training: "トレーニング",- charts: "チャート",- progress: "トレーニング進捗",- },- configure: {- title: "設定",- description: "モデル、データセット、およびトレーニング設定を選択します。",- startTraining: "トレーニング開始",- starting: "開始中...",- loadingModel: "モデルを読み込み中...",- checkingDataset: "データセットを確認中...",- trainingConfig: "トレーニング構成",- },dataset: {selectors: {subset: "サブセット",@@ -1397,7 +1358,6 @@ export const ja = {manualTooLong: "128 文字以内で入力してください。",manualInvalid: "この値には未対応の文字が含まれています。",},- source: "データセットのソース",sourceAriaLabel: "データセットのソース",localDataset: "ローカルデータセット",localDatasetRows: " / {count} 行",@@ -1414,8 +1374,6 @@ export const ja = {fileTooLarge: "ファイルが大きすぎます",fileTooLargeDescription:"{file} のサイズは {size} です。トレーニング用アップロードの上限は {limit} です。",- uploadLimitsHint:- "CSV、JSONL、JSON、Parquet · 上限 {limit}、PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "このファイルは先に変換する必要があります",genericFile: "このファイル",@@ -1495,7 +1453,6 @@ export const ja = {evalDatasetUploaded: "評価データセットをアップロードしました",uploadOneFileAtATime: "一度に1つのファイルのみアップロードできます",uploadSingleFileDescription: "トレーニングデータセットのアップロードは単一のファイルのみ受け付けます。",- preview: "データセットのプレビュー",previewLoadingHuggingFace:"Hugging Face からデータセットのプレビューを取得しています...",previewLoading: "プレビューを読み込んでいます...",@@ -1517,8 +1474,6 @@ export const ja = {requiredDescription:"ヘッダーのドロップダウンを使用して列にロールを割り当ててください。少なくとも {required} を割り当てる必要があります。",},- split: "分割",- subset: "サブセット",s3: {title: "S3 構成",description: "Amazon S3 から .parquet, .json, .jsonl, または .csv データセットを読み込みます",@@ -1528,18 +1483,11 @@ export const ja = {regionPlaceholder: "us-east-1",prefix: "パスプレフィックス",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "オプション。バケット内のデータセットファイルへのパス",accessKeyId: "アクセスキー ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "シークレットアクセスキー",secretAccessKeyPlaceholder: "AWS シークレットアクセスキーを入力してください",useIamRole: "IAM ロールを使用",- useIamRoleTooltip: "アクセスキーの代わりに IAM ロールの資格情報を使用します(EC2/SageMaker で推奨)",- testConnection: "接続をテスト",- connectionSuccess: "S3 バケットへの接続に成功しました",- connectionFailed: "S3 バケットへの接続に失敗しました",- comingSoon: "S3 統合は近日公開予定",- comingSoonDescription: "S3 データセットの読み込みには boto3 が必要です。この機能は現在開発中です。",},},params: {@@ -1725,7 +1673,6 @@ export const ja = {"実行は削除されましたが、関連ファイルを削除できませんでした。",deleteArtifactsRetainedError:"アダプターファイルを削除できなかったため、トレーニング実行は履歴に保持されました。",- emptyTitle: "トレーニング実行がまだありません",emptyDescription: "トレーニング実行がまだありません。「設定」タブで最初のトレーニングを開始してください。",loadError: "トレーニング実行の読み込みに失敗しました",deleteError: "トレーニング実行の削除に失敗しました。もう一度お試しください。",@@ -1736,9 +1683,6 @@ export const ja = {runNotFound: "実行が見つかりません",deleteTitle: "トレーニング実行を削除しますか?",deleteDescription: "これにより、このトレーニング実行とすべてのメトリクスが永久に削除されます。この操作は取り消せません。",- runCount: "{count} 件の実行",- oneRun: "1 件の実行",- resume: "再開",resumeTraining: "トレーニングを再開",resuming: "再開中...",deleteRun: "実行を削除",@@ -1870,8 +1814,5 @@ export const ja = {datasetStreaming: "データセット: ストリーミング(完全なダウンロードなし)",modelWeights: "モデルの重み",},- tour: {- guidedTour: "ガイドツアー",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/ko.ts b/studio/frontend/src/i18n/locales/ko.tsindex c5938481228..b8d05312eff 100644--- a/studio/frontend/src/i18n/locales/ko.ts+++ b/studio/frontend/src/i18n/locales/ko.ts@@ -17,7 +17,6 @@ export const ko = {modelSourceAriaLabel: "모델 소스",hubSectionAriaLabel: "Hub 섹션",pickModelFile: "디스크에서 모델 파일 선택",- ejectLoadedModel: "로드된 모델 꺼내기",multipleMatches:"일치하는 {noun} 항목이 여러 개 있습니다. 목록에서 하나를 선택하세요.",rateLimitedTitle: "Hugging Face 요청 한도에 도달했습니다",@@ -416,11 +415,6 @@ export const ko = {loadError: "로그인 시 실행 설정을 불러오지 못했습니다.",saveError: "로그인 시 실행 설정을 업데이트하지 못했습니다.",},- gettingStarted: "시작하기",- startOnboarding: "온보딩 시작",- startOnboardingDescription:- "계정을 변경하지 않고 설정 마법사를 다시 엽니다.",- startOnboardingAction: "온보딩 시작",uploads: {sectionTitle: "업로드",maxUploadSize: "학습 데이터셋 업로드 상한",@@ -1199,25 +1193,8 @@ export const ko = {modelTooltip: "파인튜닝할 기본 모델입니다.",methodTooltip: "모델 학습 방식입니다. LoRA와 QLoRA는 전체 가중치 대신 작은 어댑터를 업데이트합니다.",datasetTooltip: "모델을 파인튜닝하는 데 사용하는 학습 데이터입니다.",- hfTokenLabel: "Hugging Face 토큰",hfTokenDescription:"액세스가 제한되거나 비공개인 모델 및 데이터 세트에 필요합니다.",- hfTokenGet: "토큰 받기",- hfTokenChecking: "토큰 확인 중…",- modelPickerDescription:- "Hugging Face를 검색하거나 이 기기에 이미 있는 학습 가능한 모델을 선택하세요.",- trainingMethod: "학습 방법",- trainingMethodDescription: "{model}을 미세 조정할 방법을 선택하세요",- trainingMethodTooltip:- "QLoRA는 VRAM 사용량을 최소화하기 위해 4비트 양자화를 사용합니다. LoRA는 16비트 가중치를 사용하며, 전체 미세 조정은 모든 가중치를 업데이트합니다.",- datasetPickerDescription:- "Hugging Face를 검색하거나 이 기기에 이미 있는 데이터셋을 선택하세요.",- uploadDataset: "데이터셋 업로드",- uploadDatasetDescription:- "CSV, JSONL, JSON 및 Parquet를 지원합니다.",- chooseFile: "파일 선택",- format: "형식",- autoDetect: "자동 감지",uploadLocalLabel: "또는 로컬 파일 업로드",sourceBrowse: "찾아보기",releaseToUpload: "놓으면 업로드됩니다",@@ -1384,23 +1361,6 @@ export const ko = {loadingRuntime: "학습 런타임을 로딩하는 중...",checkingSupport: "이 컴퓨터의 학습 지원 여부를 확인하는 중...",backToHistory: "기록으로 돌아가기",- sections: {- model: "모델",- dataset: "데이터셋",- params: "매개변수",- training: "학습",- charts: "차트",- progress: "학습 진행률",- },- configure: {- title: "구성",- description: "모델, 데이터셋 및 학습 설정을 선택합니다.",- startTraining: "학습 시작",- starting: "시작 중...",- loadingModel: "모델을 로딩하는 중...",- checkingDataset: "데이터셋을 확인하는 중...",- trainingConfig: "학습 구성",- },dataset: {selectors: {subset: "하위 집합",@@ -1422,7 +1382,6 @@ export const ko = {manualTooLong: "128자 이하로 입력하세요.",manualInvalid: "이 값에 지원되지 않는 문자가 포함되어 있습니다.",},- source: "데이터셋 소스",sourceAriaLabel: "데이터셋 소스",localDataset: "로컬 데이터셋",localDatasetRows: " / {count}행",@@ -1439,8 +1398,6 @@ export const ko = {fileTooLarge: "파일이 너무 큽니다",fileTooLargeDescription:"{file}의 크기는 {size}입니다. 학습용 업로드는 최대 {limit}까지 지원합니다.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · 최대 {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "이 파일은 먼저 변환해야 합니다",genericFile: "이 파일",@@ -1525,7 +1482,6 @@ export const ko = {uploadOneFileAtATime: "한 번에 하나의 파일만 업로드하세요",uploadSingleFileDescription:"학습 데이터셋 업로드는 단일 파일만 받습니다.",- preview: "데이터셋 미리보기",previewLoadingHuggingFace:"Hugging Face에서 데이터셋 미리보기를 가져오는 중...",previewLoading: "미리보기를 불러오는 중...",@@ -1546,8 +1502,6 @@ export const ko = {requiredDescription:"머리글의 드롭다운을 사용해 열에 역할을 할당하세요. 최소한 {required}을(를) 할당해야 합니다.",},- split: "분할",- subset: "서브셋",s3: {title: "S3 구성",description:@@ -1558,20 +1512,11 @@ export const ko = {regionPlaceholder: "us-east-1",prefix: "경로 접두사",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "버킷 내 데이터셋 파일에 대한 선택적 경로",accessKeyId: "액세스 키 ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "시크릿 액세스 키",secretAccessKeyPlaceholder: "AWS 시크릿 액세스 키",useIamRole: "IAM 역할 사용",- useIamRoleTooltip:- "액세스 키 대신 IAM 역할 자격 증명을 사용합니다(EC2/SageMaker에 권장).",- testConnection: "연결 테스트",- connectionSuccess: "S3 버킷에 성공적으로 연결되었습니다",- connectionFailed: "S3 버킷에 연결하지 못했습니다",- comingSoon: "S3 통합 출시 예정",- comingSoonDescription:- "S3 데이터셋 로딩에는 boto3가 필요합니다. 이 기능은 개발 중입니다.",},},params: {@@ -1769,7 +1714,6 @@ export const ko = {"실행은 삭제되었지만 관련 파일을 제거하지 못했습니다.",deleteArtifactsRetainedError:"어댑터 파일을 삭제할 수 없어 학습 실행이 기록에 유지되었습니다.",- emptyTitle: "아직 학습 실행이 없습니다",emptyDescription:"아직 학습 실행이 없습니다. 구성 탭에서 첫 학습 실행을 시작하세요.",loadError: "학습 실행을 불러오지 못했습니다",@@ -1782,9 +1726,6 @@ export const ko = {deleteTitle: "학습 실행을 삭제하시겠습니까?",deleteDescription:"이 학습 실행과 모든 지표가 영구적으로 삭제됩니다. 이 작업은 되돌릴 수 없습니다.",- runCount: "{count}개의 실행",- oneRun: "1개의 실행",- resume: "재개",resumeTraining: "학습 재개",resuming: "재개 중...",deleteRun: "실행 삭제",@@ -1918,8 +1859,5 @@ export const ko = {datasetStreaming: "데이터셋: 스트리밍(전체 다운로드 없음)",modelWeights: "모델 가중치",},- tour: {- guidedTour: "가이드 투어",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/pt-br.ts b/studio/frontend/src/i18n/locales/pt-br.tsindex 3b8b0dbe82f..c1d074f41a8 100644--- a/studio/frontend/src/i18n/locales/pt-br.ts+++ b/studio/frontend/src/i18n/locales/pt-br.ts@@ -18,7 +18,6 @@ export const ptBR = {modelSourceAriaLabel: "Origem do modelo",hubSectionAriaLabel: "Seção do Hub",pickModelFile: "Escolher um arquivo de modelo no disco",- ejectLoadedModel: "Ejetar o modelo carregado",multipleMatches:"Há vários {noun} correspondentes. Escolha uma opção na lista.",rateLimitedTitle: "Limite de requisições do Hugging Face atingido",@@ -425,11 +424,6 @@ export const ptBR = {saveError:"Não foi possível atualizar a configuração de inicialização no login.",},- gettingStarted: "Primeiros passos",- startOnboarding: "Iniciar configuração",- startOnboardingDescription:- "Reabre o assistente de configuração sem alterar sua conta.",- startOnboardingAction: "Iniciar configuração",uploads: {sectionTitle: "Uploads",maxUploadSize: "Limite de upload do dataset de treino",@@ -1217,24 +1211,8 @@ export const ptBR = {modelTooltip: "O modelo base que você quer ajustar.",methodTooltip: "Como o modelo é treinado. LoRA e QLoRA atualizam adaptadores pequenos em vez de todos os pesos.",datasetTooltip: "Os dados de treinamento usados para ajustar o modelo.",- hfTokenLabel: "Token do Hugging Face",hfTokenDescription:"Necessário para modelos e conjuntos de dados restritos ou privados.",- hfTokenGet: "Obter token",- hfTokenChecking: "Verificando token…",- modelPickerDescription:- "Pesquise no Hugging Face ou escolha um modelo treinável já disponível neste dispositivo.",- trainingMethod: "Método de treinamento",- trainingMethodDescription: "Escolha como fazer o fine-tuning de {model}",- trainingMethodTooltip:- "O QLoRA usa quantização de 4 bits para reduzir ao mínimo o uso de VRAM. O LoRA usa pesos de 16 bits, enquanto o fine-tuning completo atualiza todos os pesos.",- datasetPickerDescription:- "Pesquise no Hugging Face ou escolha um dataset já disponível neste dispositivo.",- uploadDataset: "Enviar um dataset",- uploadDatasetDescription: "Compatível com CSV, JSONL, JSON e Parquet.",- chooseFile: "Escolher um arquivo",- format: "Formato",- autoDetect: "Detecção automática",uploadLocalLabel: "Ou envie um arquivo local",sourceBrowse: "Procurar",releaseToUpload: "Solte para enviar",@@ -1402,23 +1380,6 @@ export const ptBR = {loadingRuntime: "Carregando ambiente de execução de treino...",checkingSupport: "Verificando se esta máquina oferece suporte a treino...",backToHistory: "Voltar ao histórico",- sections: {- model: "Modelo",- dataset: "Dataset",- params: "Parâmetros",- training: "Treinamento",- charts: "Gráficos",- progress: "Progresso do Treinamento",- },- configure: {- title: "Configurar",- description: "Escolha um modelo, dataset e configurações de treinamento.",- startTraining: "Iniciar Treinamento",- starting: "Iniciando...",- loadingModel: "Carregando modelo...",- checkingDataset: "Verificando dataset...",- trainingConfig: "Configuração de Treino",- },dataset: {selectors: {subset: "Subconjunto",@@ -1441,7 +1402,6 @@ export const ptBR = {manualTooLong: "Use no máximo 128 caracteres.",manualInvalid: "Este valor contém caracteres não suportados.",},- source: "Origem do dataset",sourceAriaLabel: "Origem do dataset",localDataset: "Dataset local",localDatasetRows: " / {count} linhas",@@ -1458,8 +1418,6 @@ export const ptBR = {fileTooLarge: "Arquivo muito grande",fileTooLargeDescription:"{file} tem {size}. Os uploads de treinamento aceitam até {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · até {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "Este arquivo precisa ser convertido primeiro",genericFile: "Este arquivo",@@ -1546,7 +1504,6 @@ export const ptBR = {uploadOneFileAtATime: "Envie um arquivo por vez",uploadSingleFileDescription:"O upload do dataset de treinamento aceita apenas um único arquivo.",- preview: "Pré-visualizar dataset",previewLoadingHuggingFace:"Buscando a pré-visualização do dataset no Hugging Face...",previewLoading: "Carregando pré-visualização...",@@ -1568,8 +1525,6 @@ export const ptBR = {requiredDescription:"Atribua funções às colunas usando os menus nos cabeçalhos. Atribua pelo menos {required}.",},- split: "Divisão (Split)",- subset: "Subconjunto (Subset)",s3: {title: "Configuração do S3",description: "Carregue datasets em .parquet, .json, .jsonl ou .csv do Amazon S3",@@ -1579,18 +1534,11 @@ export const ptBR = {regionPlaceholder: "us-east-1",prefix: "Prefixo do Caminho",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "Caminho opcional dentro do bucket para os arquivos do seu dataset",accessKeyId: "ID da Chave de Acesso",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Chave de Acesso Secreta",secretAccessKeyPlaceholder: "Sua chave de acesso secreta da AWS",useIamRole: "Usar Função IAM",- useIamRoleTooltip: "Usa credenciais de função IAM em vez de chaves de acesso (recomendado para EC2/SageMaker)",- testConnection: "Testar Conexão",- connectionSuccess: "Conectado com sucesso ao bucket S3",- connectionFailed: "Falha ao conectar ao bucket S3",- comingSoon: "Integração com S3 em breve",- comingSoonDescription: "O carregamento de datasets do S3 requer o boto3. Este recurso está em desenvolvimento.",},},params: {@@ -1776,7 +1724,6 @@ export const ptBR = {},history: {title: "Histórico",- emptyTitle: "Nenhuma execução de treino ainda",emptyDescription:"Nenhuma execução de treino ainda. Inicie sua primeira execução na aba Configurar.",loadError: "Falha ao carregar as execuções de treino",@@ -1804,9 +1751,6 @@ export const ptBR = {"A execução foi excluída, mas não foi possível apagar seus arquivos.",deleteArtifactsRetainedError:"Não foi possível remover os arquivos do adaptador, então a execução foi mantida no histórico.",- runCount: "{count} execuções",- oneRun: "1 execução",- resume: "Retomar",resumeTraining: "Retomar treinamento",resuming: "Retomando...",deleteRun: "Excluir execução",@@ -1940,8 +1884,5 @@ export const ptBR = {datasetStreaming: "Dataset: streaming (sem download completo)",modelWeights: "Pesos do modelo",},- tour: {- guidedTour: "Tour Guiado",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/ru.ts b/studio/frontend/src/i18n/locales/ru.tsindex f5d057f60eb..1482a253372 100644--- a/studio/frontend/src/i18n/locales/ru.ts+++ b/studio/frontend/src/i18n/locales/ru.ts@@ -18,7 +18,6 @@ export const ru = {modelSourceAriaLabel: "Источник модели",hubSectionAriaLabel: "Раздел Hub",pickModelFile: "Выбрать файл модели на диске",- ejectLoadedModel: "Выгрузить загруженную модель",multipleMatches:"В категории «{noun}» найдено несколько совпадений. Выберите одно из списка.",rateLimitedTitle: "Достигнут лимит запросов Hugging Face",@@ -421,11 +420,6 @@ export const ru = {loadError: "Не удалось загрузить настройку автозапуска.",saveError: "Не удалось обновить настройку автозапуска.",},- gettingStarted: "Начало работы",- startOnboarding: "Запустить онбординг",- startOnboardingDescription:- "Снова открыть мастер настройки, не изменяя ваш аккаунт.",- startOnboardingAction: "Запустить онбординг",uploads: {sectionTitle: "Загрузки",maxUploadSize: "Лимит загрузки датасета для обучения",@@ -1216,25 +1210,8 @@ export const ru = {modelTooltip: "Базовая модель, которую вы хотите дообучить.",methodTooltip: "Как обучается модель. LoRA и QLoRA обновляют небольшие адаптеры вместо всех весов.",datasetTooltip: "Обучающие данные для дообучения модели.",- hfTokenLabel: "Токен Hugging Face",hfTokenDescription:"Необходим для моделей и наборов данных с ограниченным или закрытым доступом.",- hfTokenGet: "Получить токен",- hfTokenChecking: "Проверка токена…",- modelPickerDescription:- "Найдите модель на Hugging Face или выберите доступную для обучения модель на этом устройстве.",- trainingMethod: "Метод обучения",- trainingMethodDescription: "Выберите способ дообучения {model}",- trainingMethodTooltip:- "QLoRA использует 4-битное квантование для минимального расхода VRAM. LoRA использует 16-битные веса, а полное дообучение обновляет все веса.",- datasetPickerDescription:- "Найдите датасет на Hugging Face или выберите датасет на этом устройстве.",- uploadDataset: "Загрузить датасет",- uploadDatasetDescription:- "Поддерживаются CSV, JSONL, JSON и Parquet.",- chooseFile: "Выбрать файл",- format: "Формат",- autoDetect: "Автоопределение",uploadLocalLabel: "Или загрузите локальный файл",sourceBrowse: "Обзор",releaseToUpload: "Отпустите для загрузки",@@ -1403,23 +1380,6 @@ export const ru = {loadingRuntime: "Загрузка среды обучения...",checkingSupport: "Проверка поддержки обучения на этой машине...",backToHistory: "Назад к истории",- sections: {- model: "Модель",- dataset: "Датасет",- params: "Параметры",- training: "Обучение",- charts: "Графики",- progress: "Прогресс обучения",- },- configure: {- title: "Настройка",- description: "Выберите модель, датасет и параметры обучения.",- startTraining: "Начать обучение",- starting: "Запуск...",- loadingModel: "Загрузка модели...",- checkingDataset: "Проверка датасета...",- trainingConfig: "Конфигурация обучения",- },dataset: {selectors: {subset: "Поднабор",@@ -1442,7 +1402,6 @@ export const ru = {manualTooLong: "Используйте не более 128 символов.",manualInvalid: "Это значение содержит неподдерживаемые символы.",},- source: "Источник датасета",sourceAriaLabel: "Источник датасета",localDataset: "Локальный датасет",localDatasetRows: " / {count} строк",@@ -1459,8 +1418,6 @@ export const ru = {fileTooLarge: "Файл слишком большой",fileTooLargeDescription:"Размер файла {file} — {size}. Для загрузки обучающих данных поддерживается размер до {limit}.",- uploadLimitsHint:- "CSV, JSONL, JSON, Parquet · до {limit}; PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "Сначала преобразуйте этот файл",genericFile: "Этот файл",@@ -1548,7 +1505,6 @@ export const ru = {uploadOneFileAtATime: "Загружайте по одному файлу за раз",uploadSingleFileDescription:"Загрузка датасета для обучения принимает один файл.",- preview: "Предпросмотр датасета",previewLoadingHuggingFace:"Получение предпросмотра датасета из Hugging Face...",previewLoading: "Загрузка предпросмотра...",@@ -1570,8 +1526,6 @@ export const ru = {requiredDescription:"Назначьте роли столбцам с помощью выпадающих списков в заголовках. Как минимум назначьте {required}.",},- split: "Выборка",- subset: "Подмножество",s3: {title: "Конфигурация S3",description:@@ -1582,20 +1536,11 @@ export const ru = {regionPlaceholder: "us-east-1",prefix: "Префикс пути",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "Необязательный путь в бакете к файлам вашего датасета",accessKeyId: "Access Key ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "Secret Access Key",secretAccessKeyPlaceholder: "Ваш AWS secret access key",useIamRole: "Использовать роль IAM",- useIamRoleTooltip:- "Использовать учётные данные роли IAM вместо ключей доступа (рекомендуется для EC2/SageMaker)",- testConnection: "Проверить подключение",- connectionSuccess: "Успешное подключение к бакету S3",- connectionFailed: "Не удалось подключиться к бакету S3",- comingSoon: "Интеграция с S3 скоро появится",- comingSoonDescription:- "Загрузка датасетов из S3 требует boto3. Эта функция в разработке.",},},params: {@@ -1795,7 +1740,6 @@ export const ru = {"Запуск удалён, но удалить его файлы не удалось.",deleteArtifactsRetainedError:"Не удалось удалить файлы адаптера, поэтому запуск обучения сохранён в истории.",- emptyTitle: "Пока нет запусков обучения",emptyDescription:"Пока нет запусков обучения. Запустите первое обучение на вкладке «Настройка».",loadError: "Не удалось загрузить запуски обучения",@@ -1808,9 +1752,6 @@ export const ru = {deleteTitle: "Удалить запуск обучения?",deleteDescription:"Это безвозвратно удалит этот запуск обучения и все его метрики. Это действие нельзя отменить.",- runCount: "{count} запусков",- oneRun: "1 запуск",- resume: "Продолжить",resumeTraining: "Продолжить обучение",resuming: "Продолжение...",deleteRun: "Удалить запуск",@@ -1944,8 +1885,5 @@ export const ru = {datasetStreaming: "Датасет: потоковая передача (без полной загрузки)",modelWeights: "Веса модели",},- tour: {- guidedTour: "Обзорный тур",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/i18n/locales/zh-CN.ts b/studio/frontend/src/i18n/locales/zh-CN.tsindex 9da9bf5cf37..efef1f0ea1d 100644--- a/studio/frontend/src/i18n/locales/zh-CN.ts+++ b/studio/frontend/src/i18n/locales/zh-CN.ts@@ -17,7 +17,6 @@ export const zhCN = {modelSourceAriaLabel: "模型来源",hubSectionAriaLabel: "Hub 分区",pickModelFile: "从磁盘选择模型文件",- ejectLoadedModel: "卸载已加载的模型",multipleMatches: "找到多个匹配的{noun}。请从列表中选择一个。",rateLimitedTitle: "已达到 Hugging Face 速率限制",rateLimitedBody: "请稍候,然后重试搜索{noun}。",@@ -403,10 +402,6 @@ export const zhCN = {loadError: "无法加载登录时启动设置。",saveError: "无法更新登录时启动设置。",},- gettingStarted: "入门",- startOnboarding: "开始引导",- startOnboardingDescription: "重新打开设置向导,不会更改你的账号。",- startOnboardingAction: "开始引导",uploads: {sectionTitle: "上传",maxUploadSize: "训练数据集上传上限",@@ -1163,23 +1158,7 @@ export const zhCN = {modelTooltip: "要微调的基础模型。",methodTooltip: "模型的训练方式。LoRA 和 QLoRA 只更新小型适配器,而不是全部权重。",datasetTooltip: "用于微调模型的训练数据。",- hfTokenLabel: "Hugging Face 令牌",hfTokenDescription: "访问受限或私有模型和数据集时需要。",- hfTokenGet: "获取令牌",- hfTokenChecking: "正在检查令牌…",- modelPickerDescription:- "搜索 Hugging Face,或选择此设备上已有的可训练模型。",- trainingMethod: "训练方法",- trainingMethodDescription: "选择如何微调 {model}",- trainingMethodTooltip:- "QLoRA 使用 4 位量化以最大限度降低显存占用。LoRA 使用 16 位权重,而全量微调会更新所有权重。",- datasetPickerDescription:- "搜索 Hugging Face,或选择此设备上已有的数据集。",- uploadDataset: "上传数据集",- uploadDatasetDescription: "支持 CSV、JSONL、JSON 和 Parquet。",- chooseFile: "选择文件",- format: "格式",- autoDetect: "自动检测",uploadLocalLabel: "或上传本地文件",sourceBrowse: "浏览",releaseToUpload: "松开以上传",@@ -1337,23 +1316,6 @@ export const zhCN = {loadingRuntime: "正在加载训练运行时...",checkingSupport: "正在检查此设备是否支持训练...",backToHistory: "返回历史",- sections: {- model: "模型",- dataset: "数据集",- params: "参数",- training: "训练",- charts: "图表",- progress: "训练进度",- },- configure: {- title: "配置",- description: "选择模型、数据集和训练设置。",- startTraining: "开始训练",- starting: "启动中...",- loadingModel: "正在加载模型...",- checkingDataset: "正在检查数据集...",- trainingConfig: "训练配置",- },dataset: {selectors: {subset: "子集",@@ -1374,7 +1336,6 @@ export const zhCN = {manualTooLong: "请使用不超过 128 个字符。",manualInvalid: "此值包含不支持的字符。",},- source: "数据集来源",sourceAriaLabel: "数据集来源",localDataset: "本地数据集",localDatasetRows: " / {count} 行",@@ -1391,8 +1352,6 @@ export const zhCN = {fileTooLarge: "文件过大",fileTooLargeDescription:"{file} 大小为 {size}。训练上传最大支持 {limit}。",- uploadLimitsHint:- "CSV、JSONL、JSON、Parquet · 最大 {limit};PDF/DOCX/TXT → Learning Recipes",documentRedirect: {title: "此文件需要先转换",genericFile: "此文件",@@ -1471,7 +1430,6 @@ export const zhCN = {evalDatasetUploaded: "评估数据集已上传",uploadOneFileAtATime: "一次只能上传一个文件",uploadSingleFileDescription: "训练数据集上传只接受单个文件。",- preview: "预览数据集",previewLoadingHuggingFace: "正在从 Hugging Face 获取数据集预览...",previewLoading: "正在加载预览...",mappingRequirements: {@@ -1491,8 +1449,6 @@ export const zhCN = {requiredDescription:"使用标题中的下拉菜单为列分配角色。至少需要分配 {required}。",},- split: "切分",- subset: "子集",s3: {title: "S3 配置",description: "从 Amazon S3 加载 .parquet、.json、.jsonl 或 .csv 数据集",@@ -1502,18 +1458,11 @@ export const zhCN = {regionPlaceholder: "us-east-1",prefix: "路径前缀",prefixPlaceholder: "datasets/whisper/",- prefixTooltip: "存储桶中数据集文件的可选路径",accessKeyId: "访问密钥 ID",accessKeyIdPlaceholder: "AKIAIOSFODNN7EXAMPLE",secretAccessKey: "秘密访问密钥",secretAccessKeyPlaceholder: "你的 AWS 秘密访问密钥",useIamRole: "使用 IAM 角色",- useIamRoleTooltip: "使用 IAM 角色凭证而非访问密钥(推荐用于 EC2/SageMaker)",- testConnection: "测试连接",- connectionSuccess: "成功连接到 S3 存储桶",- connectionFailed: "无法连接到 S3 存储桶",- comingSoon: "S3 集成即将推出",- comingSoonDescription: "S3 数据集加载需要 boto3。此功能正在开发中。",},},params: {@@ -1697,7 +1646,6 @@ export const zhCN = {deleteArtifactsFailed: "运行已删除,但无法移除其文件。",deleteArtifactsRetainedError:"无法移除适配器文件,因此训练运行已保留在历史记录中。",- emptyTitle: "还没有训练运行",emptyDescription: "还没有训练运行。请在配置标签页开始第一次训练。",loadError: "加载训练运行失败",deleteError: "删除训练运行失败。请重试。",@@ -1708,9 +1656,6 @@ export const zhCN = {runNotFound: "未找到运行",deleteTitle: "删除训练运行?",deleteDescription: "这会永久删除该训练运行及其所有指标。此操作无法撤销。",- runCount: "{count} 次运行",- oneRun: "1 次运行",- resume: "继续",resumeTraining: "继续训练",resuming: "正在恢复训练...",deleteRun: "删除运行",@@ -1842,8 +1787,5 @@ export const zhCN = {datasetStreaming: "数据集:流式传输(无需完整下载)",modelWeights: "模型权重",},- tour: {- guidedTour: "引导教程",- },},} satisfies DeepPartialMessageTree<typeof en>;diff --git a/studio/frontend/src/types/training.ts b/studio/frontend/src/types/training.tsindex d81b56471d4..cc096f29492 100644--- a/studio/frontend/src/types/training.ts+++ b/studio/frontend/src/types/training.ts@@ -13,7 +13,6 @@ export function isTrainingMethod(value: unknown): value is TrainingMethod {export function isAdapterMethod(method: TrainingMethod): boolean {return method === "lora" || method === "qlora" || method === "cpt";}-export type StepNumber = 1 | 2 | 3 | 4 | 5;export type DatasetSource = "huggingface" | "upload" | "s3";/** S3 bucket configuration for loading datasets */@@ -27,98 +26,3 @@ export interface S3Config {}export type DatasetFormat = "auto" | "alpaca" | "chatml" | "sharegpt" | "raw";export type GradientCheckpointing = "none" | "true" | "unsloth" | "mlx";--export interface WizardState {- currentStep: StepNumber;- modelType: ModelType | null;- selectedModel: string | null;- trainingMethod: TrainingMethod;- hfToken: string;- datasetSource: DatasetSource;- datasetFormat: DatasetFormat;- dataset: string | null;- datasetSubset: string | null;- datasetSplit: string | null;- uploadedFile: string | null;- epochs: number;- contextLength: number;- learningRate: number;- loraRank: number;- loraAlpha: number;- loraDropout: number;- loraVariant: "lora" | "rslora" | "loftq" | "dora";- batchSize: number;- gradientAccumulation: number;- weightDecay: number;- warmupSteps: number;- maxSteps: number;- saveSteps: number;- packing: boolean;- trainOnCompletions: boolean;- gradientCheckpointing: GradientCheckpointing;- randomSeed: number;- enableWandb: boolean;- wandbToken: string;- wandbProject: string;- enableTensorboard: boolean;- tensorboardDir: string;- logFrequency: number;- finetuneVisionLayers: boolean;- finetuneLanguageLayers: boolean;- finetuneAttentionModules: boolean;- finetuneMLPModules: boolean;- targetModules: string[];-}--export interface WizardActions {- setStep: (step: StepNumber) => void;- nextStep: () => void;- prevStep: () => void;- setModelType: (type: ModelType) => void;- setSelectedModel: (model: string | null) => void;- setTrainingMethod: (method: TrainingMethod) => void;- setHfToken: (token: string) => void;- setDatasetSource: (source: DatasetSource) => void;- setDatasetFormat: (format: DatasetFormat) => void;- setDataset: (dataset: string | null) => void;- setDatasetSubset: (subset: string | null) => void;- setDatasetSplit: (split: string | null) => void;- setUploadedFile: (file: string | null) => void;- setEpochs: (epochs: number) => void;- setContextLength: (length: number) => void;- setLearningRate: (rate: number) => void;- setLoraRank: (rank: number) => void;- setLoraAlpha: (alpha: number) => void;- setLoraDropout: (dropout: number) => void;- setLoraVariant: (v: "lora" | "rslora" | "loftq" | "dora") => void;- setBatchSize: (v: number) => void;- setGradientAccumulation: (v: number) => void;- setWeightDecay: (v: number) => void;- setWarmupSteps: (v: number) => void;- setMaxSteps: (v: number) => void;- setSaveSteps: (v: number) => void;- setPacking: (v: boolean) => void;- setTrainOnCompletions: (v: boolean) => void;- setGradientCheckpointing: (v: GradientCheckpointing) => void;- setRandomSeed: (v: number) => void;- setEnableWandb: (v: boolean) => void;- setWandbToken: (v: string) => void;- setWandbProject: (v: string) => void;- setEnableTensorboard: (v: boolean) => void;- setTensorboardDir: (v: string) => void;- setLogFrequency: (v: number) => void;- setFinetuneVisionLayers: (v: boolean) => void;- setFinetuneLanguageLayers: (v: boolean) => void;- setFinetuneAttentionModules: (v: boolean) => void;- setFinetuneMLPModules: (v: boolean) => void;- setTargetModules: (v: string[]) => void;- canProceed: () => boolean;- reset: () => void;-}--export interface StepConfig {- number: StepNumber;- title: string;- subtitle: string;- description: string;-}diff --git a/studio/frontend/tests/credential-persistence.test.ts b/studio/frontend/tests/credential-persistence.test.tsindex 15d0db93ba8..e44770086b4 100644--- a/studio/frontend/tests/credential-persistence.test.ts+++ b/studio/frontend/tests/credential-persistence.test.ts@@ -554,7 +554,7 @@ test("a delayed HF write response reconciles a newer cross-tab commit", async ()-test("pending HF edits can be drained before onboarding navigation", async () => {+test("pending HF edits can be drained before navigation", async () => {const { store } = installLocalStorageFake();store.set("unsloth_auth_token", "session-token");const originalFetch = globalThis.fetch;@@ -631,16 +631,6 @@ test("a superseded successful HF write advances the rollback baseline", async ()});-test("onboarding exits wait for the latest HF save", () => {- for (const relativePath of [- "../src/features/onboarding/components/wizard-footer.tsx",- "../src/features/onboarding/components/wizard-sidebar.tsx",- "../src/features/onboarding/components/wizard-layout.tsx",- ]) {- const source = readFileSync(new URL(relativePath, import.meta.url), "utf8");- assert.match(source, /await waitForHfTokenPersistence\(\)/);- }-});test("new HF edits never write the token back to localStorage", () => {@@ -704,7 +694,7 @@ test("credential gate follows authentication session transitions", () => {assert.match(rootSource, /AUTH_SESSION_CLEARED_EVENT, reconcile/);assert.match(rootSource, /AUTH_SESSION_STORED_EVENT, reconcile/);- assert.match(rootSource, /!isAuthFlowRoute \|\| pathname === "\/onboarding"/);+ assert.match(rootSource, /\{!isAuthFlowRoute \? \(/);assert.match(sessionSource, /const sessionStarted = !localStorage\.getItem\(AUTH_TOKEN_KEY\)/);assert.match(sessionSource, /dispatchEvent\(new Event\(AUTH_SESSION_STORED_EVENT\)\)/);const bootstrapSource = readFileSync(diff --git a/studio/frontend/tests/model-type-constraint.test.ts b/studio/frontend/tests/model-type-constraint.test.tsindex 5c3af3b16a1..f6f7b9cc650 100644--- a/studio/frontend/tests/model-type-constraint.test.ts+++ b/studio/frontend/tests/model-type-constraint.test.ts@@ -5,7 +5,7 @@ import assert from "node:assert/strict";import test from "node:test";import { trainingModelMatchesTypeConstraint } from "../src/features/training/lib/model-type-constraint.ts";-test("enforces optional onboarding model-type constraints", () => {+test("enforces optional training model-type constraints", () => {const text = { hasModelTypeSignal: true };const vision = { isVision: true, hasModelTypeSignal: true };const audio = { isAudio: true, hasModelTypeSignal: true };@@ -25,13 +25,13 @@ test("enforces optional onboarding model-type constraints", () => {assert.equal(trainingModelMatchesTypeConstraint(embeddings, "text"), false);});-test("allows an unclassified local model through an onboarding constraint", () => {+test("allows an unclassified local model through a training constraint", () => {assert.equal(trainingModelMatchesTypeConstraint({}, "vision"), true);assert.equal(trainingModelMatchesTypeConstraint({}, "audio"), true);assert.equal(trainingModelMatchesTypeConstraint({}, "embeddings"), true);});-test("preserves every capability when enforcing onboarding constraints", () => {+test("preserves every capability when enforcing training constraints", () => {const audioVision = {isAudio: true,isVision: true,diff --git a/studio/frontend/tests/training-config-persistence.test.ts b/studio/frontend/tests/training-config-persistence.test.tsindex 4d4232a6858..6c4b3e9119c 100644--- a/studio/frontend/tests/training-config-persistence.test.ts+++ b/studio/frontend/tests/training-config-persistence.test.ts@@ -62,7 +62,7 @@ test("migration preserves tuned values while protecting them from model defaults16,);- assert.equal(TRAINING_CONFIG_PERSISTENCE_VERSION, 20);+ assert.equal(TRAINING_CONFIG_PERSISTENCE_VERSION, 21);assert.equal(migrated.learningRate, 0.000031);assert.equal(migrated.loraRank, 48);assert.equal(migrated.modelDefaultsAppliedFor, "org/model");diff --git a/studio/frontend/tests/training-config-policy.test.ts b/studio/frontend/tests/training-config-policy.test.tsindex d1f62f7753d..d80efa5c9ce 100644--- a/studio/frontend/tests/training-config-policy.test.ts+++ b/studio/frontend/tests/training-config-policy.test.ts@@ -9,7 +9,6 @@ import { registerBundlerResolver } from "./helpers/kit.ts";registerBundlerResolver();const {- canProceedForTrainingStep,createHfBrowseDatasetSelection,datasetSelectionStreamingPatch,datasetSourceInvariantPatch,@@ -66,34 +65,6 @@ test("streaming is constrained to Hugging Face dataset sources", () => {);}});--test("the dataset step waits for an explicit Hugging Face train split", () => {- const unresolved = {- ...initialTrainingConfigState,- currentStep: 3 as const,- dataset: "org/validation-only",- datasetKnownCached: true,- datasetStreaming: false,- datasetSplit: null,- };- assert.equal(canProceedForTrainingStep(unresolved), false);- assert.equal(- canProceedForTrainingStep({ ...unresolved, datasetSplit: "validation" }),- true,- );- assert.equal(- canProceedForTrainingStep({- ...unresolved,- datasetKnownCached: false,- }),- true,- );- assert.equal(- canProceedForTrainingStep({ ...unresolved, datasetStreaming: true }),- true,- );-});-test("resolves deferred completion defaults without violating training constraints", () => {const base = {currentValue: false,diff --git a/studio/frontend/tests/training-config-wizard-state-retirement.test.ts b/studio/frontend/tests/training-config-wizard-state-retirement.test.tsnew file mode 100644index 00000000000..a6e19466bf1--- /dev/null+++ b/studio/frontend/tests/training-config-wizard-state-retirement.test.ts@@ -0,0 +1,127 @@+// SPDX-License-Identifier: AGPL-3.0-only+// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0++// `currentStep` was persisted, so deleting the wizard without a migration leaves+// it in every existing install and partializeTrainingConfig keeps writing it back.+// These pin the retirement: the orphan goes, everything else survives, and a blob+// from a newer build still hydrates.++import assert from "node:assert/strict";+import test from "node:test";++import { registerBundlerResolver } from "./helpers/kit.ts";++registerBundlerResolver();++const {+ TRAINING_CONFIG_PERSISTENCE_VERSION,+ mergeTrainingConfig,+ migrateTrainingConfig,+ partializeTrainingConfig,+} = await import(+ "../src/features/training/stores/training-config-persistence.ts"+);++/** A v20 blob as an install that ran the onboarding wizard actually stored it. */+function wizardEraBlob(): Record<string, unknown> {+ return {+ currentStep: 2,+ projectName: "customer-support-lora",+ selectedModel: "unsloth/gemma-3-270m",+ trainingMethod: "qlora",+ maxSteps: 123,+ learningRate: 0.0002,+ datasetSource: "upload",+ uploadedFile: "/home/u/train.jsonl",+ modelType: "text",+ datasetStreaming: false,+ };+}++test("the retired wizard step is dropped from a pre-retirement blob", () => {+ const state = migrateTrainingConfig(wizardEraBlob(), 20) as unknown as Record<+ string,+ unknown+ >;++ assert.equal(+ Object.hasOwn(state, "currentStep"),+ false,+ "currentStep must not survive the migration",+ );+});++test("dropping the wizard step preserves every user-authored value", () => {+ const state = migrateTrainingConfig(wizardEraBlob(), 20) as unknown as Record<+ string,+ unknown+ >;++ assert.equal(state.projectName, "customer-support-lora");+ assert.equal(state.selectedModel, "unsloth/gemma-3-270m");+ assert.equal(state.trainingMethod, "qlora");+ assert.equal(state.maxSteps, 123);+ assert.equal(state.learningRate, 0.0002);+ assert.equal(state.uploadedFile, "/home/u/train.jsonl");+});++test("the version was bumped, so the migration actually runs for old installs", () => {+ assert.ok(+ TRAINING_CONFIG_PERSISTENCE_VERSION >= 21,+ "zustand skips migrate() when the stored version matches, so retiring a persisted key requires a bump",+ );+});++test("every historical version migrates without throwing", () => {+ for (let version = 0; version <= TRAINING_CONFIG_PERSISTENCE_VERSION; version++) {+ const state = migrateTrainingConfig(+ wizardEraBlob(),+ version,+ ) as unknown as Record<string, unknown>;+ assert.equal(+ Object.hasOwn(state, "currentStep"),+ version >= 21,+ `currentStep handling is wrong for version ${version}`,+ );+ }+});++test("a blob written by a newer build still hydrates (forwards compatible)", () => {+ const future: Record<string, unknown> = {+ ...wizardEraBlob(),+ someFieldFromTheFuture: { nested: true },+ };+ delete future.currentStep;++ const merged = mergeTrainingConfig(+ migrateTrainingConfig(future, TRAINING_CONFIG_PERSISTENCE_VERSION + 5),+ { trainingMethod: "lora", trainOnCompletions: false } as never,+ ) as unknown as Record<string, unknown>;++ assert.equal(merged.projectName, "customer-support-lora");+ assert.equal(merged.trainingMethod, "qlora");+});++test("a partial or empty blob does not throw", () => {+ for (const blob of [{}, { projectName: "only-this" }, { currentStep: 4 }]) {+ const migrated = migrateTrainingConfig(+ { ...blob },+ 1,+ ) as unknown as Record<string, unknown>;+ assert.equal(Object.hasOwn(migrated, "currentStep"), false);+ mergeTrainingConfig(migrated, {+ trainingMethod: "lora",+ trainOnCompletions: false,+ } as never);+ }+});++test("the retired key is not re-persisted after a migrated load", () => {+ const migrated = migrateTrainingConfig(wizardEraBlob(), 20);+ const repersisted = partializeTrainingConfig(migrated as never) as Record<+ string,+ unknown+ >;++ assert.equal(Object.hasOwn(repersisted, "currentStep"), false);+});diff --git a/studio/frontend/tests/training-dataset-source-transitions.test.ts b/studio/frontend/tests/training-dataset-source-transitions.test.tsindex 3d3fd7f49fa..d487d5b96c9 100644--- a/studio/frontend/tests/training-dataset-source-transitions.test.ts+++ b/studio/frontend/tests/training-dataset-source-transitions.test.ts@@ -116,10 +116,9 @@ test("upload selection clears Hub streaming and preserves uploaded evaluation",evalSteps: 0,});- useTrainingConfigStore.getState().selectLocalDataset(null);useTrainingConfigStore.getState()- .setUploadedFile("/datasets/uploads/train.jsonl");+ .selectLocalDataset("/datasets/uploads/train.jsonl");useTrainingConfigStore.getState().setUploadedEvalFile("/datasets/uploads/eval.jsonl");@@ -284,7 +283,11 @@ test("S3 preserves and restores a prior uploaded selection", () => {test("reselecting a non-Hub source repairs stale streaming state", () => {for (const datasetSource of ["upload", "s3"] as const) {resetState({ datasetSource, datasetStreaming: true, evalSteps: 0.1 });- useTrainingConfigStore.getState().setDatasetSource(datasetSource);+ if (datasetSource === "upload") {+ useTrainingConfigStore.getState().selectLocalDataset(null);+ } else {+ useTrainingConfigStore.getState().selectS3Source();+ }const state = useTrainingConfigStore.getState();assert.equal(state.datasetStreaming, false);assert.equal(state.evalSteps, 0.1);diff --git a/studio/frontend/tests/training-start-payload-grad-norm.test.ts b/studio/frontend/tests/training-start-payload-grad-norm.test.tsindex 47686e346bd..932bf39ed23 100644--- a/studio/frontend/tests/training-start-payload-grad-norm.test.ts+++ b/studio/frontend/tests/training-start-payload-grad-norm.test.ts@@ -24,7 +24,6 @@ const { initialTrainingConfigState } = await import(const CONFIG: TrainingConfigState = {...initialTrainingConfigState,- currentStep: 5,modelType: "text",selectedModel: "unsloth/gemma-3-270m-it",projectName: "grad-norm",diff --git a/tests/studio/playwright_image_download_cancel_retry.py b/tests/studio/playwright_image_download_cancel_retry.pyindex 4d8e6ab9fca..8b17d6f32e3 100644--- a/tests/studio/playwright_image_download_cancel_retry.py+++ b/tests/studio/playwright_image_download_cancel_retry.py@@ -196,7 +196,6 @@ def main() -> None:)context.add_init_script("localStorage.setItem('unsloth_auth_token', 'rendered-ui-test');"- "localStorage.setItem('unsloth_onboarding_done', 'true');""localStorage.setItem('unsloth_download_transport', 'http');")diff --git a/tests/studio/playwright_image_model_footprint.py b/tests/studio/playwright_image_model_footprint.pyindex 3f8efdd0d3a..d43c8920ace 100644--- a/tests/studio/playwright_image_model_footprint.py+++ b/tests/studio/playwright_image_model_footprint.py@@ -227,10 +227,7 @@ def main() -> None:reduced_motion = "reduce",color_scheme = "dark",)- context.add_init_script(- "localStorage.setItem('unsloth_auth_token', 'rendered-ui-test');"- "localStorage.setItem('unsloth_onboarding_done', 'true');"- )+ context.add_init_script("localStorage.setItem('unsloth_auth_token', 'rendered-ui-test');")def route_request(route: Route) -> None:parsed = urlparse(route.request.url)diff --git a/tests/studio/playwright_loaded_models_indicator.py b/tests/studio/playwright_loaded_models_indicator.pyindex 6d3b263fc23..c5912a32f4d 100644--- a/tests/studio/playwright_loaded_models_indicator.py+++ b/tests/studio/playwright_loaded_models_indicator.py@@ -255,7 +255,7 @@ def boot(# The card is deliberately hidden on /login, so an auth slip would make# every "no card" check pass for the wrong reason.path = page.evaluate("location.pathname")- if path.startswith(("/login", "/onboarding", "/change-password")):+ if path.startswith(("/login", "/change-password")):raise AssertionError(f"not authenticated: landed on {path}")diff --git a/tests/studio/playwright_mac_tab_capabilities.py b/tests/studio/playwright_mac_tab_capabilities.pyindex 411d4773660..8fcda5ddc92 100644--- a/tests/studio/playwright_mac_tab_capabilities.py+++ b/tests/studio/playwright_mac_tab_capabilities.py@@ -79,7 +79,7 @@ TABS = [# Routes that mean "not signed in". Landing on one invalidates every later assertion,# so they are matched explicitly rather than folded into the generic redirect check.-_SIGNED_OUT_PATHS = ("/login", "/onboarding", "/change-password")+_SIGNED_OUT_PATHS = ("/login", "/change-password")# Rows the sidebar pins inline by default, per SIDEBAR_NAV_DEFAULT_PINNED in# studio/frontend/src/features/settings/stores/appearance-custom-store.ts. Only thesediff --git a/tests/studio/playwright_update_banner_layout.py b/tests/studio/playwright_update_banner_layout.pyindex f8fc80edf0a..a734b3cbc4d 100644--- a/tests/studio/playwright_update_banner_layout.py+++ b/tests/studio/playwright_update_banner_layout.py@@ -644,7 +644,7 @@ def boot(page, path: str) -> None:page.wait_for_timeout(SETTLED_MS)settle_stack(page)landed = page.evaluate("location.pathname")- if landed.startswith(("/login", "/onboarding", "/change-password")):+ if landed.startswith(("/login", "/change-password")):raise AssertionError(f"not authenticated: landed on {landed}")diff --git a/tests/studio/test_auth_form_input_count.py b/tests/studio/test_auth_form_input_count.pyindex aa7975cf10f..31cbca85637 100644--- a/tests/studio/test_auth_form_input_count.py+++ b/tests/studio/test_auth_form_input_count.py@@ -173,7 +173,7 @@ def test_auth_flow_routes_do_not_mount_global_settings():assert "{!isAuthFlowRoute && <SettingsDialog />}" in rootassert "useSettingsDialogStore.getState().closeDialog();" in rootassert "if (isAuthFlowRoute) return;" in root- for route in ("login", "change-password", "onboarding"):+ for route in ("login", "change-password"):assert "isAuthFlow: true" in (FRONTEND / f"app/routes/{route}.tsx").read_text(encoding = "utf-8")diff --git a/tests/studio/test_model_picker_contracts.py b/tests/studio/test_model_picker_contracts.pyindex 1602c90d1e0..5f28676cc56 100644--- a/tests/studio/test_model_picker_contracts.py+++ b/tests/studio/test_model_picker_contracts.py@@ -237,11 +237,7 @@ def test_active_model_config_round_trips_gpu_fields():):assert field in src, fieldassert "if (!isGguf)" in src and "return base" in src- for rel in (- "features/chat/chat-page.tsx",- "features/hub/catalog/sampling-settings-dialog.tsx",- ):- assert "useActiveModelConfig(" in _read(rel), rel+ assert "useActiveModelConfig(" in _read("features/chat/chat-page.tsx")# The GPU knobs are in the editor's instance key, so a reload re-seeds instead of keeping.shared = _read("features/model-picker/model-config/config-signature.ts")assert "export function gpuFieldsSignature" in shared