!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

216 Members
53 Servers

Load older messages


SenderMessageTime
23 May 2024
@lazycaaat:matrix.orglazycaaat joined the room.10:58:15
24 May 2024
@lotte:chir.rsCharlotte ๐Ÿฆ (it/its) changed their profile picture.06:54:08
@rustyh4x0r:matrix.orgRusty joined the room.10:59:15
29 May 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 7248).17:07:26
30 May 2024
@cyanlight:matrix.orgcyanlight joined the room.10:26:35
2 Jun 2024
@aloisw:kde.orgaloisw set a profile picture.18:01:46
@aloisw:kde.orgaloisw changed their profile picture.18:23:55
4 Jun 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius.11:14:58
5 Jun 2024
@javier.fuentes:matrix.orgJ7 left the room.13:46:35
11 Jun 2024
@h0n3yb4dg3r:matrix.orgIPK left the room.19:49:58
19 Jun 2024
@maupind:matrix.orgmaupindAny academics using NixOS as a method for reproducibility of analysis? I'm interested to see what your processes are and curious if there are any funding opportunities that can be used to develop Nix in this area21:31:03
@jb:vk3.wtfjbedo
In reply to @maupind:matrix.org
Any academics using NixOS as a method for reproducibility of analysis? I'm interested to see what your processes are and curious if there are any funding opportunities that can be used to develop Nix in this area
i use nix extensively for reproducibility, not so much nixos
21:54:31
@jb:vk3.wtfjbedoi mean i run it, but not on institute/university compute21:55:08
21 Jun 2024
@wilhelmvon:matrix.orgWilhelm joined the room.09:15:55
22 Jun 2024
@lotte:chir.rsCharlotte ๐Ÿฆ (it/its) left the room.19:23:12
28 Jun 2024
@benoitdr:matrix.orgbenoitdrAnyone interested to work with me on a derivation for llama-cpp-python ? I had a working solution a few months ago but it's not working anymore with the latest package version.12:09:12
@benoitdr:matrix.orgbenoitdrCurrently facing this problem : "fatal error: nv/target: No such file or directory"12:53:42
29 Jun 2024
@maka_77x:matrix.orgmaka_77x joined the room.00:48:44
30 Jun 2024
@brodriguesco:matrix.orgBruno Rodrigueshas one of you packaged positron ?13:07:15
@brodriguesco:matrix.orgBruno Rodrigues* has one of you packaged positron ? https://github.com/posit-dev/positron/tree/main?tab=readme-ov-file#positron-- 13:07:40
@benoitdr:matrix.orgbenoitdr

I'm making some progress, now I can build llama-cpp-python with cuda, but unfortunately at runtime, the python app doesn't see the GPU ๐Ÿ˜ญ
these lines from llama.cpp derivation caught my attention :

  # It's necessary to consistently use backendStdenv when building with CUDA support,
  # otherwise we get libstdc++ errors downstream.
  # cuda imposes an upper bound on the gcc version, e.g. the latest gcc compatible with cudaPackages_11 is gcc11
  effectiveStdenv = if cudaSupport then cudaPackages.backendStdenv else stdenv;
....
effectiveStdenv.mkDerivation (finalAttrs: {
....

in my case I'm not making a derivation but I'm building a python package using pkgs.python311.pkgs.buildPythonPackage
could it be the reason why gpu/cuda is not used at runtime ?

20:15:11
@ss:someonex.netSomeoneSerge (UTC+3)

not making a derivation b

buildPythonPackage is a wrapper around mkDerivation

20:33:02
@ss:someonex.netSomeoneSerge (UTC+3)

python app doesn't see the GPU

Usually that means you need to add a DT_RUNPATH or LD_LIBRARY_PATH somewhere, pointing at ${addDriverRunpath.driverLink}/lib

20:33:36
1 Jul 2024
@polivier:matrix.orgPhilippe Olivier joined the room.13:27:47
@benoitdr:matrix.orgbenoitdr
In reply to @ss:someonex.net

python app doesn't see the GPU

Usually that means you need to add a DT_RUNPATH or LD_LIBRARY_PATH somewhere, pointing at ${addDriverRunpath.driverLink}/lib

Could you please help me on the syntax ? The closest I can get is below and has no effect (in my shellHook) :
ยดยดยด
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [
pkgs.addDriverRunpath.driverLink
]}
export DT_RUNPATH=${pkgs.lib.makeLibraryPath [
pkgs.addDriverRunpath.driverLink
]}
ยดยดยด
13:30:16
@benoitdr:matrix.orgbenoitdr
In reply to @ss:someonex.net

python app doesn't see the GPU

Usually that means you need to add a DT_RUNPATH or LD_LIBRARY_PATH somewhere, pointing at ${addDriverRunpath.driverLink}/lib

*

Could you please help me on the syntax ? The closest I can get is below and has no effect (in my shellHook) :

export LD\_LIBRARY\_PATH=${pkgs.lib.makeLibraryPath \[
pkgs.addDriverRunpath.driverLink
\]}
export DT\_RUNPATH=${pkgs.lib.makeLibraryPath \[
pkgs.addDriverRunpath.driverLink
\]}
13:30:45
@benoitdr:matrix.orgbenoitdr *

Could you please help me on the syntax ? The closest I can get is below and has no effect (in my shellHook) :

export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [
pkgs.addDriverRunpath.driverLink
]}
export DT_RUNPATH=${pkgs.lib.makeLibraryPath [
pkgs.addDriverRunpath.driverLink
]}
13:31:36
@ss:someonex.netSomeoneSerge (UTC+3)DT_RUNPATH is not an environment variable, but the first export seems like it should work13:36:18
@benoitdr:matrix.orgbenoitdrwell it doesn't ..13:37:16
@ss:someonex.netSomeoneSerge (UTC+3)Well now it's a matter of finding out how exactly it doesn't work:)13:41:17

Show newer messages


Back to Room ListRoom Version: 6