Skip to content

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

Use uppercase -GGUF suffix for GGUF export default names (#6538)

Daniel Han307455762c49
diff --git a/studio/frontend/src/features/export/components/export-run-panel.tsx b/studio/frontend/src/features/export/components/export-run-panel.tsx
index ebd35c2158a..9e0edf73039 100644
--- a/studio/frontend/src/features/export/components/export-run-panel.tsx
+++ b/studio/frontend/src/features/export/components/export-run-panel.tsx
@@ -320,7 +320,7 @@ export function ExportRunPanel(props: ExportRunPanelProps) {
Model Name
</label>
<Input
- placeholder="my-model-gguf"
+ placeholder="my-model-GGUF"
value={modelName}
onChange={(e) => onModelNameChange(e.target.value)}
/>
diff --git a/studio/frontend/src/features/export/export-page.tsx b/studio/frontend/src/features/export/export-page.tsx
index 14022f4d19c..4d3cfad5dce 100644
--- a/studio/frontend/src/features/export/export-page.tsx
+++ b/studio/frontend/src/features/export/export-page.tsx
@@ -84,7 +84,7 @@ function buildRelativeSaveDirectory(
): string {
if (exportMethod === "gguf") {
return `${(sourceBaseModelName.split("/").pop() ?? selectedModelIdx ?? "model")
- .replace(/[^a-zA-Z0-9._-]/g, "-")}-gguf`;
+ .replace(/[^a-zA-Z0-9._-]/g, "-")}-GGUF`;
}
return `${selectedModelIdx ?? "model"}/${checkpoint}`;
}
@@ -93,6 +93,8 @@ function siblingGgufDirectory(sourcePath: string): string | null {
const trimmed = sourcePath.trim().replace(/[\\/]+$/, "");
if (!trimmed) return null;
const slash = Math.max(trimmed.lastIndexOf("/"), trimmed.lastIndexOf("\\"));
+ // Lowercase `_gguf` matches the backend's intermediate dir (core/export/export.py);
+ // `_GGUF` would relocate+delete that sibling.
if (slash < 0) return `${trimmed}_gguf`;
const parent =
slash === 0 || (slash === 2 && /^[A-Za-z]:/.test(trimmed))