Skip to content

Could not use GraphExecutor to load optimized models tuned before GraphRuntime renamed into GraphExecutor #7822

@JC1DA

Description

@JC1DA

I have a .so module tuned a month ago. When I tried to run that model with the latest tvm.
I noticed that tvm.contrib.graph_runtime was no longer supported. I have to use tvm.contrib.graph_executor instead.
(GraphRuntime was renamed as GraphExecutor from this commit 9b43a64 )

But when I loaded the module using graph_executor, I got this error
#########################
tvm.runtime.load_module(model_path)

TVMError: Binary was created using GraphRuntimeFactory but a loader of that name is not registered. Available loaders are GraphExecutorFactory, VMExecutable, metadata. Perhaps you need to recompile with this runtime enabled.
#########################

Can we add the support to load old modules using GraphExecutor?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions