-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Python ILogger Subclassing example does not work #2253
Comments
Looks like you're referring to the 8.4.2 docs. Can you try upgrading your TensorRT version? |
@pranavm-nvidia ah good catch, I'll try that today and let you know. |
@pranavm-nvidia unfortunately it seems that since this system is meant to be deployed on a Jetson I cannot upgrade the tensorrt version for my testing (which produced the error above) beyond what the target device is capable of (the target is running jetpack 4.5 meaning the trt version is 7.1) Upgrading the jetpack version on the device is not possible. Reference: |
Unfortunately, this API wasn't exposed in TRT 7, so I don't think there's much you can do short of upgrading. |
@pranavm-nvidia ah that's unfortunate. Do you know where I might be able to start if I wanted to work around this? Perhaps some kind of context manager to redirect the logger output? |
The logger output would go directly to stdout/stderr, so you'd have to capture it from there. What are you looking to do exactly? Is post-processing the logs an option? |
closing due to no activity for more than 3 weeks, please reopen if you still have question, thanks! |
Description
The example here is below
Unfortunately, this raises
I'm not really sure where to go from here. I've tried various import schemes and they all either raise the same error or don't do anything at all.
Environment
TensorRT Version: 7.2.1.6
Operating System: Ubuntu Linux 22.04
Python Version (if applicable): 3.6
Baremetal or Container (if so, version): Container (base: nvcr.io/nvidia/pytorch:20.11-py3 )
Relevant Files
Code snippet above is all you need
Steps To Reproduce
Run the above code snippet
The text was updated successfully, but these errors were encountered: