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
Restore the #8335 WMI guard anchor after the RDNA1 wrapper (#8684)
Daniel Han9ae9b2c6364e
diff --git a/tests/studio/test_amd_venv_repair_loop.ps1 b/tests/studio/test_amd_venv_repair_loop.ps1index 694750b8d37..388f9ded115 100644--- a/tests/studio/test_amd_venv_repair_loop.ps1+++ b/tests/studio/test_amd_venv_repair_loop.ps1@@ -247,9 +247,11 @@ Write-Host "=== source shapes ==="$setupText = (Get-Content -Raw $setup) -replace "`r`n", "`n"Write-Host "the AMD WMI fallback survives a single-GPU host"-# The trailing `\]\n` is what makes the CRLF check below bite: on a CRLF checkout the line ends-# `[0]\r\n`, so the pattern fails rather than matching a silently empty region.-$_wmiPat = '(?s)(\$amdGpus = @\(Get-CimInstance Win32_VideoController.*?\$ROCmGpuLabel = \$script:ROCmGpuLabels\[0\]\n)'+# The trailing `\n` is what makes the CRLF check below bite: on a CRLF checkout the line ends+# `\r\n`, so the pattern fails rather than matching a silently empty region. `[^\r\n]*` absorbs+# whatever guards the assignment (#8577 wrapped it in `if (-not $HasROCm) { ... }`) WITHOUT+# absorbing the `\r`, which would hand the CRLF check a match and retire it silently.+$_wmiPat = '(?s)(\$amdGpus = @\(Get-CimInstance Win32_VideoController.*?\$ROCmGpuLabel = \$script:ROCmGpuLabels\[0\][^\r\n]*\n)'$_wmi = if ($setupText -match $_wmiPat) { $Matches[1] } else { "" }Check "the WMI fallback was found" ($_wmi -ne "")Check "CRLF is normalised, not tolerated" (-not (($setupText -replace "`n", "`r`n") -match $_wmiPat))