4 Nov 2022 |
hacobjinkle | I run that on Ubuntu 20.04 workstation | 13:27:55 |
hacobjinkle | note that you need to use nixGL | 13:28:09 |
hacobjinkle | I don't reference nixGL in my flake.nix. Instead, I use nix run or nix develop , prefixed with nixGL | 13:28:33 |
hacobjinkle | nixgl can be built with a command like the following NIXPKGS_ALLOW_UNFREE=1 nix build --impure github:guibou/nixgl#nixGLNvidia -o nixgl | 13:30:10 |
hacobjinkle | in my case that results in a file nixgl/bin/nixGLNvidia-515.65.01 | 13:30:51 |
hacobjinkle | have to rerun the command above whenever you update your nvidia driver | 13:31:13 |
hacobjinkle | so for example. you can run nix develop then `$ nixGLNvidia python -c "import torch; print(torch.cuda.is_available())" True ` | 13:35:13 |
hacobjinkle | * so for example. you can run nix develop then `$ nixGLNvidia python -c "import torch; print(torch.cuda.is_available())" True` | 13:35:19 |
hacobjinkle | * so for example. you can run nix develop then ``` $ nixGLNvidia python -c "import torch; print(torch.cuda.is_available())" True ``` | 13:35:33 |
hacobjinkle | * so for example. you can run nix develop then \$ nixGLNvidia python -c "import torch; print(torch.cuda.is\_available())"
True | 13:35:49 |
hacobjinkle | * so for example. you can run nix develop then $ nixGLNvidia-515.65.01 python -c "import torch; print(torch.cuda.is\_available())"
True | 13:36:07 |
hacobjinkle | * so for example. you can run nix develop then $ nixGLNvidia-515.65.01 python -c "import torch; print(torch.cuda.is_available())"
True | 13:36:20 |
hacobjinkle | also note it's probably better to pin the nixpkgs version using the flake.lock only, instead of calling out a tag like I did there with nixos-22.05 . I'm still figuring this stuff out | 13:37:23 |
6 Nov 2022 |
| spott joined the room. | 18:26:21 |
8 Nov 2022 |
| pbsds changed their profile picture. | 00:46:23 |
10 Nov 2022 |
| Leix b joined the room. | 16:10:16 |
11 Nov 2022 |
| bbenno joined the room. | 02:10:42 |
| evils left the room. | 21:52:39 |
13 Nov 2022 |
| @nahfe:nahfe.xyz joined the room. | 19:54:42 |
14 Nov 2022 |
| lgnus joined the room. | 12:37:20 |
15 Nov 2022 |
| spott changed their display name from Andrew Spott to spott. | 03:30:47 |
| seapat joined the room. | 17:52:49 |
| carlthome changed their display name from carlthome to Carl Thomé. | 23:41:26 |
| carlthome set a profile picture. | 23:41:46 |
16 Nov 2022 |
| @omlet:matrix.org joined the room. | 20:34:26 |
19 Nov 2022 |
| edrex joined the room. | 00:44:51 |
20 Nov 2022 |
| @benjaminedwardwebb:envs.net joined the room. | 01:59:45 |
22 Nov 2022 |
| ziguana joined the room. | 03:48:54 |
25 Nov 2022 |
kunny | why doesn't this room appear in nix space? | 22:18:46 |
26 Nov 2022 |
| rh changed their display name from rh to ahmed. | 19:19:37 |