-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
No ActivitybugSomething isn't workingSomething isn't workingcomponent: convertersIssues re: Specific op convertersIssues re: Specific op converterscomponent: partitioning
Description
Bug Description
Torch_tensorrt compile doesn’t support pretrained torchvision Mask_RCNN model.
Error:
RuntimeError:
temporary: the only valid use of a module is looking up an attribute but found = prim::SetAttr[name=“_has_warned”](%self, %178)
:
To Reproduce
Steps to reproduce the behavior:
- Please execute the .ipynb notebook attached below
https://drive.google.com/file/d/1nN95csu4r9KQJhH8XaryGFYdBPiAKlqm/view
Expected behavior
Expected the pretained mask rcnn model from the torchvision module to compile.
Environment
Build information about Torch-TensorRT can be found by turning on debug messages
- TensorRT Version: 1.2.0a0
- GPU Type: GeForce RTX 3070
- Nvidia Driver Version: 470.141.03
- CUDA Version: 11.4
- Operating System + Version: Ubuntu 20.04
- Python Version (if applicable): 3.8.13
- TensorFlow Version (if applicable): -
- PyTorch Version (if applicable): 1.13.0a0+08820cb
- How you installed PyTorch (
conda,pip,libtorch, source): pip [pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116] - Baremetal or Container (if container which image + tag): Nvidia NGC Container [nvcr.io/nvidia/pytorch:22.07-py3]
Metadata
Metadata
Labels
No ActivitybugSomething isn't workingSomething isn't workingcomponent: convertersIssues re: Specific op convertersIssues re: Specific op converterscomponent: partitioning