Update import_fixes.py
This commit is contained in:
parent
9cda89cede
commit
7e2a61aab4
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue