Beom-jin opened a new issue, #16037:
URL: https://github.com/apache/tvm/issues/16037

   Hello, this is my first time using TVM. An error appears when running 
realy.build. Can you suggest a solution?
   
   
   The error is as follows
   
   
   tvm.error.InternalError: Traceback (most recent call last):
     28: 
tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::relay::backend::RelayBuildModule::GetFunction(tvm::runtime::String
 const&, tvm::runtime::ObjectPtr<tvm::runtime:
   :Object> const&)::{lambda(tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)#3}> >::Call(tvm::runtime::PackedFuncObj const*, 
tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
     27: tvm::relay::backend::RelayBuildModule::BuildRelay(tvm::IRModule, 
tvm::runtime::String const&)
     26: tvm::relay::backend::RelayBuildModule::OptimizeImpl(tvm::IRModule)
     25: tvm::transform::Pass::operator()(tvm::IRModule) const
     24: tvm::transform::Pass::operator()(tvm::IRModule, 
tvm::transform::PassContext const&) const
     23: tvm::transform::SequentialNode::operator()(tvm::IRModule, 
tvm::transform::PassContext const&) const
     22: tvm::transform::Pass::operator()(tvm::IRModule, 
tvm::transform::PassContext const&) const
     21: tvm::transform::SequentialNode::operator()(tvm::IRModule, 
tvm::transform::PassContext const&) const
     20: tvm::transform::Pass::operator()(tvm::IRModule, 
tvm::transform::PassContext const&) const
     19: tvm::relay::transform::FunctionPassNode::operator()(tvm::IRModule, 
tvm::transform::PassContext const&) const
     18: 
tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::relay::Function
 (tvm::relay::Function, tvm::IRModule, tvm::transform::PassContext)
   
>::AssignTypedLambda<tvm::relay::qnn::transform::QnnCanonicalize()::{lambda(tvm::relay::Function,
 tvm::IRModule, 
tvm::transform::PassContext)#1}>(tvm::relay::qnn::transform::QnnCanonicalize()::
   {lambda(tvm::relay::Function, tvm::IRModule, 
tvm::transform::PassContext)#1})::{lambda(tvm::runtime::TVMArgs const&, 
tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, 
   tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
     17: tvm::relay::legalize::Legalize(tvm::RelayExpr const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&)
     16: tvm::relay::PostOrderRewrite(tvm::RelayExpr const&, 
tvm::relay::ExprRewriter*)
     15: tvm::relay::MixedModeMutator::VisitExpr(tvm::RelayExpr const&)
     14: tvm::relay::MixedModeMutator::VisitLeaf(tvm::RelayExpr const&)
     13: tvm::relay::PostOrderRewriter::DispatchVisitExpr(tvm::RelayExpr const&)
     12: tvm::relay::ExprFunctor<tvm::RelayExpr (tvm::RelayExpr 
const&)>::VisitExpr(tvm::RelayExpr const&)
     11: 
_ZZN3tvm5relay11ExprFunctorIFNS_9RelayExprERKS2_EE10InitVTableEvENUlRKNS_
     10: tvm::relay::ExprMutator::VisitExpr_(tvm::relay::FunctionNode const*)
     9: tvm::relay::MixedModeMutator::VisitExpr(tvm::RelayExpr const&)
     8: tvm::relay::MixedModeMutator::VisitLeaf(tvm::RelayExpr const&)
     7: tvm::relay::PostOrderRewriter::DispatchVisitExpr(tvm::RelayExpr const&)
     6: tvm::relay::ExprRewriter::Rewrite(tvm::RelayExpr const&, tvm::RelayExpr 
const&)
     5: 
_ZZN3tvm5relay12ExprRewriter10InitVTableEvENUlRKNS_7runtime9ObjectRefEPS1
     4: tvm::relay::legalize::Legalizer::Rewrite_(tvm::relay::CallNode const*, 
tvm::RelayExpr const&)
     3: _ZN3tvm7runtime13PackedFuncObj
     2: tvm::runtime::TypedPackedFunc<tvm::RelayExpr (tvm::Attrs const&, 
tvm::runtime::Array<tvm::RelayExpr, void> const&, 
tvm::runtime::Array<tvm::Type, void> const&)>::AssignTypedLambda<tvm::RelayExpr 
(*)(tvm::Attrs const&, tvm::runtime::Array<tvm::RelayExpr, void> const&, 
tvm::runtime::Array<tvm::Type, void> const&)>(tvm::RelayExpr (*)(tvm::Attrs 
const&, tvm::runtime::Array<tvm::RelayExpr, void> const&, 
tvm::runtime::Array<tvm::Type, void> const&))::{lambda(tvm::runtime::TVMArgs 
const&, tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs 
const&, tvm::runtime::TVMRetValue*) const
     1: tvm::relay::qnn::RequantizeQnnCanonicalize(tvm::Attrs const&, 
tvm::runtime::Array<tvm::RelayExpr, void> const&, 
tvm::runtime::Array<tvm::Type, void> const&)
     0: tvm::relay::qnn::RequantizeConfigNode::get_compute_dtype[abi:cxx11]() 
const
    InternalError: Check failed: (target_has_feature_fn_ptr) is false: Function 
target.target_has_feature not found
   
   
   
   This is my environment information
   
   TVM version : tvm0.15.dev()
   HW : NVIDIA GeForce RTX 3090 / CUDA 11.7 
   
    Does anybody know how to fix it?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to