Skip to content

clean_extra_files有bug #187

Description

@danqing16

代码路径:micro_perf/backends/GPU/backend_gpu.py
这个函数被放在了 del 析构函数里执行:
del 是 Python 解释器关闭、程序退出最后一刻 才调用
此时 Python 已经开始销毁内置模块(sys/pathlib/shutil 全都被卸载了)
你强行调用 pathlib.Path.cwd() → 模块不存在 → 直接抛错:
sys.meta_path is None, Python is likely shutting down

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions