Sender | Message | Time |
---|---|---|
16 Sep 2022 | ||
In reply to @flxai:matrix.orgTry using jupyterWith + poetry2nix with flake.nix ! It's hard but fun! | 18:33:55 | |
sepiabrown: Thanks, this sounds like a good mix. Do you have configs lieing around somewhere? | 18:38:49 | |
In reply to @flxai:matrix.org https://github.com/sepiabrown/jupyterWith_poetry2nix If you are new to NixOS, the above solution may be hard! If other advanced user could have a look at my code and have any comment for improvement, it would be appreciated! | 19:22:32 | |
Thanks. I'll have a look the following days and try my best. Not that comfortable with Nix and its components yet | 19:28:06 | |
18 Sep 2022 | ||
17:20:55 | ||
24 Sep 2022 | ||
10:45:47 | ||
30 Sep 2022 | ||
On the topic of poetry, do you guys have any nice methods for getting an editable install using pure nix? I use a flake similar to above with poetry2nix, which works great for creating a derivation for a python package, but I then need to run poetry shell from inside a devshell (through direnv) to get editable install. Poetry shell creates a virtualenv in ~/.cache/pypoetry/virtualenvs, and the module versions installed there can sometimes differ from those in the devshell. | 00:43:25 | |
poetry lock works well of course, but for packaging in nix i'd like to do most testing with the versions specified in flake.lock rather than poetry.lock, if possible. For now i do active development in poetry shell, then run tests there and again in nix | 00:45:57 | |
01:55:14 | ||
02:40:36 | ||
11:22:50 | ||
9 Oct 2022 | ||
17:52:33 | ||
15 Oct 2022 | ||
00:33:53 | ||
16 Oct 2022 | ||
22:30:10 | ||
22 Oct 2022 | ||
17:10:29 | ||
23 Oct 2022 | ||
21:31:34 | ||
24 Oct 2022 | ||
06:38:32 | ||
28 Oct 2022 | ||
I'm trying to get TensorFlow to work with a NVIDIA GPU on Ubuntu 22.04 LTS by a shell.nix but get caught up on missing library imports upon I have the Ubuntu provided NVIDIA Display Driver installed and libnvidia-container works with GPU but I'm trying to nix:ify my life more and more without plunging into NixOS. Does anyone have a working shell.nix for GPU-accelerated PyTorch/TensorFlow/JAX on a Debian-based distro? | 13:33:57 | |
29 Oct 2022 | ||
06:12:40 | ||
31 Oct 2022 | ||
20:24:47 | ||
4 Nov 2022 | ||
In reply to@carlthome:matrix.org | 13:27:35 | |
I run that on Ubuntu 20.04 workstation | 13:27:55 | |
note that you need to use nixGL | 13:28:09 | |
I don't reference nixGL in my flake.nix. Instead, I use nix run or nix develop , prefixed with nixGL | 13:28:33 | |
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 | |
in my case that results in a file nixgl/bin/nixGLNvidia-515.65.01 | 13:30:51 | |
have to rerun the command above whenever you update your nvidia driver | 13:31:13 | |
so for example. you can run nix develop then `$ nixGLNvidia python -c "import torch; print(torch.cuda.is_available())"True ` | 13:35:13 | |
* so for example. you can run nix develop then `$ nixGLNvidia python -c "import torch; print(torch.cuda.is_available())"True` | 13:35:19 | |
* so for example. you can run nix develop then``` $ nixGLNvidia python -c "import torch; print(torch.cuda.is_available())" True ``` | 13:35:33 |