Skip to content

[Bug] CodeGenVM cannot handle this intrinsic now: Op(relax.nn.conv2d_transpose) #17890

Description

@sidsingla

Hi,
I am getting the following error:

exec = tvm.compile(mod_from_torch, target="llvm")


*** tvm._ffi.base.TVMError: Traceback (most recent call last):
  7: _ZN3tvm7runtime13PackedFun
  6: tvm::runtime::TypedPackedFunc<tvm::IRModule (tvm::relax::ExecBuilder, tvm::IRModule)>::AssignTypedLambda<tvm::IRModule (*)(tvm::relax::ExecBuilder, tvm::IRModule)>(tvm::IRModule (*)(tvm::relax::ExecBuilder, tvm::IRModule), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*) const
  5: tvm::relax::relax_vm::VMCodeGen(tvm::relax::ExecBuilder, tvm::IRModule)
  4: tvm::relax::relax_vm::CodeGenVM::Run(tvm::relax::ExecBuilder, tvm::IRModule)
  3: tvm::relax::relax_vm::CodeGenVM::Codegen(tvm::relax::Function const&)
  2: tvm::relax::relax_vm::CodeGenVM::VisitExpr_(tvm::relax::SeqExprNode const*)
  1: tvm::relax::relax_vm::CodeGenVM::VisitExpr_(tvm::relax::CallNode const*)
  0: _ZN3tvm7runtime6deta
  File "/workspace/tvm/src/relax/backend/vm/codegen_vm.cc", line 156
TVMError: CodeGenVM cannot handle this intrinsic now:
Op(relax.nn.conv2d_transpose)

I am looking to convert a GAN model with Conv2d-transpose layers. This is after the TVM graph is generated from the Torch model directly.

Using v20.0 from the nightly build. Legalize() is used before the build
Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions