!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

You have reached the beginning of time (for this room).


SenderMessageTime
14 Dec 2024
@matthewcroughan:defenestrate.itmatthewcroughanI think the least evil method are wrappers that fool the application into seeing a FS you want them to see20:38:18
@matthewcroughan:defenestrate.itmatthewcroughanThough maintaining that with a series of cp/ln in the installPhase of something is pretty annoying20:38:38
@sielicki:matrix.orgsielickiI guess what I'm saying is that I think just copying the source into $out is insufficient and abnormal -- each of these should be a separate python module and the buildPhase should take care of both copying it into expected python path dir structures and byte-compiling it. Yes, it works to just have a py file instead of a pyc file and vice-versa, but you really do want the pyc files 20:44:58
@matthewcroughan:defenestrate.itmatthewcroughan

I guess what I'm saying is that I think just copying the source into $out is insufficient and abnormal

Yes, but abnormal applications exist, and make up the majority of nixpkgs

20:45:26
@sielicki:matrix.orgsielickias far as it relates to cuda -- as long as you have cudaified torch in the python environment and the shebangs are modified to refer to that python environment, I don't think there's any real concern around what you're doing in the installPhase20:47:26
@sielicki:matrix.orgsielickijust keep in mind the general restrictions around running cuda apps on non-nixos20:47:42
@matthewcroughan:defenestrate.itmatthewcroughanyeah because the complexities of advertising more than nvidia/cuda outside of nixpkgs are high20:50:21

Show newer messages


Back to Room ListRoom Version: 9