Files
mt/Deep-SAD-PyTorch/devenv.nix

27 lines
428 B
Nix
Raw Normal View History

2025-08-13 14:16:14 +02:00
{ pkgs, ... }:
let
native_dependencies = with pkgs.python312Packages; [
torch-bin
torchvision-bin
aggdraw # for visualtorch
2025-09-10 19:41:00 +02:00
nvidia-ml-py
2025-08-13 14:16:14 +02:00
];
tools = with pkgs; [
ruff
2025-09-10 19:41:00 +02:00
dmidecode
2025-08-13 14:16:14 +02:00
];
in
{
packages = native_dependencies ++ tools;
languages.python = {
enable = true;
package = pkgs.python312;
uv = {
enable = true;
sync.enable = true;
};
venv.enable = true;
};
}