!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

270 Members
57 Servers

Load older messages


SenderMessageTime
24 Aug 2022
@cafkafk:matrix.cafkafk.comcafkafk joined the room.19:15:39
@tinybronca:sibnsk.netunderpantsgnome changed their display name from tinybronca to underpantsgnome.23:00:44
25 Aug 2022
@entheogenesis:matrix.orgentheogenesis joined the room.17:46:09
30 Aug 2022
@sents:matrix.orgsents joined the room.13:42:27
@aruzeta:matrix.orgaru joined the room.14:42:54
@aruzeta:matrix.orgaru left the room.14:56:16
@hinklejd:matrix.orghacobjinkle joined the room.16:51:54
5 Sep 2022
@kotatsuyaki:matrix.orgkotatsuyaki joined the room.05:39:36
@michelvasconcelos:matrix.orgmichelvasconcelos joined the room.18:21:51
6 Sep 2022
@hinklejd:matrix.orghacobjinkleNix is attractive for reproducibility and provenance tracking. However, for ML workflows one major limitation is that all data produced as part of a derivation resides in /nix/store. It would be great to be able to define flakes for large datasets and use them as inputs to other programs/flakes. For example define a flake for ImageNet and then get train and test splits as outputs of those downstream flakes. Currently such a train/test split would require duplication of the original dataset twice into /nix/store if I'm not mistaken.15:34:39
@hinklejd:matrix.orghacobjinkleapologies if there is an existing solution to this kind of data handling with nix that I'm unaware of15:35:12
@hinklejd:matrix.orghacobjinklei guess the splitting could of course be done with symlinks. main question is then is there any hope of handling large datasets at rest on some storage outside /nix15:39:06
@FRidh:matrix.orgFRidhNix master supports impure derivations. Impure derivations have network access, so you could write your result somewhere else. I have not tried this yet, but I imagine this going to be very useful also in CI/CD.17:04:49
@FRidh:matrix.orgFRidhhttps://github.com/NixOS/nix/pull/622717:05:19
@hinklejd:matrix.orghacobjinklethanks. I currently use --impure on non-NixOS with nixGL to get cuda working anyway, so that may be the ticket17:07:24
@FRidh:matrix.orgFRidhthat's not the same though, that's impure evaluation17:08:40
@hinklejd:matrix.orghacobjinklei see that now. should've read before replying..17:09:23
7 Sep 2022
@ss:someonex.netSomeoneSerge (Ever OOMed by Element)

Has anyone got a working example of micromamba environment?
I've tried using it in a bulidFHSUserEnv(Bubblewrap) with this in /etc/profile:

    eval "$(micromamba shell hook --shell=bash)"
    micromamba activate

...but it keeps segfaulting later when I prompt micromamba activate $envName

What helps is running the eval "$(...)" in the shell manually

12:43:40
15 Sep 2022
@m_algery:leohoo.xyzm_algery joined the room.12:10:46
@m_algery:leohoo.xyzm_algery left the room.12:10:49
16 Sep 2022
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus) changed their display name from TyberiusPrime to TyberiusPrime (fiber at home when).07:37:08
@sepiabrown:matrix.orgSuwon Park joined the room.18:17:04
@sepiabrown:matrix.orgSuwon Park
In reply to @flxai:matrix.org
I am new to NixOS and wondering what's a good way to set up Jupyter. Are there opinions on JupyterWith or maybe some general recommendations?
Try using jupyterWith + poetry2nix with flake.nix! It's hard but fun!
18:33:55
@flxai:matrix.orgFelixsepiabrown: Thanks, this sounds like a good mix. Do you have configs lieing around somewhere?18:38:49
@sepiabrown:matrix.orgSuwon Park
In reply to @flxai:matrix.org
sepiabrown: Thanks, this sounds like a good mix. Do you have configs lieing around somewhere?

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
@flxai:matrix.orgFelixThanks. I'll have a look the following days and try my best. Not that comfortable with Nix and its components yet19:28:06
18 Sep 2022
@FRidh:matrix.orgFRidh set a profile picture.17:20:55
24 Sep 2022
@peddie:matrix.orgpeddie joined the room.10:45:47
30 Sep 2022
@hinklejd:matrix.orghacobjinkleOn 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
@hinklejd:matrix.orghacobjinklepoetry 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 nix00:45:57

Show newer messages


Back to Room ListRoom Version: 6