Skip to content

Conversation

@gszep
Copy link

@gszep gszep commented Mar 24, 2025

Following the official migration guide https://docs.nvidia.com/deeplearning/tensorrt/latest/api/migration-guide.html theEngine.allocate_buffers method can be updated to make this repo compatible with TensorRT 10.

This significantly simplifies dependencies, removing the need for the additional script python -m streamdiffusion.tools.install-tensorrt

  1. Latest versions of tensorrt, polygraphy and onnx-graphsurgeon can be installed from PyPi.
  2. TensorRT can be installed using a more modern dependency manager Poetry
poetry source add --priority=supplemental nvidia https://pypi.nvidia.com
poetry add --source nvidia tensorrt-cu12 tensorrt-cu12-libs tensorrt-cu12-bindings

Related issues:
#77
NVIDIA/TensorRT#3050

Following the official migration guide https://docs.nvidia.com/deeplearning/tensorrt/latest/api/migration-guide.html the`Engine.allocate_buffers` method can be updated to make this repo compatible with TensorRT 10.

This significantly simplifies dependencies, removing the need for the additional script `python -m streamdiffusion.tools.install-tensorrt`

1. Latest versions of `tensorrt`, `polygraphy` and `onnx-graphsurgeon` can be installed from PyPi.
2. TensorRT can be installed using a more modern dependency manager Poetry
```bash
poetry source add --priority=supplemental nvidia https://pypi.nvidia.com
poetry add --source nvidia tensorrt-cu12 tensorrt-cu12-libs tensorrt-cu12-bindings
```

Related issues:
cumulo-autumn#77
NVIDIA/TensorRT#3050
tjcashman added a commit to tjcashman/StreamDiffusion that referenced this pull request Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant