From fb257671364fb035ce355be4bfdfd200932b5572 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 16:12:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/core/inference/llama_cpp.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py index 40191e3167..e25c5f3f2b 100644 --- a/studio/backend/core/inference/llama_cpp.py +++ b/studio/backend/core/inference/llama_cpp.py @@ -15757,10 +15757,7 @@ class LlamaCppBackend: effective_ctx > native_ctx_for_cap ): _extended_ceiling = _apple_ctx_fit(effective_ctx, _FIT_MIN_CTX) - if ( - _apple_footprint_mib(_extended_ceiling) - > _apple_fit_budget_mib - ): + if _apple_footprint_mib(_extended_ceiling) > _apple_fit_budget_mib: # 4096 is the helper's floor, not a measurement, and # the cap above already has to re-price under it for # the same reason. It bites here too whenever the