Start work on devshell configuration
This commit is contained in:
parent
512c6066fa
commit
74ddbc24bb
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
(python312.withPackages (p: [
|
||||
p.numpy
|
||||
p.scikit-learn
|
||||
p.scipy
|
||||
p.pandas
|
||||
p.matplotlib
|
||||
p.torch-bin
|
||||
# p.torchvision
|
||||
]))
|
||||
libffi
|
||||
openssl
|
||||
stdenv.cc.cc
|
||||
linuxPackages.nvidia_x11
|
||||
binutils
|
||||
cudatoolkit
|
||||
libGLU
|
||||
libGL
|
||||
];
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (
|
||||
with pkgs;
|
||||
[
|
||||
stdenv.cc.cc
|
||||
linuxPackages.nvidia_x11
|
||||
binutils
|
||||
cudatoolkit
|
||||
libGLU
|
||||
libGL
|
||||
]
|
||||
);
|
||||
CUDA_PATH = pkgs.cudatoolkit;
|
||||
}
|
Loading…
Reference in New Issue