!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
31 Aug 2022
@tpw_rules:matrix.orgtpw_rules hexa: i don't 100% know how much in practice it matters or how to suggest it on github, but imo the python-packages.nix invocation of torch should have cudaPackages = cudaPackages_11_6; as that's what the wheels are built against and what they know they support 18:13:19
@tpw_rules:matrix.orgtpw_rules Samuel Ainsworth: do you have an opinion on that? we should try to build with what upstream supports? 18:18:38
@tpw_rules:matrix.orgtpw_rules * Samuel Ainsworth: do you have an opinion on that? imo we should try to build with what upstream supports? 18:18:46
@skainswo:matrix.orgSamuel Ainsworth
In reply to @me:linj.tech
could you provide a link?
found it! https://cs.github.com/?q=repo%3Anixos%2Fnixpkgs+autoAddOpenGLRunpathHook
18:48:05
@skainswo:matrix.orgSamuel Ainsworth
In reply to @tpw_rules:matrix.org
Samuel Ainsworth: do you have an opinion on that? imo we should try to build with what upstream supports?
the usual practice here is to build with the default cudaPackages or cudaPackages_11 if possible. if for whatever reason the package doesn't support the latest version, then we would override it with cudaPackages_11_6 etc
18:50:16
@skainswo:matrix.orgSamuel Ainsworththat way users don't get stuck with a copy of every version of cuda in their /nix/store18:51:00
@tpw_rules:matrix.orgtpw_rulesok18:51:11
@skainswo:matrix.orgSamuel Ainsworthiirc the current cudaPackages is 11.6 atm anyhow18:51:18
@tpw_rules:matrix.orgtpw_rulesyeah18:51:24
@tpw_rules:matrix.orgtpw_rulesthought: say what you will about bazel, at least it knows how to load all my cores properly...18:51:51
@skainswo:matrix.orgSamuel Ainsworthyeah sometimes I really wish that nix would build things at a level more granular than whole packages...18:52:34
@skainswo:matrix.orgSamuel Ainsworthit can be so inefficient at times18:52:40
@tpw_rules:matrix.orgtpw_ruleshere i mean tensorflow vs pytorch's build system18:52:53
@skainswo:matrix.orgSamuel Ainsworth cough tensorflow mass rebuilds cough 18:52:54
@skainswo:matrix.orgSamuel Ainsworthahhh I see18:53:00
@tpw_rules:matrix.orgtpw_rulespart of the problem is nvcc not doing all the different architectures in parallel18:55:00
@skainswo:matrix.orgSamuel Ainsworthmmm that's def annoying18:59:08
@tpw_rules:matrix.orgtpw_rulesnvidia gpu accelerated compiler when19:23:16
@tpw_rules:matrix.orgtpw_rulesimage.png
Download image.png
20:00:02
@hexa:lossy.networkhexa tpw_rules: for both src and bin? 21:33:12
@hexa:lossy.networkhexawait, the wheel doesn't consume it 😄21:35:15
@tpw_rules:matrix.orgtpw_rulesno i just tried src21:45:49
@tpw_rules:matrix.orgtpw_rules"consume"?21:46:00
@hexa:lossy.networkhexait does not have cudaPackages in its argument list21:48:18
@tpw_rules:matrix.orgtpw_rulesit looks like it still includes cuda. let me see what happens...21:50:58
@hexa:lossy.networkhexathe bin.nix doesn't mention cuda except in comments21:53:45
@tpw_rules:matrix.orgtpw_rulesyeah ima try if i can get it to do cuda type things21:54:02
@tpw_rules:matrix.orgtpw_rulesit should be much faster than building though21:54:11
@tpw_rules:matrix.orgtpw_rulesyeah it does do cuda things21:56:01
@tpw_rules:matrix.orgtpw_rulesand the wheel has all the cuda .so files21:56:24

Show newer messages


Back to Room ListRoom Version: 9