fix: make Polygraphy tools work with Python 3.13 by agkphysics · Pull Request #4703 · NVIDIA/TensorRT
Conversation
I noticed that some tools, such as polygraphy inspect model, did not work in Python 3.13. I got Claude to debug and issue seems to be due to using locals() when running the generated script. The fix Claude suggested looks correct, but I cannot run all the tests since the requirements are years old and do not work properly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters