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
Filter GGUF models from training page model selectors
Roland Tannousa7fe8a388cc9
diff --git a/studio/frontend/src/features/studio/sections/model-section.tsx b/studio/frontend/src/features/studio/sections/model-section.tsxindex 0c4a71a8c34..5040e5bd77c 100644--- a/studio/frontend/src/features/studio/sections/model-section.tsx+++ b/studio/frontend/src/features/studio/sections/model-section.tsx@@ -170,14 +170,25 @@ export function ModelSection() {return ids;}, [hfResults, selectedModel]);+ // Filter out GGUF models — they can't be used for training+ const trainableLocalModels = useMemo(+ () =>+ localModels.filter((m) => {+ if (m.path.endsWith(".gguf")) return false;+ if (m.id.toLowerCase().includes("-gguf")) return false;+ return true;+ }),+ [localModels],+ );+const localMetaById = useMemo(() => {const map = new Map<string, LocalModelInfo>();- for (const model of localModels) map.set(model.id, model);+ for (const model of trainableLocalModels) map.set(model.id, model);return map;- }, [localModels]);+ }, [trainableLocalModels]);const localResultIds = useMemo(() => {- const ids = localModels.map((model) => model.id);+ const ids = trainableLocalModels.map((model) => model.id);const manual = localModelInput.trim();if (manual && !ids.includes(manual)) {ids.unshift(manual);@@ -341,8 +352,8 @@ export function ModelSection() {<p className="text-[10px] text-red-500">{localModelsError}</p>) : (<p className="text-[10px] text-muted-foreground">- {localModels.length > 0- ? `${localModels.length} local/cached models found`+ {trainableLocalModels.length > 0+ ? `${trainableLocalModels.length} local/cached models found`: "No local models found. Enter path manually."}</p>)}diff --git a/studio/frontend/src/hooks/use-hf-model-search.ts b/studio/frontend/src/hooks/use-hf-model-search.tsindex 0029f13317e..6ba70a4d5cd 100644--- a/studio/frontend/src/hooks/use-hf-model-search.ts+++ b/studio/frontend/src/hooks/use-hf-model-search.ts@@ -11,6 +11,7 @@ export interface HfModelResult {}const EXCLUDED_TAGS = new Set([+ "gguf","gptq","awq","exl2",