fix: make Polygraphy tools work with Python 3.13 by agkphysics · Pull Request #4703 · NVIDIA/TensorRT

Conversation

@agkphysics

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.

Signed-off-by: Aaron Keesing <aaron.keesing@zozo.com>

1 participant

@agkphysics