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/07/15 06:50:35 UTC

[GitHub] [tvm] masahi edited a comment on pull request #8443: Support aten::grid_sampler, aten::im2col, Fix bug aten::Float

masahi edited a comment on pull request #8443:
URL: https://github.com/apache/tvm/pull/8443#issuecomment-880442819


   @delldu Please drop support for script mode. Just because your model has control flow doesn't mean these ops also need to be scripted. You can do trace and selectively script certain parts of your model using `torch.jit._script_if_tracing`. This is how MaskRCNN in torchvision is implemented, for example. See https://github.com/pytorch/vision/blob/master/torchvision/models/detection/roi_heads.py#L454


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