Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mmengine/config/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def _is_builtin_module(module_name: str) -> bool:
origin_path = getattr(spec, 'origin', None)
if origin_path is None:
return False
if origin_path == 'frozen':
return True
origin_path = osp.abspath(origin_path)
if ('site-package' in origin_path or 'dist-package' in origin_path
or not origin_path.startswith(
Expand Down
Loading