6 Jul 2022 |
Jez (he/him) 🌦️ | Makes sense that the outputs (including intermediate ones) should go in the nix store and be immutable | 06:39:46 |
Jez (he/him) 🌦️ | Although how do you deal with nondeterminism? Would it work to consider the RNG seed to be as part of the build input to recovery reproducibility? | 06:41:46 |
Jez (he/him) 🌦️ | * Although how do you deal with nondeterminism? Would it work to consider the RNG seed to be as part of the build input to recover reproducibility? | 06:48:39 |
jbedo | i set my seeds so it's deterministic | 06:48:58 |
jbedo | there's that new non-determinism feature of nix that might be useful if you can't do that | 06:50:38 |
Jez (he/him) 🌦️ | ooh, I hadn't heard about that | 06:53:32 |
jbedo | https://github.com/NixOS/nix/pull/6227 | 06:55:00 |
jbedo | i haven't really thought about this in the context of data pipelines, just remember seeing it pass my notifications | 06:55:36 |
cdepillabout | While I don't have a huge amount of experience with this, one thing to keep in mind is that if you have huge datasets, they end up in the Nix store (unless you're doing something unusual) along with your output model. Your Nix store can really blow up in space. You may need to make sure you're garbage collecting frequently, but that may reduce the helpfulness of running training with Nix in the first place.
You'd also have to be careful with running builds on a machine that pushes results to a shared cache, since huge datasets and models could really clear out everything else in a cache.
You may also want to setup your Nix builders so they can see your GPUs. And fiddle with the max-jobs option so that two builds aren't trying to train in parallel.
| 07:45:28 |
cdepillabout | If you're trying to productionize something, it may be easier to start with a system that already has answers for all this type of stuff (some MLOps service or something?), rather than rolling your own with Nix. | 07:55:13 |
9 Jul 2022 |
| betaboon changed their profile picture. | 11:33:12 |
12 Jul 2022 |
| pbsds joined the room. | 22:55:46 |
26 Jul 2022 |
| underpantsgnome changed their display name from tinybronca to tailrec. | 14:39:42 |
| underpantsgnome changed their display name from tailrec to tinybronca. | 15:40:54 |