From 7e2a61aab4e84eb225579db6bab8426c50de2a68 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 16 Dec 2025 19:51:10 -0800 Subject: [PATCH] Update import_fixes.py --- unsloth/import_fixes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py index 458221cf18..1577a8384e 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]