Closed
Description
Bug Description
torch_tensorrt.fx.converters.impl
was not added to thepackages
andpackage_dir
list, hence theimpl
directory was not installed._Input.py
was not installed even though you had added it topackage_data
becausetorch_tensorrt
was not in thepackages
list in FX_ONLY. Instead, you have to use py_modules to copy modules that aren't part of a package._Input.py
imported_enums.py
which was also not installed in FX_ONLY. And_enums.py
imported stuff fromtorch_tensorrt._C
which was unavailable in FX_ONLY.torch_tensorrt/dynamo/__init__.py
importedcompile
fromtorch_tensorrt/dynamo/backend
, but thebackend
directory was not installed in FX_ONLY.
To Reproduce
python3 setup.py install --fx-only
Environment
- Torch-TensorRT Version (e.g. 1.0.0): 1.4.0
- PyTorch Version (e.g. 1.0): 2.0.1+cu118
- CPU Architecture: x86_64
- OS (e.g., Linux): Windows
- How you installed PyTorch (
conda
,pip
,libtorch
, source): pip - Build command you used (if compiling from source):
- Are you using local sources or building from archives:
- Python version: 3.11.3
- CUDA version: 11.8
- GPU models and configuration:
- Any other relevant information: