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.

[pre-commit.ci] auto fixes from pre-commit.com hooks

pre-commit-ci[bot]1d9090ff6bb5
diff --git a/studio/install_llama_prebuilt.py b/studio/install_llama_prebuilt.py
index 91b11058327..bc4fe555c19 100644
--- a/studio/install_llama_prebuilt.py
+++ b/studio/install_llama_prebuilt.py
@@ -3361,8 +3361,7 @@ def _drop_blackwell_incapable_windows_cuda(
return [
attempt
for attempt in attempts
- if attempt.install_kind != "windows-cuda"
- or _windows_cuda_attempt_covers_blackwell(attempt)
+ if attempt.install_kind != "windows-cuda" or _windows_cuda_attempt_covers_blackwell(attempt)
]
diff --git a/tests/studio/install/test_selection_logic.py b/tests/studio/install/test_selection_logic.py
index 05da6585ded..dfa2378ef51 100644
--- a/tests/studio/install/test_selection_logic.py
+++ b/tests/studio/install/test_selection_logic.py
@@ -2441,7 +2441,11 @@ class TestBlackwellCuda124Exclusion:
compute_caps = ["120"],
)
- def _upstream_cuda(self, minor, tag = "b9365"):
+ def _upstream_cuda(
+ self,
+ minor,
+ tag = "b9365",
+ ):
return AssetChoice(
repo = "ggml-org/llama.cpp",
tag = tag,
@@ -2492,9 +2496,7 @@ class TestBlackwellCuda124Exclusion:
max_sm = 80,
)
assert (
- INSTALL_LLAMA_PREBUILT._drop_blackwell_incapable_windows_cuda(
- self._bw_host(), [bundle]
- )
+ INSTALL_LLAMA_PREBUILT._drop_blackwell_incapable_windows_cuda(self._bw_host(), [bundle])
== []
)