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.

add fmpeg system support for linux and windows

Roland Tannouse455b307be12
diff --git a/setup.ps1 b/setup.ps1
index 5a573126aac..1c05ac064bc 100644
--- a/setup.ps1
+++ b/setup.ps1
@@ -526,7 +526,31 @@ if ($NeedNode) {
Write-Host "[OK] Node $(node -v) | npm $(npm -v)" -ForegroundColor Green
# ============================================
-# 1g. Python (>= 3.11 and < 3.14, matching setup.sh)
+# 1g. FFmpeg (required for audio model support)
+# ============================================
+$HasFFmpeg = $null -ne (Get-Command ffmpeg -ErrorAction SilentlyContinue)
+if (-not $HasFFmpeg) {
+ Write-Host "FFmpeg not found -- installing via winget..." -ForegroundColor Yellow
+ $HasWinget = $null -ne (Get-Command winget -ErrorAction SilentlyContinue)
+ if ($HasWinget) {
+ try {
+ winget install -e --id Gyan.FFmpeg --source winget --accept-package-agreements --accept-source-agreements 2>&1 | Out-Null
+ Refresh-Environment
+ $HasFFmpeg = $null -ne (Get-Command ffmpeg -ErrorAction SilentlyContinue)
+ } catch { }
+ }
+ if (-not $HasFFmpeg) {
+ Write-Host "[WARN] FFmpeg could not be installed automatically." -ForegroundColor Yellow
+ Write-Host " Install FFmpeg from https://ffmpeg.org/download.html and re-run." -ForegroundColor Yellow
+ } else {
+ Write-Host "[OK] FFmpeg installed: $(ffmpeg -version | Select-Object -First 1)" -ForegroundColor Green
+ }
+} else {
+ Write-Host "[OK] FFmpeg found: $(ffmpeg -version | Select-Object -First 1)" -ForegroundColor Green
+}
+
+# ============================================
+# 1h. Python (>= 3.11 and < 3.14, matching setup.sh)
# ============================================
$HasPython = $null -ne (Get-Command python -ErrorAction SilentlyContinue)
$PythonOk = $false
diff --git a/studio/backend/utils/datasets/model_mappings.py b/studio/backend/utils/datasets/model_mappings.py
index 56e8ea70c10..b91c189c2ba 100644
--- a/studio/backend/utils/datasets/model_mappings.py
+++ b/studio/backend/utils/datasets/model_mappings.py
@@ -419,9 +419,13 @@ TEMPLATE_TO_RESPONSES_MAPPER = {
"instruction": "<start_of_turn>user\n",
"response": "<start_of_turn>model\n",
},
- "qwen3-instruct": {
+ "qwen3.5": {
"instruction": "<|im_start|>user\n",
- "response": "<|im_start|>assistant\n",
+ "response": "<|im_start|>assistant\n<think>\n",
+ },
+ "qwen3-instruct": {
+ "instruction": "1user\n",
+ "response": "1assistant\n",
},
"qwen3-thinking": {
"instruction": "<|im_start|>user\n",