Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyuangong authored and Oscilloscope98 committed Jun 18, 2024
1 parent f83ba40 commit e34d5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/llm/src/ipex_llm/utils/ipex_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def custom_ipex_import(name, globals=None, locals=None, fromlist=(), level=0):
"""
if fromlist is not None or '.' in name:
return RAW_IMPORT(name, globals, locals, fromlist, level)
# Avoid raise exception in submodule import
# Avoid errors in submodule import
calling = get_calling_package()
if calling is not None:
return RAW_IMPORT(name, globals, locals, fromlist, level)
Expand Down

0 comments on commit e34d5ea

Please sign in to comment.