You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "ehion (via GitHub)" <gi...@apache.org> on 2023/10/17 15:08:18 UTC

Re: [PR] [BYOC][TensorRT] TensorRT BYOC integration [tvm]

ehion commented on PR #6395:
URL: https://github.com/apache/tvm/pull/6395#issuecomment-1766615940

   i am curious how to run autotvm with tensorrt when i run 
   ```
   mod = partition_for_tensorrt(mod, params)
   *********
   tasks = autotvm.task.extract_from_program(
           mod['main'], target=target, params=params
           # , ops=(relay.op.get("nn.conv2d"),)
       )
   ```
   error log :
   ValueError: Cannot find global var "tvmgen_default_tensorrt_main_0" in the Module
   candidates are: ["main"]
   
    


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org