!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

291 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda58 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@justbrowsing:matrix.orgKevin Mittman (EOY sleep)TRT 10.3 is pretty old18:17:09
@stick:matrix.orgstick Michal Koutenský: i recommend you to use CUDA stuff from master/nixpkgs-unstable - many fixes go there and are not being backported to stable (24.11) 18:35:39
@stick:matrix.orgstickfor example I updated TRT to 10.8 there (and there is already 10.9, yay)18:36:04
@stick:matrix.orgstickbtw, zdravim do Brna :D18:36:36
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýdoes the python package build though? i checked master (and issues/prs) yesterday and there doesn't seem to be anything significant https://github.com/NixOS/nixpkgs/commits/master/pkgs/development/python-modules/tensorrt/default.nix18:37:19
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýi guess i'll try building master and possibly move our stuff off 24.1118:37:42
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýa Brno zdraví naspäť :D18:37:53
@stick:matrix.orgsticki updated the package here https://github.com/NixOS/nixpkgs/commit/1609398c9def5a31bb7951c284cf21f45b981b39 the python-module is just a simple wrapper that does not need changes i guess18:38:45
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýwell the issue is with the preUnpack, which tries to get the wheel by a wrong name, at leas in my case18:39:26
@stick:matrix.orgsticktry it with unstable - if it works great - if it does not work, please open an issue and tag me in the comment18:41:26
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýyup, will do that18:41:59
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýso, unstable with 10.8.0.43 builds and the tarball has the full 4 part version number in the filenames, 10.3.0.26 has a 3 part version number which breaks the build19:34:29
@justbrowsing:matrix.orgKevin Mittman (EOY sleep)often the build number field is dropped from release label version (also # of fields is subject to change)19:38:17
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýthen this is not really reliable is it? https://github.com/NixOS/nixpkgs/blob/59b1aef59071cae6e87859dc65de973d2cc595c0/pkgs/development/python-modules/tensorrt/default.nix#L3319:40:09
@stick:matrix.orgstickwell it is not, but also i think it is a bug in nvidia packaging, so hopefully it won't happen anymore 19:59:10
@stick:matrix.orgsticklooking at pypi - https://pypi.org/project/tensorrt/#history - it seems they are following the scheme where they add the build number to the pypi version20:00:20
@stick:matrix.orgstickmight be worth adding code that uses only a.b.c instead of a.b.c.d for versions <10.820:00:57
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenský i tried listing the archive and grepping for cpXY and tensorrt- but that's quite slow unfortunately 20:01:51
@stick:matrix.orgsticklooking 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.020:03:39
@stick:matrix.orgstickbecause 8.5.3.1 uses the same version in pypy (including the .1) and older versions are not present on pypi at all20:04:37
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýguess i can submit a PR that conditionally changes the filename for those two20:06:15
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýthanks for your help!20:06:40
@stick:matrix.orgstickthat would work, ping me in the PR, thanks20:07:02
@stick:matrix.orgstickyou would just override the version here: https://github.com/NixOS/nixpkgs/blob/59b1aef59071cae6e87859dc65de973d2cc595c0/pkgs/development/python-modules/tensorrt/default.nix#L1620:07:24
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenskýnot in the unpack phase?20:07:53
@stick:matrix.orgsticki guess the question is what version is being reported by the wheel20:09:08
@stick:matrix.orgstick

try calling

import tensorrt
print(tensorrt.version)

20:10:01
@stick:matrix.orgstick *

try calling

import tensorrt
print(tensorrt.__version__)
20:10:10
@stick:matrix.orgstick

or

import tensorrt
from importlib.metadata import version
version('tensorrt')
20:11:00
@stick:matrix.orgstick 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

Show newer messages


Back to Room ListRoom Version: 9