|
|
|
|
|
by btobolaski
1125 days ago
|
|
Eh, sure. These aren’t exactly made for public consumption but you might find them helpful. They don’t have documentation so you’ll have to do investigation yourself. https://github.com/btobolaski/mood-tracker Very basic Django app. Poetry2Nix basically worked out of the box without fiddling. Can drop into a dev shell with `nix develop`. It also demonstrates building a container for the application with exactly the same dependencies using `nix build` https://github.com/btobolaski/text-generation-webui/tree/nix... The opposite end of the spectrum, this adds a nix dev environment for text-generation-webui with cuda support. It is much more complex and mixes wheels with python libraries from nixpkgs. Torch comes from nixpkgs which means that it needs to build from source which takes a while. I’m currently attempting to get it working with just wheels but I’m having some trouble getting all of the native library paths fixed. This demonstrates nix’s flexibility as it pulls two separate copies of nixpkgs in order to match cuda and the nvidia drivers to what my hardware is currently running with. |
|