From b2fe9f4093f10e96878e60fa721a4f1bd3bf4834 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 07:10:07 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- unsloth/_gpu_init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unsloth/_gpu_init.py b/unsloth/_gpu_init.py index 1ed3d1768f..addcdfd3fa 100644 --- a/unsloth/_gpu_init.py +++ b/unsloth/_gpu_init.py @@ -201,7 +201,8 @@ if os.environ.get("UNSLOTH_FORCE_SINGLE_COMPILE_WORKER", "0") == "1": try: setattr( importlib.import_module("unsloth_zoo.temporary_patches.common"), - "determine_compile_threads", lambda: 1, + "determine_compile_threads", + lambda: 1, ) except Exception: pass