Nix and AI, are we there yet?
summary
Argument: Nix solves reproducibility and disk/transfer waste in ML but adoption stalls on ergonomics and incentives. Practical prescriptions: own native/CUDA binaries in Nix, get C extensions from Nix and pure Python from PyPI via pip/UV, use UV-to-Nix or Dream2Nix for Python binding, set up substitutors/builders, provide dev shells/flakes as paved roads. Concrete wins: packaged GPU binaries cut wheel size and disk use by ~75β90%, and LLMs now generate useful Nix expressions in one prompt versus dozens.
AI-written summary Β· about
chapters (10)
- 0:00Introduction to Nix and AI
- 1:24Speaker background and context
- 3:11Problems in AI workflows today
- 7:07Why data engineers avoid Nix
- 10:42Barriers to Nix adoption in AI
- 13:11Practical solutions for AI with Nix
- 17:22Keeping AI packages fresh in Nix
- 18:46Empathy between teams
- 20:30AI tools helping bridge gaps
- 21:55Summary and future outlook
