You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/06/01 13:14:06 UTC

[GitHub] [tvm] zyh3826 opened a new issue #8168: Program suspended when transform torch script to relay

zyh3826 opened a new issue #8168:
URL: https://github.com/apache/tvm/issues/8168


   I’m transforming torch script to relay using code like this:
   `mod_ts, params_ts = relay.frontend.from_pytorch(j_model, shape_list)`
   at jupyter notebook, I got the result, but at cmd I find the program suspended and not running, and some massages print in monitor like this:
   
   > [21:02:06] /root/tvm/src/relay/transforms/type_infer.cc:818: tvm::relay::transform::InferType
    [21:02:06] /root/tvm/src/ir/transform.cc:467: Executing module pass : RemoveUnusedFunctions with opt level: 1 
   [21:02:06] /root/tvm/src/ir/transform.cc:467: Executing module pass : InferType with opt level: 0 
   [21:02:06] /root/tvm/src/relay/transforms/type_infer.cc:818: tvm::relay::transform::InferType 
   [21:02:06] /root/tvm/src/ir/transform.cc:467: Executing module pass : RemoveUnusedFunctions with opt level: 1 
   [21:02:06] /root/tvm/src/ir/transform.cc:467: Executing module pass : RemoveUnusedFunctions with opt level: 1 
   [21:02:06] /root/tvm/src/ir/transform.cc:467: Executing module pass : ToBasicBlockNormalForm with opt level: 1
   
   anybody can tell me what happened? Thank you


-- 
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.

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



[GitHub] [tvm] zyh3826 commented on issue #8168: Program suspended when transform torch script to relay

Posted by GitBox <gi...@apache.org>.
zyh3826 commented on issue #8168:
URL: https://github.com/apache/tvm/issues/8168#issuecomment-852658529


   my environ:
   
   > os: Ubuntu 18.04.5 LTS
   cpu: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
   llvm: 6.0
   tvm: 0.8.dev0


-- 
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.

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



[GitHub] [tvm] zyh3826 edited a comment on issue #8168: Program suspended when transform torch script to relay

Posted by GitBox <gi...@apache.org>.
zyh3826 edited a comment on issue #8168:
URL: https://github.com/apache/tvm/issues/8168#issuecomment-852658529


   my environ:
   
   > os: Ubuntu 18.04.5 LTS
   cpu: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
   llvm: 6.0
   tvm: 0.8.dev0
   
   j_model is a huggingface Transformers BertModel


-- 
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.

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



[GitHub] [tvm] masahi commented on issue #8168: Program suspended when transform torch script to relay

Posted by GitBox <gi...@apache.org>.
masahi commented on issue #8168:
URL: https://github.com/apache/tvm/issues/8168#issuecomment-864674090


   I don't see actionable items, so I have to close this. For a question like this, please open a thread on the discuss forum. 


-- 
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.

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



[GitHub] [tvm] masahi closed issue #8168: Program suspended when transform torch script to relay

Posted by GitBox <gi...@apache.org>.
masahi closed issue #8168:
URL: https://github.com/apache/tvm/issues/8168


   


-- 
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.

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