How to enable tvm.contrib.graph_executor?

Windows 10 x64, python3.6.8, pytorch 1.7, tvm version 0.7.0, When I compile pytorch model according to the tutorial,it throws an error: from tvm.contrib import graph_executor : module doesn’t exist. So how to solve this problem?

hi @JackChen2021 ,

This module was renamed recently (from graph_runtime). The docs are meant to work with the latest main, so there may be some discrepancies between them and v0.7.0. Could you try either installing main or using graph_runtime in place of graph_executor?