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.

Update _utils.py

Daniel Hanf8ccb5758a48
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index f81468f80ad..af1d12c293a 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -1107,22 +1107,22 @@ def unsloth_compile_transformers(
for model_type in model_types:
_unsloth_compile_transformers(
model_type,
- sdpa_causal_only = sdpa_causal_only,
- sdpa_bool_masks = sdpa_bool_masks,
- sdpa_gqa_replace = sdpa_gqa_replace,
- sdpa_disable_compile = sdpa_disable_compile,
- compile_attention = compile_attention,
- disable_causal_masks = disable_causal_masks,
- import_from_cache = import_from_cache,
- compile_torch_modules = compile_torch_modules,
+ sdpa_causal_only = sdpa_causal_only,
+ sdpa_bool_masks = sdpa_bool_masks,
+ sdpa_gqa_replace = sdpa_gqa_replace,
+ sdpa_disable_compile = sdpa_disable_compile,
+ compile_attention = compile_attention,
+ disable_causal_masks = disable_causal_masks,
+ import_from_cache = import_from_cache,
+ compile_torch_modules = compile_torch_modules,
compile_custom_modules = compile_custom_modules,
compile_function_calls = compile_function_calls,
- fuse_lm_head = fuse_lm_head,
- epilogue_fusion = epilogue_fusion,
- max_autotune = max_autotune,
- shape_padding = shape_padding,
- cudagraphs = cudagraphs,
- debug = debug,
+ fuse_lm_head = fuse_lm_head,
+ epilogue_fusion = epilogue_fusion,
+ max_autotune = max_autotune,
+ shape_padding = shape_padding,
+ cudagraphs = cudagraphs,
+ debug = debug,
)
pass
return