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 import_fixes.py

Daniel Han967fd5199081
diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py
index 458221cf186..1577a8384e2 100644
--- a/unsloth/import_fixes.py
+++ b/unsloth/import_fixes.py
@@ -427,7 +427,7 @@ def fix_openenv_no_vllm():
# Fix Exeuctorch needing get_mapped_key
def fix_executorch():
if importlib.util.find_spec("executorch") is None:
- print(1)
+ return
executorch_location = importlib.util.find_spec("executorch").origin
if executorch_location is None:
executorch_location = importlib.util.find_spec("executorch").submodule_search_locations[0]