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
Fix/windowsprebuilt (#5241)
DoubleMathew7d227ed70888
diff --git a/studio/install_llama_prebuilt.py b/studio/install_llama_prebuilt.pyindex 23e6b7c0e42..1aa3e501f8e 100755--- a/studio/install_llama_prebuilt.py+++ b/studio/install_llama_prebuilt.py@@ -2662,7 +2662,7 @@ def pick_windows_cuda_runtime(host: HostInfo) -> str | None:if not host.driver_cuda_version:return Nonemajor, minor = host.driver_cuda_version- if major > 13 or (major == 13 and minor >= 1):+ if major > 13 or (major == 13): # and minor >= 1):return "13.1"if major > 12 or (major == 12 and minor >= 4):return "12.4"@@ -4470,7 +4470,7 @@ def validate_server(),**windows_hidden_subprocess_kwargs(),)- deadline = time.time() + 20+ deadline = time.time() + 60startup_started = time.time()response_body = ""last_error: Exception | None = Nonediff --git a/tests/studio/install/test_selection_logic.py b/tests/studio/install/test_selection_logic.pyindex 6a2e367dc85..5150d2d2ab7 100644--- a/tests/studio/install/test_selection_logic.py+++ b/tests/studio/install/test_selection_logic.py@@ -420,6 +420,10 @@ class TestPickWindowsCudaRuntime:host = make_host(driver_cuda_version = (13, 1))assert pick_windows_cuda_runtime(host) == "13.1"+ def test_driver_13_0_uses_cuda13_line(self):+ host = make_host(driver_cuda_version = (13, 0))+ assert pick_windows_cuda_runtime(host) == "13.1"+class TestCompatibleWindowsRuntimeLines:def test_no_driver(self):@@ -434,6 +438,10 @@ class TestCompatibleWindowsRuntimeLines:host = make_host(driver_cuda_version = (13, 1))assert compatible_windows_runtime_lines(host) == ["cuda13", "cuda12"]+ def test_driver_13_0_uses_cuda13_line(self):+ host = make_host(driver_cuda_version = (13, 0))+ assert compatible_windows_runtime_lines(host) == ["cuda13", "cuda12"]+# ===========================================================================# H. runtime_line_from_cuda_version@@ -1769,6 +1777,15 @@ class TestWindowsCudaAttempts:assert result[0].runtime_line == "cuda13"assert result[1].runtime_line == "cuda12"+ def test_driver_13_0_cuda13_dlls_selects_cuda13_asset(self, monkeypatch):+ mock_windows_runtime(monkeypatch, ["cuda13"])+ host = make_host(system = "Windows", machine = "AMD64", driver_cuda_version = (13, 0))+ assets = self._upstream("13.1", "12.4")+ result = windows_cuda_attempts(host, self.TAG, assets, None)+ assert len(result) == 1+ assert result[0].runtime_line == "cuda13"+ assert result[0].name == f"llama-{self.TAG}-bin-win-cuda-13.1-x64.zip"+def test_preferred_reorders(self, monkeypatch):mock_windows_runtime(monkeypatch, ["cuda13", "cuda12"])host = make_host(system = "Windows", machine = "AMD64", driver_cuda_version = (13, 1))