TODO _Originally posted by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/59#discussion_r819646143_