| 18 Mar 2025 |
Michal Koutenský | i tried listing the archive and grepping for cpXY and tensorrt- but that's quite slow unfortunately | 20:01:51 |
stick | looking at versions of tensorrt and pypi - only these two are affected:
8.6.1.6 vs 8.6.1
10.3.0.26 vs 10.3.0 | 20:03:39 |
stick | because 8.5.3.1 uses the same version in pypy (including the .1) and older versions are not present on pypi at all | 20:04:37 |
Michal Koutenský | guess i can submit a PR that conditionally changes the filename for those two | 20:06:15 |
Michal Koutenský | thanks for your help! | 20:06:40 |
stick | that would work, ping me in the PR, thanks | 20:07:02 |
stick | you would just override the version here:
https://github.com/NixOS/nixpkgs/blob/59b1aef59071cae6e87859dc65de973d2cc595c0/pkgs/development/python-modules/tensorrt/default.nix#L16 | 20:07:24 |
Michal Koutenský | not in the unpack phase? | 20:07:53 |
stick | i guess the question is what version is being reported by the wheel | 20:09:08 |
stick | try calling
import tensorrt print(tensorrt.version)
| 20:10:01 |
stick | * try calling
import tensorrt
print(tensorrt.__version__)
| 20:10:10 |
stick | or
import tensorrt
from importlib.metadata import version
version('tensorrt')
| 20:11:00 |
stick | if you are feeling adventurous, you might as well update pkgs/development/cuda-modules/tensorrt/releases.nix to contain the latest 10.9.x.y release | 20:12:02 |
stick | * if you are feeling adventurous, you might as well update pkgs/development/cuda-modules/tensorrt/releases.nix to contain the latest 10.9.x.y release (both for cuda 11.x and 12.x) | 20:12:16 |