-
Notifications
You must be signed in to change notification settings - Fork 365
🐛 [Bug] Missing directory and file in FX path (Python only) installation #1976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, thanks for reporting the issue. I wanted to clarify. I have added |
Ok, looking into this. |
Thanks for the repo steps above. |
From |
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
conda
,pip
,libtorch
, source): pipThe text was updated successfully, but these errors were encountered: