You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OSS release exports drop pyproject.toml files; Polygraphy can't be built from source since 11.3 #4894
The 11.3 OSS export (98adec8) deleted every pyproject.toml in the repo: there are nine at v11.2 (demo/Diffusion, demo/Diffusion/tests, five under python/packaging and two under tools/onnx-graphsurgeon) and none at v11.3, v11.4 or main. It has happened before: the 11.0 export (771d8ef) deleted demo/Diffusion/pyproject.toml, which #4707 had added. #4890 (python/packaging/bindings_wheel/pyproject.toml) is another symptom.
For Polygraphy this breaks the documented build. The 11.3 export also removed tools/Polygraphy/setup.py and setup.cfg and switched the Makefile and install.ps1 to python -m build --wheel (CHANGELOG v0.49.34: "Migrated the build system to pyproject.toml"), but Polygraphy's own pyproject.toml isn't in the tree at v11.3, v11.4 or main. So the README's "Building From Source" steps fail.
Could the export be fixed so it stops dropping pyproject.toml files? Restoring Polygraphy's is the immediate case. For reference, this commit adds one that reproduces the metadata of the polygraphy 0.53.6 wheel on PyPI, and I can open it as a PR: main...ConnorBaker:TensorRT:polygraphy-add-pyproject-toml
Environment
TensorRT Version: OSS v11.4 (16ed063, also main); Polygraphy 0.53.6
NVIDIA GPU: N/A (packaging only)
NVIDIA Driver Version: N/A
CUDA Version: N/A
CUDNN Version: N/A
Operating System: Linux x86_64
Python Version (if applicable): 3.14.8, build 1.5.1
Tensorflow Version (if applicable): N/A
PyTorch Version (if applicable): N/A
Baremetal or Container (if so, version): Nix build sandbox, no container
ERROR Source .../TensorRT/tools/Polygraphy does not appear to be a Python project: no pyproject.toml or setup.py
make: *** [Makefile:69: build] Error 1
Have you tried the latest release?: Yes, v11.4 is the latest, and main is the same commit.
Can this model run on other frameworks? For example run ONNX model with ONNXRuntime (polygraphy run <model.onnx> --onnxrt): N/A
AI disclosure: this report was prepared with Claude Code (Claude Opus 5.5).
Activity
NVIDIA#4894 - Polygraphy: add the missing pyproject.toml