Fix onnxruntime-gpu churn in Docker TensorRT FP8 install step#14
Merged
Merged
Conversation
nvidia-modelopt[onnx] (unbounded, floats to 0.45.0) hard-pins onnxruntime-gpu==1.22.0 on Windows and force-upgrades onnx to 1.21.0, which breaks FP8 quant (external-data loading -> negative QDQ scale). Pin modelopt==0.43.0 (the proven pin used by the installer's TD path) and drop the [onnx] extra, enumerating its deterministic deps explicitly instead — modelopt core has no onnx requirement, so the onnx==1.19.1/onnxruntime-gpu==1.24.4 pins installed just above are never perturbed. Mirrors the same fix landed in forkni/StreamDiffusion-installer#4. Co-Authored-By: Claude Opus 5 <[email protected]>
2 tasks
forkni
added a commit
that referenced
this pull request
Jul 19, 2026
nvidia-modelopt[onnx] (unbounded, floats to 0.45.0) hard-pins onnxruntime-gpu==1.22.0 on Windows and force-upgrades onnx to 1.21.0, which breaks FP8 quant (external-data loading -> negative QDQ scale). Pin modelopt==0.43.0 (the proven pin used by the installer's TD path) and drop the [onnx] extra, enumerating its deterministic deps explicitly instead — modelopt core has no onnx requirement, so the onnx==1.19.1/onnxruntime-gpu==1.24.4 pins installed just above are never perturbed. Mirrors the same fix landed in forkni/StreamDiffusion-installer#4 and #14 (SDTD_040_beta_release). Co-authored-by: Claude Opus 5 <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nvidia-modelopt[onnx]was unbounded here, floating to 0.45.0 — whose[onnx]extra force-upgradesonnxto 1.21.0 (breaks FP8 quant: external-data loading -> negative QDQ scale) and hard-pinsonnxruntime-gpu==1.22.0on Windows, downgrading off theonnx==1.19.1/onnxruntime-gpu==1.24.4pins installed just above.nvidia-modelopt==0.43.0(the same proven pin already used inforkni/StreamDiffusion-installer) and drop the[onnx]extra, enumerating its deterministic deps explicitly instead. modelopt core has no onnx requirement, so the churn/regression never enters the resolve.python -m streamdiffusion.tools.install-tensorrt, used by the three Dockerfiles).Test plan
py_compile src/streamdiffusion/tools/install-tensorrt.pypassesnvidia_modelopt-0.43.0.dist-info/METADATA'sextra == "onnx"Requires-Dist lines (same enumeration verified viapip --dry-runfor the installer-repo counterpart)🤖 Generated with Claude Code