-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
torch_tensorrt.fx.converters.implwas not added to thepackagesandpackage_dirlist, hence theimpldirectory was not installed._Input.pywas not installed even though you had added it topackage_databecausetorch_tensorrtwas not in thepackageslist in FX_ONLY. Instead, you have to use py_modules to copy modules that aren't part of a package._Input.pyimported_enums.pywhich was also not installed in FX_ONLY. And_enums.pyimported stuff fromtorch_tensorrt._Cwhich was unavailable in FX_ONLY.torch_tensorrt/dynamo/__init__.pyimportedcompilefromtorch_tensorrt/dynamo/backend, but thebackenddirectory 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:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working