apache / apache/tvm

[Bug] terminate called after throwing an instance of 'tvm::runtime::InternalError'

Open
#17,552 2 comments 0 reactions 0 assignees View on GitHub
needs-triage type: bug
Dominant language
Python
Stars
13.7k
Forks
4k
Avg merge
2d 19h
Merged PRs (30d)
111

Description

terminate called after throwing an instance of 'tvm::runtime::InternalError'
what(): [14:56:47] /tvm/src/runtime/module.cc:88: InternalError: Check failed: (f != nullptr) is false: Loader for `.` files is not registered, resolved to (runtime.module.loadfile_so) in the global registry.Ensure that you have loaded the correct runtime code, andthat you are on the correct hardware architecture.
Stack trace:
0: tvm::runtime::Module::LoadFromFile(tvm::runtime::String const&, tvm::runtime::String const&)
1: DeployGraphExecutor()
2: main
3: _start
4: 0xffffffffffffffff

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the failure at src/runtime/module.cc:88 and trace the DeployGraphExecutor() call shown in the stack trace. Check how the runtime loader for . files is registered and whether the selected runtime code matches the hardware architecture. Done means reproducing the failure's cause and resolving the InternalError for the affected deployment path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.