!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

284 Members
62 Servers

Load older messages


SenderMessageTime
28 Feb 2023
@apache8080:matrix.orgapache8080 yeah I am running NixOS so libcuda.so should be in /run/opengl-drivers/lib 23:18:56
@apache8080:matrix.orgapache8080let me try using the python package23:19:03
@ss:someonex.netSomeone S
In reply to @apache8080:matrix.org
yeah I am running NixOS so libcuda.so should be in /run/opengl-drivers/lib
Does adding that to LD_LIBRARY_PATH help?
23:20:04
@apache8080:matrix.orgapache8080no difference23:21:46
@apache8080:matrix.orgapache8080
Could not run 'aten::empty_strided' with arguments from the 'CUDA' backend.

the rust program keeps failing with this which seems to indicate that it is not using the cuda version of libtorch

23:22:20
@apache8080:matrix.orgapache8080going to use the python package next23:22:32
@apache8080:matrix.orgapache8080hmm no luck with using the python package23:28:08
@ss:someonex.netSomeone S I just checked, .dev only contains include/ there 23:28:20
@apache8080:matrix.orgapache8080 I just ran ldd on my rust binary and it looks like it is only linking libtorch_cpu.so so this may be related 23:30:23
@ss:someonex.netSomeone S I'd look into tch-rs's discovery logic, maybe 23:31:37
@apache8080:matrix.orgapache8080good point, it may not like the include and lib being split that the nixpkg currently does23:33:04
@apache8080:matrix.orgapache8080ok it is working now23:38:15
@apache8080:matrix.orgapache8080that was the issue23:38:18
@apache8080:matrix.orgapache8080 Had to combine python3Packages.torch.dev and python3Packages.torch.lib into a single path 23:38:51
@ss:someonex.netSomeone S tch-rs README also mentions one can use LIBTORCH_INCLUDE + LIBTORCH_LIB instead of LIBTORCH 23:39:50
@apache8080:matrix.orgapache8080ah I'm blind, thanks for pointing that out lol23:42:21
1 Mar 2023
@ss:someonex.netSomeone SOn that note, figured maybe I'd assemble a cmake+nix mwe for consuming pytorch: https://github.com/SomeoneSerge/nix-torchlib-shell01:35:54
5 Mar 2023
@mezzopiano:matrix.orgfelix joined the room.13:32:04
6 Mar 2023
@ss:someonex.netSomeone Shttps://github.com/NixOS/nixpkgs/pull/21910420:39:30
@ss:someonex.netSomeone SSomething to be aware of, and something that needs to be eventually addressed20:40:21
11 Mar 2023
@atrius:matrix.org@atrius:matrix.org joined the room.16:47:29
@atrius:matrix.org@atrius:matrix.org apache8080: Can you post your shell? I'm having trouble getting working torch + cuda support 16:59:50
@orahcio:matrix.orgorahcio joined the room.23:15:04
12 Mar 2023
@orahcio:matrix.orgorahcio Good night. Is there a way to use jupyenv (old jupyterWith) as a system wide package? 02:22:19
@palasso:matrix.org@palasso:matrix.org joined the room.21:24:48
14 Mar 2023
@butterchicken:hive-mind.networkbutterchicken joined the room.23:00:39
17 Mar 2023
@gr_h_m:matrix.orggr_h_m joined the room.08:52:30
20 Mar 2023
@tyberius_prime:matrix.orgTyberiusPrime (fiber at home when) changed their display name from TyberiusPrime (fiber at home when) to TyberiusPrime (limited to 25 messages per 3 hours. Expect further significant reductions).09:51:21
21 Mar 2023
@carlthome:matrix.orgcarlthomeAny feedback/tips on this setup? https://github.com/carlthome/ml-runtimes I'm playing around with the idea of replacing devcontainers at work but felt jupyterWith was a little too brittle in my previous tinkering.23:16:36
22 Mar 2023
@valconius:matrix.org@valconius:matrix.org joined the room.00:00:19

Show newer messages


Back to Room ListRoom Version: 6